GDPR cookies block

1 reply · opened Dec 15, 2020

WWyzzyDec 15, 2020

Hello,

I am trying to build my site with your great theme. (I am coming from WP)
I see there is a GDPR code I installed and it is diplayed correctly. But, how can I pre-block the cookies before they are accepted?
I do not see any documentation abount it, I have only copied the code from the chrome view-code function of your http://themes.semicolonweb.com/html/canvas/gdpr.html page.

I am a newbie, maybe I missing something. :)

SSemicolon WebSTAFFDec 15, 2020

Hello,

Thanks for the Kind Words! :)

The GDPR Element provided is only for Templating Purposes. Further integrations with this Template has to be done manually. Canvas uses this Cookie plugin: https://github.com/js-cookie/js-cookie .

You can set the Cookies using this Code:

Cookies.set('name', 'value');

More about this here: https://github.com/js-cookie/js-cookie#basic-usage .

And then make further adjustments to your GDPR Settings according to the Cookies defined.

Hope this Helps! We will add Comprehensive Documentation for this in the next few days.

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard