UA and GA4 GTM Extensions
We have both versions of the GTM extension. One for UA and one for GA4. With both extensions enabled, the GTM loads twice in the debugger. Is this as expected behavior? I'm looking at purchsing the upgrade from the free to the pro version of GTM but not sure if I'll still have the same problem.
Does anyone have both UA and GA4 installed and tracking correctly?
-
Official comment
The two extensions are indeed fully compatible with each other, if you refer to our GTM and GA4, however, it's generally advised to have a separate container for both extensions. As such, the recommended way for you to proceed here is to go ahead and create a new Google Tag Manager Container for one of the modules and re-perform the configuration steps listed in the documentation and on the respective module User Guide:
https://weltpixel.com/resources/ModuleDoc/Magento2/GA4/User-Guide-WeltPixel-Google-Analytics-4.html
https://weltpixel.com/resources/ModuleDoc/Magento2/GoogleAnalytics/User-Guide-WeltPixel-Google-Analytics-Enhanced-Ecommerce-Tag-Manager.htmlOnce you have a separate container for each extension, you should still see two Google Tag Manager tags loading into the page, however, the Container ID should be different for both of those.
Comment actions
Please sign in to leave a comment.
Comments
2 comments