Hi,
I'm using Osclass 8.01 and Matomo has an alternative to Google Analytics, and Mautic
I've setup the Piwiki Plugin however when I try to save the script in the plugin configuration box it reverts back to empty.
Here's what I'm pasting in the piwiki plugin configuration box.
<!-- 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="
https://www.mydomain.com/matomo/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '03lpIsq8Gp9JlgY']);
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 -->
Is there something I'm doing wrong, is it a bug ?
I have found a workaround by pasting this same code in the Appearance/Customization/Your HTML code box, and it fortunately works.