Thursday, 17 September 2020

Google Tag Manager JS Error Trigger not working with Angular App

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

enter image description here

I have other tags\triggers, such as a custom pageview event which is firing perfectly fine and flowing through to GA with no problem.

Tag Setup enter image description here

Trigger Setup enter image description here

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