CAKE Knowledge Base

Targeting Bot traffic


This article will cover the following:

- Using a user-agent based rule to target bot traffic

- Using an ISP provided-based rule to target bot traffic

There are multiple ways to target bot traffic.  Bots are generally not confined to a single IP so that you can block that IP.  Instead, you'll just find that they continue to come in under different IP's.  To get ahead of this there are 2 approaches to handling bot traffic - with a 1) user-agent based rule and a 2) ISP or provider-based rule.

Using a user-agent based rule

Using a user-agent based rule

This method is advised when you can see a consistent user agent that's unique to the bot and can be identified with a unique phrase or word.  This will not work if the user agents look like generic browser 

  1. Change targeting method for your contract to rules targeting by clicking on your Contract > click Change Targeting Method > select Rules > then click Apply.  This should give you the target-looking icon.
  2. In the rules window that pops up, select New Rule
  3. Then assign a name (try to be as specific as possible so it's not confusing for you later)
  4. Check Active
  5. Shared – up to you (if you think you'll want to use it later then go ahead and select Shared.  This can be updated at any time)
  6. Choose your redirect offer or global redirect or 404
  7. Then in the bottom window, select Add Rule Target
  8. Select User Agent
  9. In the user agent window that pops up, enter the search phrases you want to identify and include the search phrases.  For example if I wanted to identify any user agent that either AcoonBot or Baiduspider, I would add "AcoonBot|Baiduspider" (pipe-delimited)
  10. Click Save
  11. Click Create

Using an ISP provider-based rule

Using an ISP provider-based rule

You'll know when you need to use this rule because the user agents look just like generic browser user agents.  What will be consistent across all those clicks is the Provider.

  1. Rules 1-7 stay the same as above.
  2. When it comes to selecting your rule target, select ISP/Carrier
  3. In the ISP/Carrier window that pops up, click Add Group
  4. In the Manage Group window, search for the relevant term and add the appropriate providers, then click Save

5.    Click Save

6.    Click Create


Add your comment

E-Mail me when someone replies to this comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Previous Article Edit Multiple Campaigns Wizard
Next Article Using SendGrid & Amp; Line Breaks not working in Plain Text for Email Templates