• Share

Asynchronous-Goolge-AnalyticsNormally 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

If you use this plugin, please post a rating and a review at the Joomla! Extensions Directory.

  • http://twitter.com/rapidpixel rapidpixel

    Just installed this on a client site and inspected the code. Seems to be working like a charm. And of course, who doesn't want to minimise page delays.

    Thanks for the new addition to my Joomla utility belt.

  • Piotr_cz

    Cheers for this extension.
    If you feel like doing an update, I suggest adding an option to insert the GA code just below <body> and another to disable it for logged in users – to prevent stats of editors updating the web.

    Greetings to sunny OZ, I've just been recalling Sydney as here in central europe we are having quite floody summer :/

  • ruzairi

    nice to try

blog comments powered by Disqus