- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Joomla 2.5.x/Joomla 3.x. How to add Google Analytics tracking code
January 21, 2014
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
-
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.
-
Open Joomla admin section, go to Extensions->Template Manager. Select the Templates tab. Click on Theme Details and Files.
-
Select Edit main page template.
-
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.
Feel free to check the detailed video tutorial below: