Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

remove getPath from initial referrer

Francis Cao58197116dda3
diff --git a/tracker/index.js b/tracker/index.js
index 58136129f..c18c87546 100644
--- a/tracker/index.js
+++ b/tracker/index.js
@@ -173,7 +173,7 @@
}
let currentUrl = `${pathname}${search}`;
- let currentRef = getPath(document.referrer);
+ let currentRef = document.referrer;
let title = document.title;
let cache;
let initialized;