Google Analytics Module for Joomla 1.5
Written by Nick Dawson   
Saturday, 27 October 2007

UPDATE: Fully tested on Joomla 1.5 Release as working. 

Joomla 1.5 has now hit Release Candidate 3 so I decided to upgrade one of my websites to the latest build. I wanted to avoid having to turn on the legacy plugin for old 1.0.x extensions but couldn't find a Google Analytics Trakcing module native for Joomla 1.5 thus I decided to write one. This extension is fully compatible with Joomla 1.5 RC3 and has features for SSL as well as tracking users. The extension is completely free.

Latest version: 1.0.2.

icon Google Analytics Module for Joomla 1.5 (1.76 kB)

Image

ChangeLog:

Version: 1.0.2

  • Fixed https/ssl bug
  • Re-added user tracking code (found 1.5 API code!)

Version: 1.0.1

  • Fixed $page variable to use REQUEST_URI
  • Fized 0 byte error for index.html
  • Removed redundant code
  • Removed user tracking code (API problems)

Version: 1.0.0

  • Initial Release

Add as favourites (0) | Quote this article on your site | Views: 18422 | E-mail

  Comments (12)
RSS comments
 1 PHP - error
Written by This e-mail address is being protected from spam bots, you need JavaScript enabled to view it website, on 29-10-2007 12:52
Hi cool module! 
But I get the following PHP-notification on my page: 
 
Notice: Undefined index: page in E:\studiomateo.nl\wwwroot\modules\mod_analytics\mod_analytics.php on line 14
 2 Updated Module
Written by This e-mail address is being protected from spam bots, you need JavaScript enabled to view it website, on 29-10-2007 18:25
I have updated the module, the issue should now be resolved. Download the new version.
 3 PHP error again (another line)
Written by Alan, on 29-10-2007 21:15
I also had same erro (line 14). 
With new version this error disappear, but have it on another place. 
"...htdocs/modules/mod_analytics/mod_analytics.php on line 40"
 4 Updated again
Written by This e-mail address is being protected from spam bots, you need JavaScript enabled to view it website, on 29-10-2007 21:40
OK, user tracking should be fixed. Try download again.
 5 Written by Mateo, on 30-10-2007 08:48
The HTML-output of the module: 
Code:
 
 
 
_uacct ="UA-2898175-1"; 
urchinTracker("/funnel_G1/index.php")
urchinTracker(); 

 
what's that '/funnel_G1/index.php?'
 6 Goals
Written by This e-mail address is being protected from spam bots, you need JavaScript enabled to view it website, on 30-10-2007 17:45
It's for goals tracking, if you're on a specific page you can use it for conversion rates and goal, tracking to see how far users are getting in a process such as registering.
 7 Written by henry, on 09-11-2007 07:40
Code:
Module Parameters 
Analytics _uacct code UA-2567890-1 
Analytics _udn site (leave empty if you don't know what this is) 
Module published? Yes 
https No 
tracking No
 
 
What is that Analytics _udn site  
 
Regards henry
 8 Domain tracking
Written by This e-mail address is being protected from spam bots, you need JavaScript enabled to view it website, on 09-11-2007 16:39
It's for tracking different domains and subdomains under the same site name on Analytics.
 9 That would be well to add a parameter to
Written by This e-mail address is being protected from spam bots, you need JavaScript enabled to view it website, on 20-11-2007 16:40
Hello, 
Code:
"urchinTracker(\"/funnel_G1"
 
What would be well it is to be able to add or not this code grace parameter of the module and consequently occasion of being able parameterized the name of the variable “funnel_G1” 
Because for my use this parameter is useless, and that is damage that I am to oblige of modified the code each time. 
Thank you
 10 Is possibile to do this?
Written by fab, on 07-02-2008 06:47
The extension work very well, is easy to use and support the new 1.5 native mode. I would only to know is if possible to ameliorate a bit the data reports. When I check the Google Analytics report about the visited pages in the site is reported the urls of direct page in the format: 
 
/index.php?option=com_content&view=article&id=X&Itemid=XXX 
 
Is there a way to substitute these url name with the page name in the google report? For example: 
 
/index.php?option=com_content&view=article&id=X&Itemid=XXX -> will become Home 
/index.php?option=com_content&view=article&id=X&Itemid=XXX -> will become Forum 
 
and so on.... 
 
Another question is about the strange keyword "/funnel_G1/". I always found the same url visited twice in the report list, one normal and the other with this word at the begin of the same url, is there a reasons for it? 
Thank you
 11 How to use?
Written by roundtrip, on 19-02-2008 23:54
Hello Nick, 
 
Fairly new to Joomla so need a little more detail on how to use this plugin. Could you either point me to or provide some step by step information? 
 
Thanks for making this module available. 
 
 
Regards 
 
John
 12 Figured it out
Written by roundtrip, on 20-02-2008 02:14
Ah! Managed to find it and thanks to other comments have filled in the correct paramaters needed. 
 
Again, thanks for a fabulous module.

Only registered users can write comments.
Please login or register.

Powered by AkoComment Tweaked Special Edition v.1.4.6
AkoComment © Copyright 2004 by Arthur Konze - www.mamboportal.com
All right reserved

Last Updated ( Sunday, 03 February 2008 )