Page is a not externally linkable
- Google
-- Google AdSense
---- developing AdSense tracking script


monolitik - 1:07 pm on Feb 25, 2004 (gmt 0)


I'm no javascript expert, so forgive me if this sounds like a stupid question, but would that not involve trapping the AdSense click and then regenerating it?

No. Actually you can not trap or capture clicks to adsense because it is displayed in an IFRAME and the frame content is from a different domain (Google) than yours. Browsers prohibit this. That is why Google is using IFRAME to display the ads.

We developed an heuristic algorithm to guess the click indirectly, which involves analysis of some other events the visitor generated before leaving the document. Surely you have rigth to monitor the events on your page without interfering with Google code.


Thread source:: http://www.webmasterworld.com/google_adsense/1788.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com