Move tracking for goatcounter to sidebar and separate twig
This commit is contained in:
parent
adef9a8604
commit
fd8a062527
@ -0,0 +1,9 @@
|
||||
<div id="goatcounter-analytics">
|
||||
<script>
|
||||
window.goatcounter = {
|
||||
path: function(p) { return location.host + p }
|
||||
}
|
||||
</script>
|
||||
<script data-goatcounter="https://exu.goatcounter.com/count"
|
||||
async src="//gc.zgo.at/count.js"></script>
|
||||
</div>
|
@ -3,12 +3,4 @@
|
||||
<p>
|
||||
{{ page.content|raw }}
|
||||
</p>
|
||||
|
||||
<script>
|
||||
window.goatcounter = {
|
||||
path: function(p) { return location.host + p }
|
||||
}
|
||||
</script>
|
||||
<script data-goatcounter="https://exu.goatcounter.com/count"
|
||||
async src="//gc.zgo.at/count.js"></script>
|
||||
</div>
|
||||
|
@ -66,3 +66,5 @@
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include 'partials/goatcounter.html.twig' %}
|
||||
|
Loading…
Reference in New Issue
Block a user