Normally we would embed the Google Analytics tracking code in to the template of each of the sites that we are build. In some circumstances we’d find that the end user would want more control over the Google Analytics code and would prefer to switch it on and off or insert new tracking code at their own will.
So we’ve compiled this little plugin that allows for just that.
Loading the Google Analytics code asynchronously allows for the rest of your site to load while the analytics code loads in the background and thus increasing the loading speed of your site by a few seconds.
Since Google now actively looks at your websites loading performance to calculates its search engine rankings, this plug-in is well worth a try.
This plug-in allows you to simple add in the web property ID supplied by Google in your analytic account in to its parameters. (e.g. UA-XXXXX-X). Find out how to identify your web property ID.
It does not track the administrator area of your site and embeds the required Javascript the way that Google recommends, just before the closing </head> tag.
Simple install the plug-in, add in the tracking code in to the parameters and enable the plug-in.
To read more about the asynchronous method of embedding Google Analytics please refer to:
http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html
Download the Plug-In
Please make sure you download and install the right version for your Joomla instance as installing the J1.5 version on J1.6 / J1.7 will break your site.
- Download the plug-in for Joomla 1.5 ONLY: plg_AsynGoogleAnalytics (J1.5)(ZIP 3.3kb)
- Download the plug-in for Joomla 1.6+: plg_AsynGoogleAnalytics-j16 (j1.6+) (ZIP )
If you use this plugin, leave a comment and please post a rating and a review at the Joomla! Extensions Directory.
How about buying me a beer and pass over $5 to me via Pygg!



