We can get the Amplitude GTM tag to fire in one environment, but can’t seem to get it to fire in another. The only thing I can really see between the two is that on the environment where it works, we don’t use DataLayer gtm whitelisting. On the environment where it doesn’t fire, we do.
On the non working environment - we have the following settings in our DataLayer gtm.whitelist:
- gtm.whitelist: Array(6)
- 0: "google"
- 1: "nonGooglePixels"
- 2: "nonGoogleScripts"
- 3: "nonGoogleIframes"
- 4: "customScripts"
- 5: "customPixels"
-
Might this be the source of our difficulty? And if so, what ought we include in there? I would’ve thought that nonGoogleScripts would encompass it.