0 Deactivate Probable Google Analytics Tracking Code in Menu(1st Opt.)/Projektkonfiguration/Remove the field "Google™ Analytics (nur die ID, z.B. UA-123456-7)"
1 Locate the includes.global.php configuration file in
/company-name-wGlobal/wGlobal/layout/templates/misc/includes.global.php
or in /wGlobal/layout/templates/misc/includes.global.php
2 Make a backup of the includes.global.php file
3 Edit and Insert the following code inside an <xsl> tag or before a <meta> tag
<!-- Matomo -->
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//matomo.fritsche-gmbh.de/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
4 Save changes
5 Tools/Projekt Bereinigen/Projekt Cache Löschen