Manual DF™ Cheat Analyzer
Help TopicsMain menu
System settings
Installation of the system counter
Installing counter and setting up click tracking
Installing a hidden link
Traffic valuation parameters
GeoIP database import
Traffic analysis at several sites
Installing a hidden link
Hidden link is a link located in the Website's page code and hidden so that a person visiting this site cannot click it (a link in the hidden layer, a link typed with little font size, a link typed with font color similar to the color of the background, etc). It is used to sort out clicks done by bots, which cannot tell a hidden link from a real one.
You are recommended to place the hidden link among other links at the Webpage, not far from the beginning of the document. The hidden link address should be in the following format: http://mydomain/cgi-bin/cacount.cgi?cafn=hlink&url=http://google.com (where "url" is the web address to which the user clicking the link will be redirected).
There a number of ways to hide the link from the people visiting the site - some of which are listed below. We recommend you to change the code provided in the examples before use. Web address to the link script (cacount.cgi) should be changed into your own one.
Sample 1.
Commented link.
<!--
<a href="http://mydomain/cgi-bin/cacount.cgi?cafn=hlink&url=http://google.com">My Link</a>
-->
Sample 2.
A link without text.
<a href="http://mydomain/cgi-bin/cacount.cgi?cafn=hlink&url=http://google.com"></a>
Sample 3.
Hiding the link by means of the hidden layer. Apart from that, the link is typed in small font size and font color identical with the color of the background.
<span style="display:none">
<a href="http://mydomain/cgi-bin/cacount.cgi?cafn=hlink&url=http://google.com"><font face=arial size=1 color="#цвет фона">My Link</font></a>
</span>
Sample 4.
Hiding the link and faking the link address by means of mod_rewrite. This method is used to make the address of the hidden link look similar to those of the other links located at the site's pages. Thus, it will be harder to find the hidden link among all other links.
For instance, most of the links at the page are in the following format: http://domain.com/cgi-bin/out.cgi?ses=JYggGx84yX&id=2&url=http%3a%2f%2fwww.some-domain.com (DF TopList Pro/Lite), so it's preferable that the hidden link looks the same, so that it is harder to tell it from any other link. To do that, include a text, which would make the link different from the others but will not change the way it looks, into the link. Let's take one of the link parameters - id=2, for instance - meanwhile, we should make sure that no other links contain this text (for instance, this identifier does not exist at the system). After that, with the help of mod_rewrite we sort this parameter out in the link and redirect it to the hidden link of the CA system (http://mydomain/cgi-bin/cacount.cgi?cafn=hlink&url=http://google.com).
As soon as you install the hidden link, do not forget to check if it's working properly or not by clicking it. A click should redirect you to the site stated in the link parameter (url=http://google.com).
<html>
<head>
<style type="text/css">
<!--
.hl { display: none }
-->
</style>
</head>
<body...>
...
<span class=hl>
<a href="http://domain.com/out.cgi?ses=JYggGx84yX&id=2&url=http%3a%2f%2fwww.some-domain.com">Text Link</a>
</span>
...
</body>
</html>
Create a text file named .htaccess in the root of the site.
The contents of the .htaccess file:
RewriteEngine on
RewriteCond %{QUERY_STRING} id\=2
RewriteRule out\.cgi$ /cgi-bin/cacount.cgi?cafn=hlink&url=http://google.com [T=application/x-httpd-cgi,L]
! Of course, only the links to the same site can be faked by this method.
Hidden link is a link located in the Website's page code and hidden so that a person visiting this site cannot click it (a link in the hidden layer, a link typed with little font size, a link typed with font color similar to the color of the background, etc). It is used to sort out clicks done by bots, which cannot tell a hidden link from a real one.
You are recommended to place the hidden link among other links at the Webpage, not far from the beginning of the document. The hidden link address should be in the following format: http://mydomain/cgi-bin/cacount.cgi?cafn=hlink&url=http://google.com (where "url" is the web address to which the user clicking the link will be redirected).
There a number of ways to hide the link from the people visiting the site - some of which are listed below. We recommend you to change the code provided in the examples before use. Web address to the link script (cacount.cgi) should be changed into your own one.
Sample 1.
Commented link.
<!--
<a href="http://mydomain/cgi-bin/cacount.cgi?cafn=hlink&url=http://google.com">My Link</a>
-->
Sample 2.
A link without text.
<a href="http://mydomain/cgi-bin/cacount.cgi?cafn=hlink&url=http://google.com"></a>
Sample 3.
Hiding the link by means of the hidden layer. Apart from that, the link is typed in small font size and font color identical with the color of the background.
<span style="display:none">
<a href="http://mydomain/cgi-bin/cacount.cgi?cafn=hlink&url=http://google.com"><font face=arial size=1 color="#цвет фона">My Link</font></a>
</span>
Sample 4.
Hiding the link and faking the link address by means of mod_rewrite. This method is used to make the address of the hidden link look similar to those of the other links located at the site's pages. Thus, it will be harder to find the hidden link among all other links.
For instance, most of the links at the page are in the following format: http://domain.com/cgi-bin/out.cgi?ses=JYggGx84yX&id=2&url=http%3a%2f%2fwww.some-domain.com (DF TopList Pro/Lite), so it's preferable that the hidden link looks the same, so that it is harder to tell it from any other link. To do that, include a text, which would make the link different from the others but will not change the way it looks, into the link. Let's take one of the link parameters - id=2, for instance - meanwhile, we should make sure that no other links contain this text (for instance, this identifier does not exist at the system). After that, with the help of mod_rewrite we sort this parameter out in the link and redirect it to the hidden link of the CA system (http://mydomain/cgi-bin/cacount.cgi?cafn=hlink&url=http://google.com).
As soon as you install the hidden link, do not forget to check if it's working properly or not by clicking it. A click should redirect you to the site stated in the link parameter (url=http://google.com).
<html>
<head>
<style type="text/css">
<!--
.hl { display: none }
-->
</style>
</head>
<body...>
...
<span class=hl>
<a href="http://domain.com/out.cgi?ses=JYggGx84yX&id=2&url=http%3a%2f%2fwww.some-domain.com">Text Link</a>
</span>
...
</body>
</html>
Create a text file named .htaccess in the root of the site.
The contents of the .htaccess file:
RewriteEngine on
RewriteCond %{QUERY_STRING} id\=2
RewriteRule out\.cgi$ /cgi-bin/cacount.cgi?cafn=hlink&url=http://google.com [T=application/x-httpd-cgi,L]
! Of course, only the links to the same site can be faked by this method.