feat: Add selfhosted tracking
All checks were successful
Build Docker / Build Image (push) Successful in 36s

This commit is contained in:
2023-12-13 12:19:59 +11:00
parent 2e463c626d
commit e6708dceaa
10 changed files with 160 additions and 0 deletions

View File

@@ -44,6 +44,22 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
<link rel="stylesheet" href="/assets/css/GridSystem-1.min.css">
<link rel="stylesheet" href="/assets/css/profile.min.css">
<link rel="me" href="https://mastodon.woodburn.au/@nathanwoodburn" />
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//analytics.woodburn.au/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
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>
<!-- End Matomo Code -->
</head>
<body style="background: url(&quot;/assets/img/links-bg.webp&quot;) center / cover no-repeat, #000000;">