OVO Tech Blog

Our journey navigating the techosphere

AuthorStuart Izon

gtm angularjs config environments

Dynamically loading Google Tag Manager environments in a single page application

Posted on .

Having separate GTM environments is a good thing . But, different environments means loading a different script for each environment…So how can you add it to your index.html, without maintaining a separate index-uat.html and index-prod.html?…