[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

Joomla 2.5.x/Joomla 3.x. How to add Google Analytics tracking code

This video tutorial shows how to add Google Analytics tracking code into your Joomla website.

Joomla 3.x. How to add Google Analytics tracking code

  1. In order to generate a Tracking ID, you should log in to the Google Analytics website at http://www.google.com/analytics/ using your Google account. After that, you need to generate Google Analytics tracking code. Then add this JS code to the template index.php file. The code looks like on the screenshot below. Copy this code.

    Joomla_3.x._How_to_add_Google_Analytics_tracking_code-1

  2. Open Joomla admin section, go to Extensions->Template Manager. Select the Templates tab. Click on Theme Details and Files.

    Joomla_3.x._How_to_add_Google_Analytics_tracking_code-2

  3. Select Edit main page template.

    Joomla_3.x._How_to_add_Google_Analytics_tracking_code-3

  4. Scroll down to the end of code and insert the JS code you have copied above the </body> tag. It should look like on the screenshot below. Save the changes.

    Joomla_3.x._How_to_add_Google_Analytics_tracking_code-4

Feel free to check the detailed video tutorial below:

Joomla 3.x. How to add Google Analytics tracking code