Alejo Sotelo - Extensions

Tools
A+ R A- wide normal
Login
  • Skip to content
You are here » Home » Extensions » AS Google Analytics
Español (spanish formal Internacional)English (United Kingdom)
  • Home
  • Extensions
    • AS Estate Agent Show 
    • AS Estate Agent Categories 
    • AS Google AnalyticsAS Google Analytics
    • JLoremPlugin
  • Blog
  • Contact

AS Google Analytics

 AS Google Analytics is a plugin that serves to integrate Google Analytics to Joomla 1.5 in a simple and quick.
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

 Download AS Google Analitycs - Joomla 1.6
File Version: 1.0.0
File Size: 10.18 Kb
License: GPLv2

Joomla 1.5

 Download AS Google Analytics v1.0.0
File Version: 1.0.0
File Size: 4.36 Kb
License: GPL

 Download AS Google Analytics v1.1.0
File Version: 1.1.0
File Size: 5.21 Kb
License: GPL

Donate:



Screenshoots:

AS Google Analytics

ga_es_

 

ga_en_

 

Add comment


Security code
Refresh

Send
Cancel
JComments
Joomla extensions developer © AlejoSotelo.com.ar. All rights reserved.



  • Forgot your password?
  • Forgot your username?
  • Create an account