Add matomo tracking

This commit is contained in:
Dominic Grimm 2023-03-05 19:16:45 +01:00
parent 1094b61323
commit f650b8c987
No known key found for this signature in database
GPG Key ID: 6F294212DEAAC530
1 changed files with 22 additions and 2 deletions

View File

@ -5,13 +5,33 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link data-trunk rel="css" href="assets/css/bulma.css" />
<link data-trunk rel="css" href="assets/css/styles.css" />
<script
src="https://kit.fontawesome.com/7efbac0aa5.js"
crossorigin="anonymous"
></script>
<link data-trunk rel="css" href="assets/css/bulma.css" />
<link data-trunk rel="css" href="assets/css/styles.css" />
<!-- 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 = "//matomo.dergrimm.net/";
_paq.push(["setTrackerUrl", u + "matomo.php"]);
_paq.push(["setSiteId", "7"]);
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>