Hopefully fix syntax

This commit is contained in:
RealStickman 2023-03-12 15:18:53 +01:00
parent f864703a7b
commit 9a596e455c

View File

@ -2,7 +2,7 @@
<script>
window.goatcounter = {
// prepend the url to the path
path: function(p) { return location.host + p }
path: function(p) { return location.host + p },
// normalize referrer to just the URL
referrer: function(r) { new URL(document.referrer).origin }
}