Hello Friends. Today we learn about how to integrate Google Analytics code in Magento Application. you should perform the following:

We give you very easy way to add google analytics code in Magento perform the following:

    1. First step you create Google analytics tracking ID account. then you need to copy tracking code from the Google Analytics account by following this detailed tutorial.
    2. You should get the code similar to the one, presented below:
    3. [the_ad id="1284"]
    4. UA-XXXXX-X‘ in your code ( where 12345-5 stands for your Account ID number) is your Google Account ID.
    5. Log into your Magento Admin Area and navigate to Stores -> Configuration section.
    6. Now Access Magneto the Sales -> Google API section and expand the Google Analytics option.
    7. Magento_2.x._How_to_Integrate_Google_Analytics_code1.jpg

  1. After that Enable Google API it and paste the tracking code to the Account Number field. Next, click on the Save Config button to apply the changes.
  2. Magento_2.x._How_to_Integrate_Google_Analytics_code1.jpg
  3. Now finally Google Analytics code successfully add.

Thank you for watching thinknowledge. Now you know Learn How to Integrate Google Analytics in Magento 2.x.?