Here are all steps for you to know How to Enable Google Analytics in Magento 2 :

  • Step 1: Create Google Analytics Account
  • Step 2: Obtain a tracking ID
  • Step 3: Configure the Google API in Magento 2

Step 1: Create Google Analytics Account

Go to this link to create an account: https://www.google.com/analytics/

enable Google Analytics in Magento 2
enable Google Analytics in Magento 2

Select Sign in with Google Analytics option and click Sign up.

Step 2: Obtain a tracking ID

After fill all information please scroll to bottom and click Get Tracking ID button

enable Google Analytics in Magento 2
enable Google Analytics in Magento 2

Then accept Google Analytics Terms of Service

Step 3: Configure the Google API in Magento 2

Login to you magento 2 admin and go to Stores>Configuration.

enable Google Analytics in Magento 2
enable Google Analytics in Magento 2

Choose Sales>Google API section

Fill your google tracking ID, enable then click Save Config button

enable Google Analytics in Magento 2
enable Google Analytics in Magento 2

Note: Please wait some minutes for google check and load your data then you can track the activity on your website.

Check here for Magento extensions and Magento 2 extensions now !


Ready to foster your knowledge

with MAGENTO 2 BASIC GUIDE

magento 2 basic guide series


How to Insert JS, CSS or Less with Your Module in Magento 2
How to Use all Commands in Magento 2 CLI (Part 5)

Leave a Reply

Your email address will not be published. Required fields are marked *