Back to the blogs

How to integrate Magento 2 with Google Analytics

  • Oct 25, 2019
  • By Rajeev Nar
Get In Touch
blog

Integrating your Magento 2 store with Google Analytics can be done in 2 easy steps. It will enable you to manage your products better and attract more customers. Also, it keeps you covered with web traffic.

Step 1. Sign Up for Google Universal Analytics

Visit the Google website, and sign up for a Google Universal Analytics account.

Step 2. Complete the Magento Configuration

  • Return to your store, and log in to the Admin. On the Admin sidebar, tap Stores. Then under Settings, choose Configuration.

  • In the panel on the left, under Sales, choose Google API.

  • Expand the Google Analytics section. Then, do the following:
  1. Set Enable to “Yes”.
  2. Enter your Google Analytics Account Number.

If you want to conduct A/B testing and other performance tests on your content, set Content Experiments to “Yes”.

  • When complete, tap Save Config.