Updated my Google Analytics plugin to track AdSense clicks

Iwan Uswak from the Data Mining Blog requested that I added Aaron's AdSense Google Analytics tracking to my Google Analytics for WordPress plugin. I emailed Aaron to ask if he had any objections to me doing that, and as expected his answer was "of course not.". So I've just updated my plugin to version 2.0, and it can now track all the AdSense clicks on your site as well.

It uses /outbound/asclick to track the clicks to, instead of just /asclick as Aaron's script originally did. It's not possible to change that other than by changing the file at the moment. Just download the latest version, and upload the entire gapp folder to your wp-content/plugins folder, activate the plugin and enable AdSense tracking, and you're done!

Related posts

  1. Google Analytics plugin updated!
  2. Google Analytics for WordPress: my latest plugin
  3. WordPress Google Analytics 2.3: XHTML strict
  4. Google Analytics and Google Image search: revisited
  5. Image search keyword tracking with the new Google Analytics

Want more WordPress tips?

You should subscribe to my WordPress Newsletter, as you'll get a whole lot more WordPress tips and tricks there! Also, subscribe to this blog right now with RSS, or daily or weekly emails!

14 Comments to “Updated my Google Analytics plugin to track AdSense clicks”

  1. Mathieu Bee

    Mathieu Bee Nov 20th, 2007 at 12:14

    Sweet! Thank you very much.

  2. Manish

    Manish Nov 21st, 2007 at 09:46

    Hi, I have added this plugin (2.0) on my website http://www. TopIndianModels. com running on wp2.3.1 but I don't see analytics data on google.com/analytics its showing 0 hits. The traffic to this site is around 400 uniques. Can you help.

  3. Joost de Valk

    Joost de Valk Nov 22nd, 2007 at 08:36 Delicious Digg StumbleUpon Twitter

    Manish: it doesn't track you when you're logged in as admin, I see the analytics code is on there just fine.

  4. Dudu P

    Dudu P Nov 22nd, 2007 at 14:43

    Hi, Joost!

    Thanks a lot for your great work! I love the elegant way you extended Analytics funcionalities.

    However, I have a little issue with it, which I tried to solve myself, but was unable to: how can I remove access of user roles other than admin to the GAPP menu on Wordpress?

    Thanks in advance

  5. Joost de Valk

    Joost de Valk Nov 22nd, 2007 at 14:45 Delicious Digg StumbleUpon Twitter

    Hi Dudu: I'll check into that tonight!

  6. Dudu P

    Dudu P Nov 22nd, 2007 at 14:57

    Thanks a lot! :D

  7. Data Mining Blog

    Data Mining Blog Nov 26th, 2007 at 21:48

    A hell of a hard working, wordpress extending seo! ;)

  8. kamell

    kamell Dec 6th, 2007 at 14:54

    I cant understand how to track adsense through analytics until now , pls any one explain this clearly

  9. Petterson

    Petterson Jan 7th, 2008 at 13:20

    My question is what are the benefits of adsense click tracking?

  10. Joost de Valk

    Joost de Valk Jan 7th, 2008 at 13:29 Delicious Digg StumbleUpon Twitter

    @Petterson: Read this.

  11. Flora

    Flora Mar 11th, 2008 at 13:25

    Hi,

    Is this applicable for new .js version of google Analytics?

  12. Gustavo Leig

    Gustavo Leig Apr 12th, 2008 at 17:05

    Hi Joost,

    thank you for the GA plugin and all tips. I checked your page and you track with GA your subscribers (email and Rss I believe).

    What is the best method to do this? Im using your plugin, by the way...

    thank you again.

    Gus

  13. Adsense traning

    Adsense traning Apr 23rd, 2008 at 03:26

    Google’s Adsense advertising program is the world’s most well-known Internet Marketing advertising program today.

  14. Gustavo Leig

    Gustavo Leig Apr 29th, 2008 at 22:24

    It stopped tracking my clicks since last plugin update... very strange...

Leave a Reply

Joost de Valk a.k.a. Yoast Want an avatar too?
Go to gravatar.com and upload your preferred avatar.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

Directory Journal
SEO Book Tools
Pepperjam
SearchEngineWatch
Free Google Traffic
Hosting by:
Hosted by MediaTemple Grid Services