1

Fix prefixing
All checks were successful
Deploy ewpratten.com / Deploy to Production (push) Successful in 1m10s

This commit is contained in:
Evan Pratten 2024-12-26 16:33:46 -05:00
parent c7a713d85a
commit cb1361496a

View File

@ -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>