OpenPotion Asynchronous Google Analytics

Now you can just add the Web Property ID... OR you can paste in the full code supplied by google...or whatever you want! You can also choose where it loads, in head or end of body section.
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)!
DIRECTIONS:
Just install, goto plugin manager (EXTENSIONS -> PLUGIN MANAGER, click on it, then add your UA-XXXXXXX-X Web Property ID in the plugin settings (make sure Web Property ID is selected, and set ENABLE to YES!.
IMPORTANT: Only use "Tracking Code" if you are pasting in raw code)
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).
It could only be better if it was updated to include some options like excluding certain pages or user groups.
My company has an employees only area that I don't want to include but I don't want to use individual modules one each page.
But for now this does the job well enough.
The only (2) thing(s) I miss with this plugin :
- the ability to split the snippet (the basic part before the closing HEAD tag and the rest just before the closing BODY tag
- the ability to use/add additional customizations to the trackercode (see http://code.google.com/apis/analytics/docs/gaJS/gaJSApi.html)
I did find another plugin which allows for that (http://extensions.joomla.org/extensions/site-management/site-analytics/11843) although it is also called a GA plugin, it basically seems to add any javascript you specify before the HEAD tag and before the BODY tag
But as said : Openpotion AS GA : does what is claims to do, easy and stable, so I'll be using it on some of my sites
L.
Yeah... we admit it... we keep it simple. Otherwise modifying the template is the best idea. Also, greatest speed gains are achieved by loading all of the code up top... splitting is only recommended by google if there are conflicts, because it is slower.
Simply does not work.
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.
I would like to have the option to not track admin.
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.
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.


