Support for both Universal Analytics and Analytics 4
I am currently using Magento 2 Google Tag Manager Extension (GTM) and since Google is shuting down Universal Analytics I want to migrate to Magento 2 Google Analytics 4 (GA4) With GTM.
I understand the plugin provides tags for GA4 to capture Enhanced Ecommerce related events (Purchase, checkout steps, product view, cart add, etc...), but is there any way to keep compatibility with both GA3 and GA4 until GA3 shutdown? Should I keep the "old" plugin until the end, or I can do that with the new one?
Thanks
-
Official comment
The two extensions are indeed fully compatible with each other, 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
Once 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
1 comment