|
For simplicity sake I'm going to say that I'm making a hit counter.
However, because I have Google Ads on my page, the 66.249.73.XX IP of the Googlebot pops up on my logs a few seconds after a genuine hit because the ads have appeared. Obviously, the IPs of all other web crawlers that visit my site are logged as well.
Is there any way (through PHP preferably or I'm open to other methods) to differentiate between a genuine user visiting a site and a web crawler's hit? I want to only add hits for genuine people.
Blocking crawlers through robots.txt or any other method isn't wanted.
|