gtag click event Network Status "cancelled"
Hello fellow DTMers,
Having an issue where I'm adding some Non-Sequential JS to a click event in DTM.
The event fires perfectly fine, but the gtag conversion is being cancelled. I am testing in Chrome, is this the issue?
Moreover, if I make gtag conversions tied to specific URL page loads, they fire perfectly fine. Does it have to do with the fact that the AdWords/DCM Universal Tag is implemented using Sequential HTML? Should I translate this to Non-Sequential JavaScript?
If so, how do I translate the beginning of the tag below from HTML to JS (the <script async src=....></script>)?
Best,
Danny
| <!-- Global site tag (gtag.js) - Google Ads: xxxxxxxxx --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-xxxxxxxxx"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-xxxxxxxxx'); gtag('config', 'DC-xxxxxxx'); </script> |