Hopefully fix syntax
This commit is contained in:
parent
f864703a7b
commit
9a596e455c
@ -2,7 +2,7 @@
|
|||||||
<script>
|
<script>
|
||||||
window.goatcounter = {
|
window.goatcounter = {
|
||||||
// prepend the url to the path
|
// 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
|
// normalize referrer to just the URL
|
||||||
referrer: function(r) { new URL(document.referrer).origin }
|
referrer: function(r) { new URL(document.referrer).origin }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user