Timeline for GTM "_event" variable undefined, failing to fire custom event triggers
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 26 at 21:40 | comment | added | Will Tucker | That's a great idea, thank you. Ultimately it seems most GTM variables were not on the whitelist for this specific tool, so I asked them to whitelist Custom Event. Hopefully that was the issue. I really appreciate your help though. | |
Jun 26 at 17:48 | comment | added | BNazaruk | If Simo's right, it's the preview problem and the tag still fires. Replace the tag with something like <script>console.log("@@@ Debugging: test-event fired the tag!")</script> Then open preview, fire the event, then check the console for your log or check the DOM for your script. | |
Jun 26 at 17:28 | comment | added | Will Tucker | Thanks for your response. Confirmed that it's the correct container, environment, and workspace. Unsure about task_event firing before Container Loaded - I actually haven't been able to replicate this since. Gtag shouldn't be installed. Just to clarify, preview is returning an undefined event, not a different event. Can you tell me more about how I would use console logs to troubleshoot? This container is installed on a third party tool that I don't have access to, so I might just have to ask them to check their implementation. | |
Jun 25 at 15:44 | history | edited | BNazaruk | CC BY-SA 4.0 |
added 335 characters in body
|
Jun 25 at 15:36 | history | answered | BNazaruk | CC BY-SA 4.0 |