- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
GA4 & GTM enhanced ecommerce - do you have it set up correctly? If so, share?
If you have enhanced ecommerce tracking sucessfully through GA4 and using GTM triggers/tags, can you share your set up?
Specifically, what do you have for:
- Stores > Configuration > Sales > Google API > Google Analytics. Do you have Google Tag Manager or Universal Analytics there?
- Stores > Configuration > Sales > Google API > Google GTag > Google Analytics4. Do. you have Google Analtyics4 there, or Google Tag Manager?
In GTM -
- Are the trigger types all custom events?
- For your tags, do you use your GA4 measurement ID and check send e-commerce data, source data layer?
Thank you! It would be helpful for my set up as I CANNOT get it working.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: GA4 & GTM enhanced ecommerce - do you have it set up correctly? If so, share?
Hello @ingridgcla5b6d
If you’re using GTM, you don’t need to configure the Google Analytics or GTag settings in Magento itself.
If you're only using Universal Analytics (UA), you would enter the UA Tracking ID in the Google Analytics section.
For GA4, you should rely on GTM instead of Magento’s native configuration.
Magento 2 Data Layer for GA4 and GTM
Ensure Magento is configured to push ecommerce data to the data layer. Magento does not automatically push Enhanced Ecommerce data to GTM by default, but you can either:
Use a third-party extension that integrates Enhanced Ecommerce with GTM (such as Google Tag Manager Enhanced Ecommerce extension).
Custom code to push the data layer for events like add to cart, purchase, etc.
Hope it helps !
If you find our reply helpful, please give us kudos.
A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9