mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-01 12:29:35 +01:00
fix(tracker): Respect excludeSearch consistently
This commit is contained in:
parent
bd360207a6
commit
0225e63abc
@ -7,7 +7,7 @@
|
||||
document,
|
||||
history,
|
||||
} = window;
|
||||
const { hostname, pathname, search } = location;
|
||||
const { hostname, href } = location;
|
||||
const { currentScript, referrer } = document;
|
||||
|
||||
if (!currentScript) return;
|
||||
@ -244,7 +244,7 @@
|
||||
};
|
||||
}
|
||||
|
||||
let currentUrl = `${pathname}${search}`;
|
||||
let currentUrl = parseURL(href);
|
||||
let currentRef = referrer !== hostname ? referrer : '';
|
||||
let title = document.title;
|
||||
let cache;
|
||||
|
Loading…
Reference in New Issue
Block a user