Fix prefixing
All checks were successful
Deploy ewpratten.com / Deploy to Production (push) Successful in 1m10s
All checks were successful
Deploy ewpratten.com / Deploy to Production (push) Successful in 1m10s
This commit is contained in:
parent
c7a713d85a
commit
cb1361496a
@ -1,7 +1,7 @@
|
|||||||
<script>
|
<script>
|
||||||
let query_params = new URLSearchParams(window.location.search);
|
let query_params = new URLSearchParams(window.location.search);
|
||||||
if (query_params.has("cr")) {
|
if (query_params.has("cr")) {
|
||||||
window.goatcounter = { referrer: `Custom: ${query_params.get("cr")}` };
|
window.goatcounter = { referrer: `custom-${query_params.get("cr")}` };
|
||||||
history.replaceState({}, document.title, window.location.pathname);
|
history.replaceState({}, document.title, window.location.pathname);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user