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
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.
It would be useful if the WP-Piwik wordpress plugin by André Bräkling could provide the banner, in the same way as the opt-out iframe. Is André in the forum?
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?