a-digital / cookie-consent-banner

Add a configurable cookie consent banner to the website.
MIT License
11 stars 14 forks source link

How can I apply the user selection to my craft website? #45

Open andreimoment opened 1 year ago

andreimoment commented 1 year ago

Apologies if I am not seeing something obvious, but I am wondering - in the event of the user declining the use of cookies, how can I apply this to the website?

Am I to check the presence of cookieconsent_status at every request and then have my scripts act accordingly?

andreimoment commented 1 year ago

I found in the code that when opting in, a function called "optInCookiesConsented" will be called if defined.

aarmitage commented 1 year ago

HI Andrei, thanks for raising your issue. I've asked one of our team to look into this for you. You may have to bear with us for a few days as the original developer who wrote the plugin is no longer working with us, however we have in-house resource to maintain and respond to any issues.