Forum Moderators: martinibuster

Message Too Old, No Replies

Adsense Tracker

how to track the number of clicks on adsense, with javascript

         

Seige

1:02 am on Feb 21, 2005 (gmt 0)

10+ Year Member



Hi there, I read somewhere that someone is able to use JavaScript to track the number of clicks (and url) if a visitor clicks on an adsense ad.

I'm very curious of how it is done. Mainly so that I can implement it into my website.

I find that there's a need to track adsense clicks. As the stat figures in my adsense account doesn't sum up correctly when compared the number of impressions with my total pageloads. (I have one ad per page)

Brett_Tabke

2:59 am on Feb 21, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



One year ago this week :
[webmasterworld.com...]

Seige

7:47 pm on Feb 24, 2005 (gmt 0)

10+ Year Member



Thank you very much. I can't believe it's that old.

Anyway, I've tested it on my website. And started tracking.

It works almost prefect. But doesn't work on any mozilla browsers due to the "onfocus" event. And i'm still having trouble finding out the actual links my visitors clicked on adsense iframe. As sometimes what is given in "window.status" is only a short/misleading url.

(this has got nothing to do with the tracker, but after installing the tracker, I've started recieving 4 times more clicks then ever before) How weird is that?