How to Configure Google Analytics in Magento 2

Google Analytics has the ability to statistic of customer activity on your website. It used to track website activity such as session duration, pages per session, bounce rate, etc. of individuals using the site, along with the information on the source of the traffic. With the above features, I think it is very useful for the Magento store owner. In this article, I will introduce you How to Configure Google Analytics in Magento 2.

With other CMS, to use Google Analytics, you need to install additional Extensions or Modules. As for Magento, Google Analytics is available by default without any additional installation.

How to Configure Google Analytics in Magento 2

Step 1: Log in to Magento Admin Panel with Admin account.

Dashboard

Step 2: On the menu bar, select STORES, then select Configuration in Settings section.

Stores Configuration in Settings section

Step 3: In the Configuration panel, select SALES, click Google API.

In the Configuration panel, select SALES, click Google API.

Step 4: Under Enable, select Yes.

Under Type, select Google Analytics.

For Account Number, enter your Google Analytics tracking ID. (If you don’t have a Google Analytics account, you can sign up at http://www.google.com/analytics/)

Item Enable IP anonymization:

  • Select Yes: anonymous IP visitors.
  • Select No: monitor visitors’ IP.
Enable Google Analytics

Step 5: Click Save Config.

Note: after installation is complete, it takes up to about 24 hours for Google Analytics to work on your Magento site.

Good luck!

It comes to the end of tutorial: How to Configure Google Analytics in Magento 2.

Follow us for more helpful tutorials!

We hope this is useful blog for you.

Thank you for reading!

0 0 votes
Article Rating

Adam Roger

CEO and Founder of Magetop. A friend, a husband and a dad of two children. Adam loves to travel to experience new cultures and discover what is happening with ecommerce all around the world.

Leave a Reply or put your Question here

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x