Google Analytics

From HAA Best Practices Wiki
Jump to navigationJump to search

Google Analytics is a free tool that allows you to track traffic to your Web site. It works by inserting a short script in each page of your site, that notifies Google about visits to the page, so that Google can collect the data and prepare reports for you. In order to use Google Analytics, you need to:

  1. Get a Google Analytics key;
  2. Activate the Google Analytics Plugin;
  3. Insert your Google Analytics key in the plugin.

To get a Google Analytics key go to and click on "sign up now" in the blue box on the right. If you already have a Google account, you can simply sign in. Otherwise, create an account.

Once you are logged-in on the Google Analytics page, click the '+Add new account' link on the right. Follow Google's instructions.

Once you reach the page with the Javascript code for you to paste into your site, look for the code that looks like "UA-00000000-0" right after GetTracker. Copy that code (without the quotes) and save it in a file. Now, click the 'Finish' link.

Go to your site and find Google Analytics Plugin at Joomla->Extensions->Plugin Manager->Google Analytics Bridge 2009. Insert the tracking code in the plugin's Tracking ID parameter. Don't forget to save the plugin page.

You must also enable the plugin, either using the check box in the plugin's page or the Enabled box in the Plugin Manager.

Now you can go back to your [Google Analytics page] and click on the link for your site. That will take you to a page listing your site and it will probably have a yellow triangular warning icon indicating that the tracking status is unknown. Once Google has started collecting data, that icon will turn to a green check and you will be able to view your reports.

You can verify that the Google Analytics plugin is working properly by going to the home page of your site, viewing the source code, and checking that the Google Analytics code is present at the very bottom of the page.

Return to Google site management