Google Analytics is a free website tracking tool which helps you understand your website’s visitor. We highly recommend it, and in this post will run you through how to add Google Analytics to either Joomla 1.5 or Joomla 1.0.1x.
We have broken down the answer of this question into two steps:
1. Create a Google Analytics account
2. Add the Analytics code to your Joomla template
Go to the Google Analytics website and sign up for account.
Once you’ve followed the registration process you will come to a page where you are given a tracking code to add to each page of your website. If you are given the choice to choose between the new tracking code (ga.js) or the old tracking code (urchin.js) choose the new tracking code.
Keep this webpage open with the tracking code on as we’re going to need it in a few minutes.