Google Analytics for WordPress: my latest plugin

I just wanted to let you guys know that I’ve thrown the first version of my Google Analytics for WordPress plugin out there. You can download it from here, while you wait for me to write the page for it on this site!

It automatically tracks outbound clicks from posts, comments, blogroll, it tracks downloads, it can add search engines and it can track image search keywords as well… All your feedback is hugely appreciated!

Update: I created the page for the Google Analytics for WordPress plugin!

Tags: , runs on the Genesis Framework

Genesis theme frameworkThe Genesis Framework empowers you to quickly and easily build incredible websites with WordPress. Whether you're a novice or advanced developer, Genesis provides you with the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go.

Read our Genesis review or get Genesis now!

18 Responses

  1. RoyBy Roy on 15 September, 2007

    Yeah, this one rocks. Tested it, thought along, i’m loving it.

  2. Ron KlarenBy Ron Klaren on 15 September, 2007

    Thanks Joost!

    I allready use your Robots Meta Plugin and I’m thinking about using this on as well, but can you tell me how this plugin differs from the Ultimate GA plugin?

  3. Joost de ValkBy Joost de Valk on 15 September, 2007

    Don’t know that one to be honest, got a link?

  4. Ron KlarenBy Ron Klaren on 15 September, 2007

    There are a couple of other GA plugins, but this one is the most advanced as far as I know.



  5. Joost de ValkBy Joost de Valk on 15 September, 2007

    As it looks to me, that one can’t segment outgoing clicks and can’t track image search keywords…

  6. JaredBy Jared on 8 November, 2007


    Nice plugin, I’ve got it running on my blog right now. Hopefully time will tell how good it is.

  7. davidBy david on 9 November, 2007

    Could you please take out the one level of directoy on your download? It’s a minor thing to worry about, but it tripped me up when I dropped the main folder in my plugins. Thanks, and testing it out now.

  8. Joost de ValkBy Joost de Valk on 9 November, 2007

    @David: sorry, that’s created by the WordPress svn servers…

  9. JohanBy Johan on 10 November, 2007

    Nice plugin but I do not like the fact that the JavaScript is placed on top of the page in the source code. Other trackers place this code at the end so it won’t slow down the loading of the page.

    Also, I prefer the plugin options to be in under the options tab and not under the plugins tab, but this is just a matter of personal taste :)

  10. Joost de ValkBy Joost de Valk on 10 November, 2007

    @johan: there’s a reason for putting the script in the header, it makes the data way more reliable, and outbound click tracking can have some huge problems if the script isn’t completely loaded yet…

  11. EfosaBy Efosa on 15 November, 2007

    Thanks Johan. I had the same question on the placement of the Analytics code in the header of the HTML code as opposed to the bottom. Glad to see there is a good reason you chose that route. Thanks for your efforts!

  12. MassimoBy Massimo on 6 December, 2007

    Great plugin! Works great! Keep up the great work!

  13. daveBy dave on 6 December, 2007

    I gotta say this, I’ve had to deactivate this recently due to the fact that when you preview an article, GAPP will register it as a page view.

    I never noticed this before until I started looking at all my data.

    If you ever get this fixed I might reactivate, until then, I’ve resorted to the hardcoded method, which works nice in the header. I haven’t check for any updates, so I’m sorry if this has been corrected.

    Works good though, but maybe too good.

  14. Joost de ValkBy Joost de Valk on 6 December, 2007

    @dave: you got me there. Fixed that in the 2.1 release!

  15. Robert IrizarryBy Robert Irizarry on 13 December, 2007

    With the new tracking code out, will you be updating the plugin to support it?

  16. Joost de ValkBy Joost de Valk on 13 December, 2007

    Working on that at the moment yes, expect an update in 2-3 days. That will ONLY use the new code though, no point in allowing you to choose in my opinion :P

  17. Andrew BissBy Andrew Biss on 12 March, 2008

    Hi Joost,

    Thanks for the plugin. One problem I noticed is that I was getting the outbound click tracking code generated into my RSS feed. This caused warnings from the RSS feed validator.

    This may have been an interaction with another plugin. In any case I was able to work around this problem by modifying the plugin to check if it is being called when processing a feed.

    I added checks for “is_feed()” at the statr of the functions “the_content”, “comment_text”, “comment_author_link” and “bookmarks”. In each case if we are processing a feed then the buffer is returned unchanged.