• Hi Daan

    I recently installed CAOS free. We use the Complianz plugin to get consent for statistics collection, which sets a functional cookie ‘cmplz_statistics’ to ‘allow’ if consent is given.

    In CAOS, if I select the default Asynchronous code and allow tracking when that cookie has that value, all works as expected. I can see the local renamed gtag.js script being loaded or not in Chrome Developer tools.

    But if I select Minimal Analytics 4, it appears that the cookie condition is ignored and data is still sent to GA when the cookie is not set to ‘allow’, which obviously breaks GDPR rules.

    MA4 appears to load two inline scripts into the <head> of the page rather than loading a .js file, regardless of the cookie setting. Is this the expected behaviour? And how can I make sure no data is sent to GA with MA4 if consent is refused or not yet given?

    (I have disabled all caching and am testing in an Incognito window).

    Kind regards

    Julian

    • This topic was modified 11 months, 1 week ago by JulianR.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Hi Julian,

    But if I select Minimal Analytics 4, it appears that the cookie condition is ignored and data is still sent to GA when the cookie is not set to ‘allow’, which obviously breaks GDPR rules.

    It’s not exactly a bug, as Google Analytics’ Consent Mode framework is used to detect whether tracking is allowed, which isn’t supported by Minimal Analytics. But I’ll see if there’s something I can do about this, I’m currently on a holiday break, so I’ll circle back to this early January.

    MA4 appears to load two inline scripts into the of the page rather than loading a .js file, regardless of the cookie setting. Is this the expected behaviour?

    Yes, this is how it’s supposed to work. It’s a tiny (~2KB) JS script, so loading it inline is much faster, than loading it in an external file.

    Thread Starter JulianR

    (@julianrush)

    Hi Daan

    Thanks for your swift response. Have a great break and best wishes for the New Year.

    Julian

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Minimal Analytics 4 and Complianz’ is closed to new replies.