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.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
fixup! Rename ref to prevent collision with react elements
Kevin Decherf5d799a327bbe
diff --git a/lib/filters.js b/lib/filters.jsindex 945a60114..fb6b435a0 100644--- a/lib/filters.js+++ b/lib/filters.js@@ -74,7 +74,7 @@ export const refFilter = (data, { domain, domainOnly, raw }) => {if (protocol.startsWith('http')) {const path = removeTrailingSlash(pathname);- const referrer = searchParams.get('ref');+ const referrer = searchParams.get('referrer');const query = referrer ? `?referrer=${referrer}` : '';return removeTrailingSlash(`${removeWWW(hostname)}${path}`) + query;