Title: Allow filtering errors from host-environment SDKs · Issue #15321 · getsentry/sentry-javascript · GitHub
Open Graph Title: Allow filtering errors from host-environment SDKs · Issue #15321 · getsentry/sentry-javascript
X Title: Allow filtering errors from host-environment SDKs · Issue #15321 · getsentry/sentry-javascript
Description: Problem Statement Our site frequently gets embedded into other peoples apps (Facebook, TikTok, Afterpay, Klarna, etc) via them doing their own "in-app browser" type thing. This means our code is running in whatever javascript environment...
Open Graph Description: Problem Statement Our site frequently gets embedded into other peoples apps (Facebook, TikTok, Afterpay, Klarna, etc) via them doing their own "in-app browser" type thing. This means our code is ru...
X Description: Problem Statement Our site frequently gets embedded into other peoples apps (Facebook, TikTok, Afterpay, Klarna, etc) via them doing their own "in-app browser" type thing. This means our ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/15321
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow filtering errors from host-environment SDKs","articleBody":"### Problem Statement\n\nOur site frequently gets embedded into other peoples apps (Facebook, TikTok, Afterpay, Klarna, etc) via them doing their own \"in-app browser\" type thing. This means our code is running in whatever javascript environment they have set, and we have little control of some of the code that gets injected into the page, same as a browser extension does.\n\nUnlike a browser extension, these aren't filtered out by Sentry's wonderful issue filters and just fill our javascript issue tracking with unsolvable noise.\n\nFor example:\n\n\n\n\n\n\n\nThese are almost certainly coming from https://www.fillr.com/ which is embedded into the Afterpay mobile app, per the user agent: `Mozilla/5.0 (Linux; Android 14; SM-S918B Build/UP1A.231005.007; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/132.0.6834.122 Mobile Safari/537.36 AfterpayMobile/5520`\n\n### Solution Brainstorm\n\nSimilar to \"filter issues from known extensions\", add a \"filter issues from known embedders\" feature which uses that magic ( i assume you look for extension IDs in backtraces? ) but does some other magic for this use case instead. Not really idea what that magic would be sorry, real PITA.\n\n### Product Area\n\nIngestion and Filtering","author":{"url":"https://github.com/bagedevimo","@type":"Person","name":"bagedevimo"},"datePublished":"2025-02-03T21:16:20Z","url":"https://github.com/getsentry/sentry-javascript/issues/15321"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7ad885b9-c791-62d2-66d9-35d1c8909de5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC9A:362179:1C6946:27F92C:6B040633 |
| html-safe-nonce | ef159f96ef78e6983dea373adcecdf01f72434c1f5a5712c6fee0423d1e38613 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzlBOjM2MjE3OToxQzY5NDY6MjdGOTJDOjZCMDQwNjMzIiwidmlzaXRvcl9pZCI6IjU3NTgzNDMxNjQ3MDQ1ODkzNjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ad90780f5a38c7db0e2d3859ce733455387edad2cee559522b6c9529393c9242 |
| hovercard-subject-tag | issue:2834856079 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/15321/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c2839b897a2e498381107d3f50be6765da47e119f44de361c1b79a92ccda3ae/getsentry/sentry-javascript/issues/15321 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c2839b897a2e498381107d3f50be6765da47e119f44de361c1b79a92ccda3ae/getsentry/sentry-javascript/issues/15321 |
| og:image:alt | Problem Statement Our site frequently gets embedded into other peoples apps (Facebook, TikTok, Afterpay, Klarna, etc) via them doing their own "in-app browser" type thing. This means our code is ru... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bagedevimo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width