It contains a number of options to configure advanced parameters as Google Analytics.
Example tracking clicks on the menu "Extensions".
First find out the ID of the menu, in my case "menu120", once we know the ID of the plugin and the parameter "Code After _trakPageview" add the following javascript code.
$('menu120').addEvent('click', function(){
pageTracker._trackEvent('Extensions', 'click', 'Menu');
});
With this feature we add we are doing that when the browser menu click on the "Extensions" with ID = menu120 add the action "click" in the category "Extensions" and labeled "Menu".
View example in Google Analytics
To download click on the link that says "Download AS Google Analytics", then click the check box to accept the license, and will be automatically downloaded.
v1.1.0
Added the possibility to choose between synchronous and asynchronous code.
Asynchronous code:
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "XXXXXXXX"]);
_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);
})();
Synchronous code:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("XXXXXXXX");
pageTracker._trackPageview();
</script>
If you have any questions on how to install or configure the plugin creates a comment with your question. (Ask)
Download:
Joomla 1.6
Joomla 1.5
Donate:
Screenshoots:




