- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Magento. How to add Google Analytics code
February 23, 2015
This tutorial shows how to add Google Analytics code in Magento.
Magento. How to add Google Analytics code
In order to add the Google Analytics code, you should perform the following:
-
The first step is locating your account ID in Google. You will first need to access your tracking code from within your Google Analytics account following this detailed tutorial.
-
You should get the code similar to the code below:
-
‘UA-XXXXX-X’ in your code ( where XXXXX-X stands for your Account ID number) is your Google Account ID.
-
Log into your Magento Admin Area and navigate to System -> Configuration -> Google API:
-
Expand the ‘Google Analytics’ row, enable Google Analytics and insert your Account ID into the box.
-
Click ‘Save Config’ button at the top right to save the changes:
Feel free to check the detailed video tutorial below: