adds goat counter

This commit is contained in:
koehr 2020-05-27 13:19:37 +02:00
parent 0c6212faad
commit 59de19b63c

View file

@ -20,5 +20,15 @@
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<script>
window.goatcounter = {no_onload: true}
window.addEventListener('hashchange', function(e) {
window.goatcounter.count({
path: location.pathname + location.search + location.hash
})
})
</script>
<script data-goatcounter="https://rpg-cards-ng.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
</body>
</html>