Categories

Featured templates

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

Ryan DeWitt January 21, 2014
Rating: 4.2/5. From 5 votes.
Please wait...

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

Joomla Templates
This entry was posted in Joomla! Tutorials and tagged add, analytics, code, GA, google, joomla. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket