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!

removed unnecessary debug message

Blue Mouse821b45ae739a
diff --git a/src/Lib.ts b/src/Lib.ts
index 233122413..ec311de03 100644
--- a/src/Lib.ts
+++ b/src/Lib.ts
@@ -129,7 +129,7 @@ export class Lib {
private debug(message: string) {
if (this.options?.debug) {
- console.log('[Analytics] ', message)
+ console.log('[Analytics]', message)
}
}
@@ -145,7 +145,6 @@ export class Lib {
}
if (!this.options?.debug && isLocalhost()) {
- this.debug('Tracking disabled: running on localhost.')
return false
}