Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: send referrer on trackView

thecodrrd3f1ab236e88
diff --git a/apps/web/src/utils/analytics.ts b/apps/web/src/utils/analytics.ts
index aac4d027d..da03d814e 100644
--- a/apps/web/src/utils/analytics.ts
+++ b/apps/web/src/utils/analytics.ts
@@ -92,7 +92,7 @@ export function trackVisit(url: string = "/") {
const platform = getPlatform();
if (!window.umami || !platform) return;
- window.umami.trackView(url);
+ window.umami.trackView(url, window.document.referrer);
if (url === "/")
trackEvent(
ANALYTICS_EVENTS.version,