Added matomo analytics using mtm.xw3.org.

This commit is contained in:
Johannes Findeisen 2024-03-12 01:42:22 +01:00
commit 5f2478f266
6 changed files with 17 additions and 0 deletions

View file

@ -3,6 +3,7 @@
<title>unixpeople.org</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="unixpeople36x36.png">
<script src="/js/matomo.min.js" charset="utf-8"></script>
<style type="text/css">
html {
width: 100%;

1
js/cookieconsent.min.js vendored Normal file

File diff suppressed because one or more lines are too long

2
js/jquery-3.6.4.min.js vendored Normal file

File diff suppressed because one or more lines are too long

2
js/jquery-3.7.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

10
js/matomo.js Normal file
View file

@ -0,0 +1,10 @@
var _paq = window._paq = window._paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://mtm.xw3.org/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '8']);
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);
})();

1
js/matomo.min.js vendored Normal file
View file

@ -0,0 +1 @@
var _paq=window._paq=window._paq||[];_paq.push(["trackPageView"]),_paq.push(["enableLinkTracking"]),function(){var e="https://mtm.xw3.org/";_paq.push(["setTrackerUrl",e+"matomo.php"]),_paq.push(["setSiteId","8"]);var a=document,t=a.createElement("script"),p=a.getElementsByTagName("script")[0];t.async=!0,t.src=e+"matomo.js",p.parentNode.insertBefore(t,p)}();