File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,23 @@ if (!isset($config["languages"])) {
91
91
92
92
<?php if (isset ($ config ['meta_tags ' ])) { echo $ config ['meta_tags ' ]; } ?>
93
93
94
+ <!-- Matomo -->
95
+ <script>
96
+ var _paq = window._paq = window._paq || [];
97
+ /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
98
+ _paq.push(["setDoNotTrack", true]);
99
+ _paq.push(["disableCookies"]);
100
+ _paq.push(['trackPageView']);
101
+ _paq.push(['enableLinkTracking']);
102
+ (function() {
103
+ var u="//analytics.php.net/";
104
+ _paq.push(['setTrackerUrl', u+'matomo.php']);
105
+ _paq.push(['setSiteId', '1']);
106
+ var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
107
+ g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
108
+ })();
109
+ </script>
110
+ <!-- End Matomo Code -->
94
111
</head>
95
112
<body class="<?php echo $ curr ; ?> <?php echo $ classes ; ?> ">
96
113
You can’t perform that action at this time.
0 commit comments