add tracking code to pages directly

This commit is contained in:
2024-04-08 16:25:40 +02:00
parent e29d8ef345
commit 6d74a04188
21 changed files with 405 additions and 99 deletions

View File

@@ -12,6 +12,23 @@
<meta name="description" content="Scanning QR-Codes can be quite scary, if you don't know what link or data is inside of it. This is why QR & Barcode insight shows you the entire content of the QR-Code unfiltered">
<script defer src="https://static.janishutz.com/libs/jquery/jquery.min.js"></script>
<script defer src="/js/loader.js"></script>
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDoNotTrack", true]);
_paq.push(["disableCookies"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//analytics.janishutz.com/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '2']);
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>