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
June 2020
M T W T F S S
« Aug    
1234567
891011121314
15161718192021
22232425262728
2930  
Sales
Pages
Archives
Categories
Links
Meta
© 2002-2020, SiD3WiNDR - Proudly powered by WordPress - XHTML Compliant - RSS (Entries) - RSS (Comments)