data_usage Usage examples

To make it convenient and quick for you to start working with our service, we have prepared several detailed instructions for working with clicklock. All instructions are provided with screenshots and comments:
Working with public links:

Lets set up an advertising campaign in which we have two links, we do not have access to these pages, they are located on the Internet on servers inaccessible to us:

Safe Page - https://www.flowers4hamburg.com/ - our safe page which we will show to moderators and bots
Offer Page - https://www.smartbets.com/football/team/hamburg-sv/ - our offer, a page with an advertising offer

1. Create a new thread. We configure it as follows: set the name understandable for ourselves, place links in the appropriate fields, set the status "active", the mode "loading" - since we want to display pages in our domain, without redirection:



2. We select the clicklock core (for example, we will select the standard one), and also enable the ipv6 filter and VPN filter - so that VPN and ipv6 users saw Safe Page content.



3. Setting up the GEO filter. Lets set the mode to "allow" - and enter one country name into the list - "Germany". This way, only visitors from Germany will be able to get on the Offer Page. Visitors from all other countries are guaranteed to see the Safe Page (which, together with the VPN filter from the previous step, is a pretty strong barrier for moderators).



4. If desired, customize the rest of the filters to your liking. Save the thread by clicking on "save thread".

On the page with the result of saving, click on the link to download the standard clicklock connection script - "default clicklock script", it is ideal for use with public links:



5. On the connection page that opens, check if the correct thread is selected (1) and download the provided files (2):



6. If in the connection you selected there is a .htaccess file - after downloading, check if there is a dot at the beginning of the file name. Not all browsers download the file with a dot, some cut it off:



7. If there is no dot, edit the file name, put a dot at the beginning:



8. Upload files to the root directory of your advertising domain (you can use any method convenient for you to upload files, via the hosting panel or as in the screenshot via a third-party FTP application):



9. Lets go to the domain to check the script execution. As you can see, as a result of clicklock processing, the Offer Page is displayed:



10. Lets check the statistics to make sure everything is OK:



11. To be sure, lets change the thread setting: GEO filter to "disable" mode, dont touch anything else:



12. There is no need to reload the connection script, all settings are stored in the cloud. Lets just refresh our advertising page and see that this time we get a Safe Page, since our geo is now prohibited and the GEO filter has been triggered:



13. Lets check the statistics again to see the details of clicks and filtrate details:



As you can see, everything converges! Return the settings to their original state - or add the necessary filter settings. Now you can send a link to your advertisement!
Working with local links:

Lets set up an advertising campaign in which our Safe Page and Offer Page are located on our advertising domain, that is, they are available for local loading with our connection script:

Safe Page - http://testovyi.site/safe_page.html - our safe page that we will show to moderators and bots
Offer Page - http://testovyi.site/offer_page.html - our Offer, page with an advertising offer

As you can see, both pages in this example are at the root of the domain. This is done in this case for convenience - they can be decomposed into separate folders, but then it will be necessary to edit the page code so that the content is displayed correctly as a result. After all, as a result of the clicklock script, the content will be displayed at the root of the domain, and the cleanup sites are crawled with the relative paths of the script files, styles and images.

Therefore, you need to choose the best option for yourself every time - either we place both pages at the root and make sure that there are no conflicts (overwriting files of both pages), or we put them into folders, and edit connection links files from relative to absolute.

1. Create a new thread. We configure it as follows: set a name that is understandable for ourselves, place links in the appropriate fields (we indicate links relative to the future location of the clicklock script), set the status "active", " loading" mode - since we want to display pages in our domain, without redirects:



2. We select the clicklock core (for example, we will select the standard one), and also enable the ipv6 filter and VPN filter - so that VPN and ipv6 users saw Safe Page content.



3. Setting up the GEO filter. Lets set the mode to "allow" - and enter one country name into the list - "Germany". This way, only visitors from Germany will be able to get on the Offer Page. Visitors from all other countries are guaranteed to see the Safe Page (which, together with the VPN filter from the previous step, is a pretty strong barrier for moderators).



4. If desired, customize the rest of the filters to your liking. Save the thread by clicking on "save thread".

On the page with the result of saving, click on the link to download the local clicklock connection script - "local clicklock script", it is ideal for use with local links:



5. On the connection page that opens, check if the correct thread is selected (1) and download the provided files (2):



6. If in the connection you selected there is a .htaccess file - after downloading, check if there is a dot at the beginning of the file name. Not all browsers download the file with a dot, some cut it off:



7. If there is no dot, edit the file name, put a dot at the beginning:



8. Upload files to the root directory of your advertising domain (you can use any method convenient for you to upload files, via the hosting panel or as in the screenshot via a third-party FTP application):



9. Lets go to the domain to check the script execution. As you can see, as a result of clicklock processing, the Offer Page is displayed:



10. Lets check the statistics to make sure everything is OK:



11. To be sure, lets change the thread setting: GEO filter to "disable" mode, dont touch anything else:



12. There is no need to reload the connection script, all settings are stored in the cloud. Lets just refresh our advertising page and see that this time we get a Safe Page, since our geo is now prohibited and the GEO filter has been triggered:



13. Lets check the statistics again to see the details of clicks and filtrate details:



As you can see, everything converges! Return the settings to their original state - or add the necessary filter settings. Now you can send a link to your advertisement!
Working with js connection:

Lets set up an advertising campaign that we will connect to the website builder using js connection - in this example we will use the Tilda constructor (similarly done in any other constructor in which it is possible to connect third-party js scripts or insert js code - Wix, Flexbe, etc.).

In this campaign we have two links, we do not have access to these pages, they are located on the Internet on servers inaccessible to us:

Safe Page - http://clicklock.tilda.ws/ is our safe page which we will show to moderators and bots. It is also a advertising domain, we will connect the js code to it. Thus, the site on the constructor (in this case on Tilda) will be used as a Safe Page.
Offer Page - https://www.smartbets.com/football/team/hamburg-sv/ - our Offer, a page with an advertising offer
Server domain - http://testovyi.site/ - php scripts will be placed on it, and js clicklock - then the js script will connect to the Advertising Domain. This arrangement of files is necessary so that, firstly, it works out the clicklock functionality, and secondly, no one could figure out the purpose and functionality of this script.

1. Create a new thread. We configure it as follows: set the name understandable for ourselves, place links in the appropriate fields, set the status "active", the mode "loading" - since we want to display pages in our domain, without redirection:



2. We select the clicklock core (for example, we will select the standard one), and also enable the ipv6 filter and VPN filter - so that VPN and ipv6 users saw Safe Page content.



3. Setting up the GEO filter. Lets set the mode to "allow" - and enter one country name into the list - "Germany". This way, only visitors from Germany will be able to get on the Offer Page. Visitors from all other countries are guaranteed to see the Safe Page (which, together with the VPN filter from the previous step, is a pretty strong barrier for moderators).



4. If desired, customize the rest of the filters to your liking. Save the thread by clicking on "save thread.".

On the page with the result of saving, click on the link to download the js clicklock connection script - "js clicklock script", it is ideal for use with public links:



5. On the connection page that opens, check if the correct thread (1) is selected and enter the address of our Server domain (the domain on which we will place our js and php scripts) (2). Next, download the provided files (3) and save (copy) ourselves the js script connection code (4):



6. Upload files to the root directory of your server domain (you can use any method convenient for you to upload files, via the hosting panel or as in the screenshot via a third-party FTP application):



7. Go to your Tilda project. We go into page editing, add a new block anywhere (preferably higher to the top of the page), enter html in the search for blocks - and add a block T123-HTML code:



8. In the block that appears, click on "Content" - to add js code to this block:



9. Copy our js connection code into the opened code paste window:



10. Save the block, publish our project on Tilda.

Go to our advertising domain (project link to Tilda) to check the result of the script. As you can see, Safe Page appears as a result of the clicklock script:



10. Lets check the statistics to make sure everything is OK:



11. To be sure, lets change the thread setting: GEO filter to "disable" mode, dont touch anything else:



12. There is no need to reload the connection script, all settings are stored in the cloud. Lets just refresh our advertising page and see that this time we get a Safe Page, since our geo is now prohibited and the GEO filter has been triggered:



13. Lets check the statistics again to see the details of clicks and filtrate details:



As you can see, everything converges! Return the settings to their original state - or add the necessary filter settings. Now you can send a link to your advertisement!

This scheme is suitable for any designer or site where there is a possibility to insert js code. It doesnt matter where to insert the code - in <head>, at the end of <body> or anywhere on the body of the page. Will work everywhere!
Working with Affiliate Programs:

Setting up a thread for working with Affiliate Programs looks exactly the same as for public links. With the difference that you need to either use the iframe clicklock script, or the standard script but in redirect mode.

This is due to the peculiarities of Affiliate links - as they work through a redirect by default, and normal loading will not cope with the issuance of such pages.
Working with the Keitaro:

Setting up a thread for working with Keitaro looks exactly the same as for public links*.

The only difference is that you need to use the Keitaro script to connect. It can be downloaded in the Default Connectors of the Connector section, or on the page with view of each thread, it is called "Keitaro cliklock filter".

After you download it, it must be placed in the keitaro/application/filters/

Next, in Keitaro, create a Campaign and a Stream. This Stream needs to be configured to display your Safe Page. Also in this Stream, in the "filters" tab, select clicklock

In the filter setting, you must specify the ID of your thread in the clicklock:



*There is no need to enter links in the thread settings, all loading and displaying of pages will be on the Keitaro side, so just enter in the fields for example safepage and offerpage