📈 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
disabled data collection for selfhosted instances
Blue Mouse96e0ec88109e
diff --git a/src/index.js b/src/index.jsindex e32b4f080..9eb96b31f 100644--- a/src/index.js+++ b/src/index.js@@ -11,6 +11,7 @@ import { Integrations } from '@sentry/tracing'import 'billboard.js/dist/billboard.min.css'import 'prismjs/themes/prism-tomorrow.css'+import { isSelfhosted } from 'redux/constants'import AlertTemplate from 'ui/Alert'import App from './App'import i18next from './i18next'@@ -20,7 +21,9 @@ const SWETRIX_PID = 'STEzHcB1rALV'console.log('%cWelcome, hacker, glad you opened your console, you seem serious about your craft and will go a long way!\nP.S. All the bugs, feature requests can be sent to [email protected]', 'color: #818cf8;background: #1f2937;font-size: 20px;text-shadow: 2px 2px black')-Swetrix.init(SWETRIX_PID)+Swetrix.init(SWETRIX_PID, {+ disabled: isSelfhosted,+})Swetrix.trackViews({ignore: [/^\/projects/i, /^\/verify/i],heartbeatOnBackground: true,