SiD3WiNDR Gears  Hacker Emblem  
Google AdSense doubles your hits
Date: March 13th, 2006 by SiD3WiNDR
Categories: Computing, Development, Interweb, Websites

I was wondering why every time I did a search on ipkg.be the search counter incremented by 2. I checked through my code but nowhere was that statement being executed twice. After a while, thinking about something else related to AdSense, it dawned on me… I recalled seeing Google AdSense hits in my access_log for the site, requesting the exact same page as the user (to adjust to the content on the page). On a “search engine” ofcourse, this means that Google does the exact same search as the other user, effectively doubling the number of searches logged… I have adapted my code to check the user agent, will be fixing up the database later so that Google’s hits aren’t included anymore…


Incoming Links (via Technorati):
Nothing Reported

Comments are closed.

Weblog Calendar
December 2024
M T W T F S S
« Aug    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  
Sales
Pages
Archives
Categories
Links
Meta
© 2002-2024, SiD3WiNDR - Proudly powered by WordPress - XHTML Compliant - RSS (Entries) - RSS (Comments)