Website Analytics
CrazyMarvin opened this issue · 0 comments
CrazyMarvin commented
Maybe something like Fathom and Matomo 🤔
<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->
<script>
(function(f, a, t, h, o, m){
a[h]=a[h]||function(){
(a[h].q=a[h].q||[]).push(arguments)
};
o=f.createElement('script'),
m=f.getElementsByTagName('script')[0];
o.async=1; o.src=t; o.id='fathom-script';
m.parentNode.insertBefore(o,m)
})(document, window, '//www.analytics.party/tracker.js', 'fathom');
fathom('set', 'siteId', 'HGCIM');
fathom('trackPageview');
</script>
<!-- / Fathom -->
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(["setCookieDomain", "*.sneak.page"]);
_paq.push(["setDomains", ["*.sneak.page"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://poopjournal.rocks/piwik/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '32']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="https://poopjournal.rocks/piwik/matomo.php?idsite=32&rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code -->