mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 15:17:23 +01:00
Reverted tracker to old behaviour while still keeping more advanced use case
This commit is contained in:
parent
348ee22e18
commit
09235ddacf
3 changed files with 22 additions and 17 deletions
|
|
@ -33,7 +33,11 @@
|
|||
otherScript.parentNode.insertBefore(scriptElement, otherScript);
|
||||
};
|
||||
|
||||
umami.load('${document.location.origin}/umami.js', '${values.website_uuid}', false);
|
||||
umami.load('[HOST]/umami.js', '[UMAMI_UUID]', false);
|
||||
}
|
||||
}
|
||||
})(window);
|
||||
})(window);
|
||||
// This snippet is for more advanced use case of Umami. If you want to track custom events,
|
||||
// and not worry about having blocking script in the header,
|
||||
// use this snippet (compiled version available in /public/snippet.js).
|
||||
// Just remember to replace [HOST] and [UMAMI_UUID] when pasting it.
|
||||
Loading…
Add table
Add a link
Reference in a new issue