anyone successfully implement and use the new Google gtag code in Adobe Launch. we keep getting errors as a result of there code when we test in dev. I thought I would ask here before contacting Google directly to see if there was a remedy.
Uncaught TypeError: dataLayer.push is not a function
[Core] Script error. - : 0
Uncaught TypeError: a.slice is not a function
We also tried using the new gtag extension someone built but get the same errors. One of the issues is probably because we have an object called "dataLayer" that loads all our pageload data as well. The slice error is coming from the first script tag that references GTM source: src="https://www.googletagmanager.com/gtag/js?id=AW-someaccountcode".
Yeah this is code-complete and being tested but Adobe has a polciy to not release or change production code during the holiday when it's a very sensative time and there is less appetite for risk. So this is likely to be released the first week of January. If you are willing to test it before then, we can upload it to your org as a Private Extension and you could use it sooner. It would however mean re-creating your rules if you wanted toswitch to the public one in January and take advatange of future updates. But let us know.