Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jesper Weber 54 posts 170 karma points c-trib
    Feb 02, 2021 @ 10:12
    Jesper Weber
    0

    Cookie regulations

    Hi,

    I have installed this packages for the first time and like the easy approach, but I have a question about the cookie regulations.

    The personalisation Groups plugin uses several cookies for caching and statistics, but what if the user has declined cookies on the site?

    Is it possible to disable the personalisation groups pr session, and what modules should be shown then, none of the modules with personalisation groups or?

    How are people handling this on other sites?

  • Andy Butland 422 posts 2334 karma points MVP 4x hq c-trib
    Feb 04, 2021 @ 17:52
    Andy Butland
    0

    Let me know if you think this should be something to handle in the package itself, and if so, if you have suggestions as to how. To be honest this was built before cookie regulation was such a hot-topic, and I probably should consider it a bit more.

    Was thinking perhaps if I added a check for a (configurable) cookie or a (configurable) session value existing with a non-null value, then if found, that would prevent writing any other cookies. Sounds sensible?

    And after that it would be up to the implementor to set one of those two things if their site visitor has declined non-essential cookies, and be aware that if they for example wanted to show some content based on a cookie based criteria (e.g. pages viewed, number of visits), these just wouldn't show up.

    Andy

  • Jesper Weber 54 posts 170 karma points c-trib
    Feb 05, 2021 @ 10:18
    Jesper Weber
    0

    Hi Andy,

    I think it could be a good solution with the cookie/session value. Then I as an implementer can set this based on the approved cookie categories the user has set.

    I my case I have a contact module and based on what region the user has selected I show one of five different contact modules using the cookie criteria.

    I case the user has declined cookies, I would like to show a default contact module instead of no contact module. Would it be possible to add a checkmark on either a Personalisation group or a criteria, where the editor can set the group/criteria as default in case the user has not accepted cookies? When a group/criteria is marked as default it will always return true if the session is disabled by the new cookie/session value. I think the would be really usefull at least in my case right here.

    Also would it be all criterias that would be disabled or just some of them?

  • Andy Butland 422 posts 2334 karma points MVP 4x hq c-trib
    Feb 05, 2021 @ 10:59
    Andy Butland
    0

    I was thinking more that, if the user declines cookies, it's up to the website implementor to track that somehow - in a cookie (ironically) or in a session variable.

    Then if they user has declined cookies the package should no longer be writing the cookies that it currently does to track them for certain criteria (namely the "pages viewed" and "number of visits" criteria). So what I'd add to the package would be a check for either of these indicators that the user has declined cookies, and if it's found, no longer write/update these ones.

    So basically just making sure that "if the user has declined cookies, we don't carry on writing them".

    In order to meet your use case, seems like you could just create a personalisation group that has a definition on the presence of the "declined" cookie or session variable, and if it's found, show your content.

    Andy

  • Jesper Weber 54 posts 170 karma points c-trib
    Feb 05, 2021 @ 12:18
    Jesper Weber
    0

    Yes you're right, I could just make a personalisation group with a cookie criteria to show a module when users has declined cookies.

    I think this would be a great solution to the plugin in order for the implementers to be able make the site cookie compliant.

  • Andy Butland 422 posts 2334 karma points MVP 4x hq c-trib
    Feb 06, 2021 @ 08:59
    Andy Butland
    100

    I've created a release now with this included - versions 1.0.6 (for V7) and 2.1.5 (for V8). These are on our and NuGet.

    Documentation for this feature is here.

    Andy

  • Jesper Weber 54 posts 170 karma points c-trib
    Feb 08, 2021 @ 14:14
    Jesper Weber
    0

    Thanks Andy, I have tested and it's working.

Please Sign in or register to post replies

Write your reply to:

Draft