How to Setup Google Universal Analytics in Magento 2
Google Universal Analytics and Google Adwords are both the awesome Google tools that help you optimize your content, analyze your traffic, and connect your catalog to shopping aggregators and marketplaces. Meanwhile, Google Universal Analytics tool allows you to get a new and more flexible tracking code that lets you collect data from any digital device.
Today, I will introduce you the way to set up Google Universal Analytics on Magento 2 stores. If you want to learn more about Google Adwords, follow our next topic here.
Download Google Analytics Universal (eCommerce) for Magento 2
- Google Analytics Universial on Github
- Google Analytics Universial on Mageplaza
- Google Tag Manager on Mageplaza
How to Setup Google Universal Analytics
Step 1: Register Google Universal Analytics account
Access the Google website, and create your own new account on Google Universal Analytics.
Step 2: Set the Magento Configuration
- Login to Magento 2 Admin, on the Admin Panel,
Stores > Settings > Configuration. - On the left panel, under
Sales, selectGoogle API.- Enable the Google Universal Analytics by choosing Yes for that field.
- Magento 2 Configuration supports
Content Experimentsfield to apply A/B testing and other performance test for your content. Set it to Yes. - Fill your Universal Analytics ID in the
Account Numberfield.

Save Configto complete.
Note
For eCommerce, we suggest that you should use Mageplaza Google Analytics for ecommerce
Recent Tutorials
Magento 2 get customer address custom attribute value
How to Install Magento Extension via Composer
Comments for Setup Google Universal Analytics
People also searched for
- magento 2 google analytics
- google analytics magento 2
- google universal analytics magento 2
- magento universal analytics
- magento 2 analytics
- google analytics in magento 2
- analytics magento 2
- google universal analytics magento
- magento sales analytics
- magento analytics
- google tag manager content experiments
- universal analytics
- google analytics setup
- google analytics universal
- magento2 google analytics
- what is google universal analytics
- setup google universal analytics magento 2
- magento 2.3 google analytics
- google analytics for magento 2
- magento 2 google analytics ecommerce
- magento 2 add google analytics
- 2.2.x, 2.3.x
Stay in the know
Get special offers on the latest news from Mageplaza.
Earn $10 in reward now!