There are many Google Analytics extensions for Joomla! available in JED from simple to advance features. Unfortunately, few of them has less active and the embeded google tracking code snippet are out-of-date. This iBualoy Analytics is a simple plugin to integrate latest Google Analytics Javascript into the html header in your website according to Google's Guideline.
How it works?
iBualoy Analytics is simply insert Google Analytics Javascript snippet into the header of joomla website. According to Google instruction - Set up the tracking code (asyncronous), I use the latest google code snippet below
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
From Google tracking code snippet guideline...
One of the main advantages of the asynchronous snippet is that you can position it at the top of the HTML document. This increases the likelihood that the tracking beacon will be sent before the user leaves the page. It is customary to place JavaScript code in the
section, and we recommend placing the snippet at the bottom of thesection for best performance.
So after installed and publish your plugin, you have to order iBualoy Analytics manually in Plugin Manager in order to get closest to > tag.
Download
Release Note
Important
- iBualoy Analytics v1.5.x for Joomla! 1.5
- iBualoy Analytics v1.6.x for Joomla! 1.6
28 May 2011
Released Version: 1.5.2, 1.6.1
- Bug fixed RSS problem on Analytics in Header
15 March 2011
Released Version: 1.5.1, 1.6.0
- Use latest Google Analytics Javascript Guideline (Asynchronous snippet)
- Insert Google Analytics Javascript in html header by default
- Option to insert Google Analytics Javascript at the bottom before tag
- v1.5.1 has minor re-arrange code from v1.5.0
Joomla! Extensions Directory
You can find iBualoy Analytics in Joomla! Extensions Directory here: http://extensions.joomla.org/extensions/site-management/site-analytics/16348
Feed problem when in header
It has some conflicts with joomla syndication if you choose the position header. In my live site the feed was entire white. In local host I got the message:
Fatal error: Call to undefined method JDocumentFeed::addCustomTag() in C:\xampp\htdocs\plugins\system\ibanalytics\ibanalytics.php on line 63
When I select the position footer, the issue got away.
Feed problem
It has some conflicts with joomla syndication. In my live site the feed was entire white. In local host I got the message:
Fatal error: Call to undefined method JDocumentFeed::addCustomTag() in C:\xampp\htdocs\plugins\system\ibanalytics\ibanalytics.php on line 63
| < Prev |
|---|
escription got mangled a bit. I use semicolon now of course it should be colon
escription else no-go for LinkedIn shares.