cancel
Showing results for 
Search instead for 
Did you mean: 

Google Tag Manager with Staging and Development

Google Tag Manager with Staging and Development

I work on a Commerce Cloud implementation of Magento 2.2.1 and we currently use the default Google Analytics settings with Google Tag Manager enabled. However, we need to transition to a GA/GTM workflow that can follow along with our development workflow (development -> staging -> production). To achieve this, it'll require multiple GTM environments and GA properties. That cannot be achieved with the Google Analytics module as I see it in 2.2.1 because the container ID is the only field in the GA config, but I'd need additional fields where I could plug in values to override the "gtm_auth" and "gtm_preview" parameters. Any thoughts/advice would be appreciated. Thanks!