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>
|
<p>
|
||||||
{{ page.content|raw }}
|
{{ page.content|raw }}
|
||||||
</p>
|
</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>
|
</div>
|
||||||
|
@ -66,3 +66,5 @@
|
|||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% include 'partials/goatcounter.html.twig' %}
|
||||||
|
Loading…
Reference in New Issue
Block a user