Working with Google Analytics in Joomla

As many of you know I’ve been working on a very large website lately. It’s name is Magic Butter and its a great cartoon, webisodes, humor website. Anyways, I just got done adding tracking code to all of our MP3’s, Wallpapers, and Icons. The way you do it is really simple.

First you take your original code:

MP3

Then you take the tracking code:

onClick="javascript:urchinTracker ('/downloads/wallpapers'); "

Then just add those together. And Voila! you now get to track downloads on your site. There is additional code for flash, ajax events, and so forth. Man, who knew tracking your site could be so meticulous.

Oh, and another quick note. I used tracking code in this article. I’m currently reading “Web Analytics: An Hour a Day” by Avinash Kaushik. In the book he suggests using code such as:

?uid=namehere

That allows for you to track incoming and outgoing links with a bit more accuracy. So, when people click the above links, I’ll be able to track it a little better.


Comments

Leave a Reply

You must be logged in to post a comment.