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.

fixed event_uuid logic

Francis Caoe522293130c8
diff --git a/pages/api/collect.js b/pages/api/collect.js
index 5bbc11ef6..5e73353e1 100644
--- a/pages/api/collect.js
+++ b/pages/api/collect.js
@@ -72,7 +72,7 @@ export default async (req, res) => {
url = removeTrailingSlash(url);
}
- const event_uuid = uuid(website_id, url, session_uuid, event_name);
+ const event_uuid = uuid();
if (type === 'pageview') {
await savePageView(website_id, { session_id, session_uuid, url, referrer });