Hello,
I ran into a problem while implementing the GDPR.
I want to place the code to ask for consent of the visitor, but when copieng the code and placing it in the tracking code of the the Matomo Plugin, the text appears above the website like when debugging is on. Instead I want to have the field below the website where cookies are as well
now I copy the Code from Step 1"// require user consent before processing data
_paq.push([ârequireConsentâ]);
_paq.push([âtrackPageviewâ]);
[âŠ]
"
than I open my website and open the page of the matomo plugin
change the code to manual entry5. place the code from 2 above the word Matomo
Now I would like the box to appear as in the photo!
You need to paste _paq.push([ârequireConsentâ]); into the existing tracking code before the existing trackPageview line.
But the new consent feature doesnât work as youâd expect. You need to build the banner and the interaction yourself, the Matomo consent feature just handles the storage of the consent and the not-tracking before the consent has been given.
Sounds like a good idea. I have to handle a bug report I got yesterday, so I can also have a look at this. If somebody can provide a sample code for the banner itself, this would be very helpful.
Btw. is to ask for consent mandatory? Afaik it is sufficient to offer the tracking opt-out and to enable IP anonymization?
In my Piwik/Matomo setup I anonymize the last 2 octects of the IP address, obey DoNotTrack, donât use web logs and offer opt-out in a dedicated dataprotection page. As I understand, I donât need consent. But in Italy we are waiting the transition law integrating GDPR with the previous privacy law, the cookie law etcetera, so having an integrated way of providing information and recording consent is going to be handy.
I use an app which makes my Shopify GDPR compliance easy and it requires no coding and enables you to configure your consent message in multiple languages. Is there any similar Plugin for WordPress?