adds goat counter
This commit is contained in:
parent
0c6212faad
commit
59de19b63c
1 changed files with 10 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue