The following steps help you to allow Google Analytics in Magento 2
Step 1: build Google analytics account
Step 2: get a tracking ID
Step 3: construct the Google API in Magento 2
Step 1: build Google analytics account
Navigate to the following link to create an account https://www.google.com/analytics/
Then choose sign in with Google Analytics option and select sign up
Step 2: get a tracking ID
After filling all information, scrolls to bottom and select Get Tracking ID button
Then select I accept terms of services
Step 3: construct the Google API in Magento 2
Log in to Magento 2 admin and navigate to Stores>configuration
Select Sales>Google API Section
Fill your google tracking ID, and then choose save config button
Note: please wait for minutes for Google check and load your data then you can track the activity on your websites.
The following steps help you to allow Google analytics in Magento 2
Leave a Reply