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


Yidaki - 8:33 am on Feb 27, 2004 (gmt 0)


>Can someone explain Yidaki’s script with more detail

The script tracks events that happen in an iframe on the page (clicks in this case). You can expand the script to track the clicks using a web bug - like figment88 described.

BUT THIS DOESN'T WORK WITH ADSENSE

Uhm, why? Erm, i stand corrected what monolitik said. My appologize to you, monolitik - i should have known it since i had exactly the same problem with an app i wrote a few months ago ... oh well. Call me ignorant. ;)

The script runs pretty well with iframes that reside on the same server/domain where the page is located. BUT for security reasons, its NOT possible to access content or events of an iframe if the iframe content is loaded from a different domain (in this case google).

Again, sorry, monolitik and others for the confusion i brought.

The script simply won't work with AdSense - nor does figment88's script since it also uses the event handler.


However, thanks AdSenseAdvisor for your comment - now we at least know that it's allowed to track clicks - if we'd just have a script that could do this ... ;)


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