« Steps from $0 to $1000 of monthly blogging revenue | Main | Changes on phpmagazine RSS feeds »

Track AdSense Clicks With Google Analytics

I found this tip very useful for Google Analytics users, so you can track your AdSense Clicks. Thanks to Shawn Hogan, for this very useful tips. It basicly log the AdSense click to a non existing page for example http://www.yourdomain.com/AdSenseClick

It would be cool if Google automatically tracked AdSense clicks into Google Analytics... But until they do, here's a little bit of JavaScript code you can use to do it. You can then setup an AdSense click as a "goal" within the Analytics interface.

The javascript work only with IE, but there is another version which work better and uses mouse cursor position prior to page unload to help decect AdSense clicks in Firefox. After you install the script, just go to your Analytics Settings, then edit your Goal and enter the new Fake URL and give it a title.

Bookmark this article at these sites
Post a comment





(Email will remain hidden)





Please enter the security code you see here




Related entries
Email to a friend
Email this article to:


Your email address:


Message (optional):