mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Fixed tracker.
This commit is contained in:
parent
7de52d61e9
commit
801200c0bf
1 changed files with 2 additions and 2 deletions
|
|
@ -6,9 +6,9 @@
|
|||
document,
|
||||
history,
|
||||
} = window;
|
||||
const localStorage = location.href.startsWith('data:') ? undefined : window.localStorage
|
||||
const { hostname, href } = location;
|
||||
const { currentScript, referrer } = document;
|
||||
const localStorage = href.startsWith('data:') ? undefined : window.localStorage;
|
||||
|
||||
if (!currentScript) return;
|
||||
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
|
||||
const getPayload = () => ({
|
||||
website,
|
||||
hostname || 'none',
|
||||
hostname,
|
||||
screen,
|
||||
language,
|
||||
title: encode(title),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue