📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Ignore 3rd party extension errors
Blue Mousefbd8461e8301
diff --git a/web/app/utils/analytics.ts b/web/app/utils/analytics.tsindex cd171f92e..712a9aac3 100644--- a/web/app/utils/analytics.ts+++ b/web/app/utils/analytics.ts@@ -155,11 +155,19 @@ export const trackErrors = () => {}Swetrix.trackErrors({- callback: ({ message, pg }) => {+ callback: ({ message, pg, filename }) => {if (_includes(message, 'Minified React error')) {return false}+ // 3rd party extension errors+ if (+ _includes(filename, 'chrome-extension://') ||+ _includes(filename, 'moz-extension://')+ ) {+ return false+ }+return {pg: getNewPath(pg),}