Google Analytics Document

Written by John on Monday, 21 February 2011
  1. Download and install Joomla plugin CodeIs Google Analytics.
  2. In Joomla Plug-in Manager, find System - CodeIs Google Analytics, and click the link.
  3. In CodeIs Google Analytics configuration page, input Web Property ID(UA-xxxxxxx-x) and enable the plugin. If you don't have a Google analytics account yet, you can register here, it is free.
  4. Clear the cache, and in the front site, you can find some JavaScript code like:
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-4973264-2']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    UA-4973264-2 is the Web Property ID of, your site may have a different one.