• Resolved percy37

    (@percy37)


    Hi, we are using https://www.createit.com/gdpr/ for our GDPR cookie widget. We are now implementing W3 Total Cache and would like cookie groups for each level of cookie consent. To do this I have created cookie groups for each of the 4 levels. The 4 cookies are as follows (key and value): ct-ultimate-gdpr-cookie-level=NQ%3D%3D, ct-ultimate-gdpr-cookie-level=NA%3D%3D, ct-ultimate-gdpr-cookie-level=Mw%3D%3D, ct-ultimate-gdpr-cookie-level=Mw%3D%3D and ct-ultimate-gdpr-cookie-level=Mw%3D%3D. We have tried various ways to match the cookies but it doesn’t seem to work. I would be grateful if you could assist with which pattern we can use to match the cookies. Thanks. James

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @percy37

    Thank you for your inquiry, and I am happy to assist you with this.

    You should use the correct groups and each group should specify {key}={value}
    Depending on what key you are using, that should look like {key}='{"strict":"1","thirdparty":"0","advanced":"0"}'
    So you should replace {key} with the actual cookie name.

    And don’t forget to enable all the checkboxes (enable and cache)

    I hope this helps.

    Thread Starter percy37

    (@percy37)

    Thanks Marko. How do you distinguish between different values of a cookie? I have one cookie, with 4 possible values and each value needs its own cached version of the page.

    Thanks. James

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @percy37

    Sorry for the late reply.

    You can create 4 different groups with different values and depending on the value, the cache will be created for this specific group.

    Thanks!

    Thread Starter percy37

    (@percy37)

    Thanks Marko, however that’s what I have been doing. I think the issue is to do with the characters that are in the value e.g. NQ%3D%3D. If I use just letters it works as you suggest, but with the values from the GDPR plugin it is not working.

    The 4 cookies are as follows (key and value): ct-ultimate-gdpr-cookie-level=NQ%3D%3D, ct-ultimate-gdpr-cookie-level=NA%3D%3D, ct-ultimate-gdpr-cookie-level=Mw%3D%3D, ct-ultimate-gdpr-cookie-level=Mw%3D%3D and ct-ultimate-gdpr-cookie-level=Mw%3D%3D.

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Managing cookie groups’ is closed to new replies.