The Joomla! Extensions Directory ™


OpenPotion Asynchronous Google Analytics Plugin

Joomla 1.5 Only! This is an update to the fine work by BIGSHOT on their Google analytics plugin, which we used on every site (thanks guys)! This is the same thing, but uses the new Asynchronous Google Analytics tracking code and adds it just before the closing html head tag for faster (asynchronous) loading of your website (without having to modify your template's default code)!

If your site was slow because of google analytics, try this! This eliminates the lag caused by the old google analytics urchin.js and gs.js codes that had to be loaded at the bottom before the closing body tag.

http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html

We just wanted to give back to the Joomla community in one small way!

You can view the source code of our site to see it in action (demo above)!

Just install, goto plugin manager (EXTENSIONS -> PLUGIN MANAGER, click on it, then add your UA-XXXXXXX-X Web Property ID in the plugin settings, and set ENABLE to YES! To verify it is working View Source of your homepage and search for your web property ID. Google reports on stats gathered 24 hours later... so be patient!

Oh and make sure to disable any other tool that adds the Google Analytics tracking code so you don't have 2 tracking codes (duh!).

Troubleshooting... Disable all caching/css compression/speed tools first to verify you are looking at fresh code! Then try setting the system plugin last or first in the order in plugin manager, then try disabling all other system plugins temporarily.
--
IMPORTANT: Imagine having a strong urge, to come back here and leave a review, that won't go away until you do! Just one tiny thing we'd like in return... We'd be grateful!

Updated to include advanced options of domain tracking methods... just install it over the old one (no need to uninstall).

Report

2010-09-08
Reviews: 8
I was thinking of doing this myself a few months back but didn't get around to it. Well done!

I'm surprised you haven't had more downloads considering the performance advantages of the asynchronous version.
2010-08-26
Reviews: 16
Installed fine but does not put analytics into code where it claims or at all. I examined my entire code and the analytics was not there and no tracking took place.

Simply does not work.
Owner's reply

umm... yeah it does work and is easy as pie.

Install, go to Extensions, Plugin Manager, Filter for OpenPotion... click on our plugin, change enable to yes, on the right, put in your web property ID (a numeric code formatted UA-XXXXXXX-X that is provided by google)

Or contact us.

If it still does not show... try disabling all your other system plugins, until it does work, so you can find the culprit conflicting. Good luck... and once you figure it out... please update this really low rating.

2010-08-07
Reviews: 4
Seems to do the job and very easy to install.
I would like to have the option to not track admin.
Owner's reply

As in the plugin disables when an admin is logged into the front end? Hmmm... it would probably have to be a module then? Anyone else is welcome to contribute, if they can figure that out... best bet is to set filters in Google Analytics to ignore your IP or other admins IP.

The plugin only dispays the analytics code on the frontend though and not in the backend admin area, in case there was any confusion about that.

2010-08-05
Reviews: 10
Perfect and current. Took less than 2 min to find, read reviews, install and get running without issue. So nice to have extensions that do what you need, the first time without adding extra stuff.

Thanks folks.
2010-08-05
Reviews: 1
Simple, Painless, No Installation Errors.
Nice indeed.
2010-07-16
Reviews: 2
Tried a few other plug-ins and nada... then I found this baby and worked like a charm!

Thanks guys
2010-06-11
Reviews: 5
This is a must have plugin !

Now my web site load twice faster !

Kudos !
2010-06-05
Reviews: 4
Super easy to use. No editing any templates, or any of that madness. Just install it. Go to the plugin manager, click it's link there, turn it on, and paste in your google analytics ID number.

It quietly adds the most updated google analytics code to the top of the page (new code is supposed to go in the top). No more effort required than that.

Exactly what the BigShot analytics tool did, but these folks have kindly updated it with the newest Google code. Yea!

Easy, painless, and it works.
Page 2 of 2