You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Avoid tracking exceptions coming from third party iframes? #1161
I've add adsense ads on my web and I'm getting a lots of exceptions from adsense script itself and, I think, even from within the ads. Is there a broad way of avoiding tracki exceptions coming from inside iframes?
I too am having the issue with ads. I don't see how beforeBreadcrumb would keep errors from iframes from being logged. Wouldn't that just keep a specific entry in the breadcrumb from being logged?
Activity
kamilogorek commentedon Dec 4, 2017
Yes, please refer to https://docs.sentry.io/clients/javascript/config/
whitelistUrls,ignoreErrors,ignoreUrlsoptions.meotimdihia commentedon Nov 2, 2023
Hi, it doesn't work for me.
I am using
allowUrlskamilogorek commentedon Nov 2, 2023
You are asking about breadcrumbs. To filter them you need to use https://docs.sentry.io/platforms/javascript/configuration/options/#before-breadcrumb instead
meotimdihia commentedon Nov 3, 2023
@kamilogorek thanks for the reply. Then can't we know surely the error belongs to the third-party scripts?
mattkolb commentedon Feb 11, 2025
I too am having the issue with ads. I don't see how beforeBreadcrumb would keep errors from iframes from being logged. Wouldn't that just keep a specific entry in the breadcrumb from being logged?
coluccini commentedon Feb 11, 2025
@mattkolb check first @kamilogorek reply. For me
whitelistUrlsdid the trickfix(deps): bump undici 6.23.0 to 6.24.1 to fix multiple CVEs
fix(deps): bump undici 6.23.0 to 6.24.1 to fix multiple CVEs (#19841)