I am struggling to get the GTM JS error trigger to fire for uncaught exceptions in my Angular application.
I have followed a guide here https://www.simoahava.com/gtm-tips/track-javascript-errors-events/ and have set up the trigger and tag exactly as they mention.
I am throwing an uncaught exception to try and test this out, hoping to see the error event appear in the realtime view in my GA console.
I am not seeing anything being pushed into the dataLayer when the error is thrown
I have other tags\triggers, such as a custom pageview event which is firing perfectly fine and flowing through to GA with no problem.
Can anyone suggest what I could be doing wrong here please?
from Google Tag Manager JS Error Trigger not working with Angular App



No comments:
Post a Comment