@ngrmm
Thanks for your super fast reply.
My code looks like this now and is placed just before </body>
<script type="text/javascript" data-type="text/javascript" data-category="statistics" class="require-consent">/* PrivcyWire */
/* <script type="text/javascript"> */
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://www.URL.ch/piwik/";
_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.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
General Settings in PrivacyWire are only including the default "All Cookies" and "Necessary Cookies" and Piwik is still tracking after empty cache and click on "Necessary Cookies". Is data-category="statistics" included in "necessary"? I also tried data-category="necessary" but still tracking ... any idea? Website is this one