• Resolved detpolito

    (@detpolito)


    Dear Support,
    I am managing GDPR consent in my website through your free plugin, and I am integrating it with Matomo plugin (I mean, users are tracked by Matomo only after giving consent via Complianz plugin). Aside the “Accept all” option, which is working fine (Matomo cookies are set only when clicking on “Accept all”), I see that, going into “View preferences”, it is necessary to accept Marketing cookies to have Matomo tracking cookies set, whereas accepting or not Statistics cookies does not seem to make any difference. Is this the behavior by design, or can I configure the plugin no to use the cmplz_marketing cookie (we are only tracking users for analytics and not doing any marketing) ?
    Thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @detpolito,

    Could you share your URL, this way we can have a better look at the configuration.

    regards Aert

    Thread Starter detpolito

    (@detpolito)

    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @detpolito,

    I see there’s part of the code that is configured under the marketing category. Did you add some code to the script center?

    regards Aert

    • This reply was modified 4 years, 5 months ago by Aert Hulsebos.
    Thread Starter detpolito

    (@detpolito)

    Yes,
    I pasted in the async script section the code provided by Matomo for setting the tracking cookies (I was not able to use the wizard to integrate Complianz and Matomo):

    var _paq = window._paq = window._paq || [];
    
    _paq.push(['setVisitorCookieTimeout', 2592000]);
    
    _paq.push(['setSessionCookieTimeout', 1800]);
    
    _paq.push(['setReferralCookieTimeout', 15778463]);
    
    _paq.push(['enableHeartBeatTimer', 15]);
    _paq.push(['trackPageView']);
    _paq.push(['enableLinkTracking']);
    _paq.push(['alwaysUseSendBeacon']);
    _paq.push(['setTrackerUrl', "\/\/www.pimcity-h2020.eu\/app\/plugins\/matomo\/app\/matomo.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.src="\/\/www.pimcity-h2020.eu\/app\/uploads\/matomo\/matomo.js";
     s.parentNode.insertBefore(g,s);
    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @detpolito

    There a standard integration with the wizard. I assume you are adding to the javascript?

    In that case you can follow this article; https://complianz.io/configuring-matomo-for-wordpress-with-complianz/

    regards Aert

    Thread Starter detpolito

    (@detpolito)

    I have removed the javascript in the Complianz Script Center and have followed the method 3 as per your link (as a side note, I’ve had to adapt the configuration to my website, which uses Bedrock and is served via https, the installation URL is therefore https://www.pimcity-h2020.eu/app/plugins/matomo/app/): now Matomo tracking cookies (_pk_ses and _pk_id) are set even if the consent is not given… is there something I’m still missing (in Matomo plugin, tracking is still set on Disabled)?
    Thanks

    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @detpolito,

    If you anonymize IP addresses (Selectable in the wizard), depending on your region, and further configuration it might be set before consent as is allowed by GDPR.

    regards Aert

    Thread Starter detpolito

    (@detpolito)

    IPs are anonymized in Complianz wizard, and Complianz is set to configure my statistics, but still Matomo tracking cookies are set before obtaining user consent… any ideas ?

    Plugin Contributor Mathieu Paapst

    (@paapst)

    Hi @detpolito

    As can be seen in cookiedatabase, the two Matomo cookies mentioned by you are not marketing/tracking cookies, but are actually classified as Statistics Anonymous. This means that under certain circumstances these cookies are allowed by the e-Privacy Directive and the GDPR to be set before obtaining user consent. This point of view is supported by several local implementations of the current cookie law (the ePrivacy Directive). It is also mentioned in the recent draft of the new e-Privacy Regulation, and the latest guidelines of CNIL, the French Data Protection Authority.

    Thread Starter detpolito

    (@detpolito)

    Our lawyers advice to ask for user consent anyway, allowing the site visitors to clearly understand which cookies are functional and which are useful for statistics: still, Matomo cookies are set before obtaining user consent, which is not acceptable for us; we would like to have two categories (Functional and Statistics), and to have Matomo cookies (_pk_id and _pk_ses) set only after accepting all cookies or accepting Statistics cookies. Is this at all feasible with Complianz plugin ?
    Thanks

    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @detpolito,

    Yes, you can change your answer under statistics to “Yes, and the personal data is available to us”.

    You can use the script center to add the Matomo code, or add it outside of Complianz, but add/change this in the script:

    type=”text/javascript” = type=”text/plain”
    + class=”cmplz-stats”

    regards Aert

    Plugin Contributor Leon Wimmenhoeve

    (@leonwimmenhoeve)

    @detpolito did this solve your question or is there anything else we can help you with?

    Kind regards,
    Leon

    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Please start a new thread if another question arises, regards Aert Hulsebos

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Matomo integration – Marketing cookie’ is closed to new replies.