📈 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 'Minified React error'
Blue Mouse63d19c7c34ee
diff --git a/app/utils/analytics.ts b/app/utils/analytics.tsindex 27b63e262..112f27c85 100644--- a/app/utils/analytics.ts+++ b/app/utils/analytics.ts@@ -1,4 +1,5 @@import * as Swetrix from 'swetrix'+import _includes from 'lodash/includes'import { isDevelopment, isSelfhosted } from 'redux/constants'const SWETRIX_PID = 'STEzHcB1rALV'@@ -109,7 +110,15 @@ const trackViews = () => {const trackErrors = () => {if (!isSelfhosted) {- Swetrix.trackErrors()+ Swetrix.trackErrors({+ callback: ({ message }) => {+ if (_includes(message, 'Minified React error')) {+ return false+ }++ return true+ },+ })}}