How to disable error logging in LeadIn?


#1

LeadIn integration script https://js.leadin.com/js/v1/xxx.js setups its global error handling by overriding window.onerror.
This breaks other client-side error reporting tools like Sentry, Bugsnag, Rollbar, etc.

Is there a way to disable error reporting in LeadIn?


#2

@events-api-user we actually released a new version of the Leadin tracking code today, and the new version doesn’t use onerror. You won’t need to change the embed code you’re already using to get the updated JavaScript, so this shouldn’t be anymore, but if you’re still seeing any issues please let me know.


#3

v2 script is using window.onerror again now.


#4

Any update on this? How do I use the version that doesn’t overwrite window.onerror?