javascript - Running into "Script Error" while trying to track unhandled errors with Google Tag Manager -
i trying set google tag manager team manage errors occur on our app, i'm running trouble in relation well-known feature of browsers obfuscate error information security reasons.
if browser has loaded scripts different domains, browsers overwrite error information such generic "script error" error message , no information such line number etc might make error's provenance clear. (see here , here accounts of problem).
what means unhandled error occurs in system try pipe google tag manager precious little information.
at moment, problem seems unsolvable because understand browser obfuscate errors if 1 script loaded different domain (which makes sense security point of view). since 1 of scripts load different domain google tag manager itself, , not great idea try host code yourself, hard prevent browser obfuscating errors. i'm stumped now.
has here found way around problem? think 1 option proprietary tools sentry or tracker, i'm looking diy solution, if there one...
Comments
Post a Comment