wiki-grav/themes/learn2-dark/templates/partials/goatcounter.html.twig

13 lines
452 B
Twig

<div id="goatcounter-analytics">
<script>
window.goatcounter = {
// prepend the url to the path
path: function(p) { return location.host + p }
// normalize referrer to just the URL
referrer: function(r) { new URL(document.referrer).origin }
}
</script>
<script data-goatcounter="https://exu.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
</div>