Session value not storing & GDPR compliance

Issue #10 resolved
Noah Reinert Sturis created an issue

Hi,

Loving the plugin, simple and works almost perfectly, however I have a couple of issues:

When I press "Deny cookies", no value is set in local storage and the site reloads with the cookie-bar active again.

Also, the CONCRETE5 cookie is set regardless, and any cookies not set by concrete5 don't get cleared (say cookies from YouTube) when consent is denied. I assume this is expected behaviour, but I'm wondering due to GDPR compliance, that if the consent doesn't count for everything, then that might be a violation?

If it is the case, do you have any recommendations as to how best to extend the plugin to comply with GDPR?

Thanks for any help you can offer!

Kind regards, Noah

Comments (4)

  1. Noah Reinert Sturis reporter

    Figured out that the CONCRETE5 cookie is a session cookie, so never mind on that regard. But still wondering about the rest

  2. Fabian Bitter repo owner

    Hey Noah,

    the opt-out-state will be now saved within a "essential" cookie. This is fixed in the latest version (v. 1.0.1.0).

    The add-on will handle the tracking codes section of concrete5 (GDPR compliant).

    For all cookies setted by custom application you have to request the opt-it permission in your code by the following method: \Concrete\Package\EuCookieLaw\Src\CookieDisclosure::getInstance()->areCookiesAllowed()

    CONCRETE5 cookie will be setted on every page load. There is no chance to clear/deny it.

    Hope i could help you!

    Fabian

  3. Noah Reinert Sturis reporter

    Hey Fabian,

    Thanks a lot, this is very helpful!

    Also, I'm running Liberta, which is concrete5's multi-site modification made by PortlandLabs - and that makes Single Pages behave differently as there are multiple sites. I've modified the top controller.php in the addPageIfNotExists function on line 116:

    $singlePage = SinglePage::addGlobal($path, $pkg);
    

    To add the Single Page globally. It's not likely that any others will run into this issue, as we are a small handful that use Liberta so far, but I thought you'd like to know :)

    Best, Noah

  4. Log in to comment