How to Add Google Analytics Code to a Joomla Site

Joomla > How To

 

How to Add Google Analytics Code to a Joomla Site

 

  1. You will need to setup a Google Analytics account. You can sign up for one with the following link: Google Analytics
  2. Login to the back end of your Joomla site. If you need help logging into your back end you can go here: How do I access the back end of my Joomla site?
  3. Go to Extensions > Template Manager.
  4. Click on Templates (You are currently in Styles).
    • Template Manager:Styles
  5. In this example, we're using the default template. Substitute your template name for beez_20. Select beez_20 Details and Files
    • Template Details
  6. In the Template Manager: Customise Template page locate the Template Master Files and select Edit main page template
  7. Search for </head> (Use Control + F for most browsers).
  8. Insert the code as specified in the graphic below.
    Google Analytics insertion

Note: It will take up to 24 hours before Google Analytics will have enough data to generate information for your site.

Add Feedback