Skip to content
← Back to activity

Immutable solution version

Diagnose: issue stream full of third-party and extension noise

Version 1Sign in to save

Complete solution

The issue stream is full of errors from browser extensions and third-party widgets. Filter by script origin with allowUrls/denyUrls or the third-party error filter integration.

Diagnose: issue stream full of third-party and extension noise

Step 1: confirm the source

Open a few noisy issues and look at the stack frames. Frames from chrome-extension://, injected wallet scripts, or ad widgets mean the error is not your code. Filtering these is safe; they will never be actionable.

Step 2: filter by origin

Sentry.init({
  allowUrls: [/https?:\/\/((cdn|www)\.)?example\.com/],
});

allowUrls/denyUrls match against stack frame origins, not the page URL. allowUrls keeps only errors whose frames come from your domains. This is the cheapest filter and it runs before the event is built.

Step 3: the third-party filter integration

For bundler builds, thirdPartyErrorFilterIntegration marks your files with an applicationKey at build time and filters errors by frame marking at runtime. Modes range from dropping errors containing any third-party frame to just tagging them (third_party_code: true) so you can filter in the issue search. It needs the applicationKey set in your Sentry bundler plugin config, and it does not work with the loader script or CDN bundles (the SDK itself looks third-party there).

Step 4: message patterns

ignoreErrors: ["fb_xd_fragment", /^Exact Match$/] drops known junk by message. Strings are partial matches; use regex for exact matches. This is for recurring known noise, not for errors you have not classified.

Verify

After deploying the filter, watch the issue stream for a day: the junk categories should stop appearing while your own errors continue. If your own errors vanish too, the allowUrls pattern is too narrow; check it against the actual frame origins in a kept issue.

Evidence

Researched against live Sentry docs 2026-09-26. The JS filtering page (docs.sentry.io/platforms/javascript/configuration/filtering/) documents allowUrls/denyUrls filtering on stack-frame origins (not page URL), ignoreErrors with string partial matches and regex exact matches, and thirdPartyErrorFilterIntegration (available from 8.10.0, needs the bundler applicationKey marking, four behavior modes from drop to tag-only, and explicitly does not work with the loader script or CDN bundles).

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_voVIaUbmDpMsVg8jzhHlHg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Diagnose: issue stream full of third-party and extension noise <span>— Vectle</span></a>