out with GA, in with goatcounter

This commit is contained in:
infominer 2020-05-24 09:57:29 -04:00
parent e2ac85f23a
commit b0f7e0f3dd
3 changed files with 8 additions and 18 deletions

View File

@ -92,9 +92,9 @@ social:
# Analytics
analytics:
provider : google # false (default), "google", "google-universal", "custom"
provider : custom # false (default), "google", "google-universal", ""
google:
tracking_id : UA-132558656-3
tracking_id : #UA-132558656-3
anonymize_ip : true
# Site Author

View File

@ -1,3 +1,9 @@
<!-- start custom analytics snippet -->
<script data-goatcounter="https://didecentral.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
<!-- end custom analytics snippet -->

View File

@ -10,19 +10,3 @@
{% when "custom" %}
{% include /analytics-providers/custom.html %}
{% endcase %}
<!-- Ticksel v1.0 -->
<script type="text/javascript">
var _tcfg = _tcfg || [];
(function() {
_tcfg.push(["tags", ""]);
var u="https://cdn.ticksel.com/js/analytics_v1.0.js"; _tcfg.push(["account_id", 8091180]);
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0];
g.type="text/javascript"; g.async=true; g.src=u; g.setAttribute("crossorigin", "anonymous");
g.setAttribute("integrity", "sha256-7grd8jMivCG0iCcJ7m/Ny4gvWb0mPVpFhRQovLkaUl8=");
s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><img src="https://beacon.ticksel.com/beam?account_id=8091180&referrer=&tags=" style="border:0;" width="0" height="0" alt="" /></noscript>
<!-- End Ticksel Code -->
{% endif %}