Cloaking

Protect the Streams from Bots

Here is an example of creating a forced stream that will protect other streams from bots.

Create a stream for a safe page:

Stream type “Forced”. The streams of this type are always checked before others.

Choose Scheme “Direct URL” or “Action”. You can use “Show text”, “Show HTML” or “CURL”, whatever you think is appropriate.

Add a filter “Bots” with mode “Alow”.

Now you can add streams for real traffic (for money pages). Just choose stream type “Regular” (Streams of that type are checked after forced streams).

Cloaking for Advertising Networks

This is the most dangerous way of passing the ad moderation, after which your ad or your account may be blocked. If possible, use pre-landing page method.

Cloaking is used to bypass requirements of ad networks in using direct links (without redirects).

Create a campaign.

Create a stream:

Type «Forced»

Add the filter “Bots: Allow”

Choose a scheme “Direct URL” and choose the redirect type “CURL”, paste here the URL of the page that you want to show for bots and moderators (“Show HTML” with the page code is also suitable)

After passing the moderation create streams for “real” users.

Attention! Keitaro does not give 100% guarantee of catching bots and moderators. Improve the security limit streams for the real users with filters. For example, if you have the ads targeting across Spain add a filter by a country.

Cloak a Website

We can show alternative content for bots. To do that, we integrate Click API Client to the website.

Prepare a HTML page that you want to show to bots.

Create a campaign.

Create a stream for bots:

Choose type “Regular”.

Choose schema “Direct URL”.

Choose redirect type “CURL”.

Enter bot page URL to the URL field

Add a filter “Bots: allow”

Create a stream for others:

Type “Regular”

Schema “Action”

Action “Do nothing”

Open the page “Additional > Integration”.

Choose “Click API Client v2”;

Follow the instructions to connect the code to your website.

Replace in the code $client->execute(); to $client->executeAndBreak();.

Cloaking for Static Website

Solution for websites without PHP, where the website acts as a secure page.