Skip to content

📈 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!

added CAPTCHA pages to 'ignore'

Blue Mouse2f8464ed5fc1
diff --git a/src/utils/analytics.ts b/src/utils/analytics.ts
index 37e684621..d37267127 100644
--- a/src/utils/analytics.ts
+++ b/src/utils/analytics.ts
@@ -8,7 +8,7 @@ Swetrix.init(SWETRIX_PID)
const trackViews = () => {
if (!isSelfhosted) {
Swetrix.trackViews({
- ignore: [/^\/projects/i, /^\/verify/i, /^\/password-reset/i, /^\/change-email/i, /^\/share/i],
+ ignore: [/^\/projects/i, /^\/verify/i, /^\/password-reset/i, /^\/change-email/i, /^\/share/i, /^\/captchas/i],
heartbeatOnBackground: true,
})
}