dargmuesli / nuxt-cookie-control

A highly configurable cookie banner for Nuxt.
MIT License
229 stars 43 forks source link

feat: add initial recommended state management #185

Closed KerneggerTim closed 5 months ago

KerneggerTim commented 7 months ago

đź“š Description

I implemented a small feature which let’s the website owner choose some recommended cookies. These are only preselected on the first modal open when “isConsentGiven” is undefined. To comply with GDPR no actual cookies are being set - only the checkboxes are preselected so when users click on “accept selected” the recommended cookies will get enabled.

đź“ť Checklist

dargmuesli commented 7 months ago

Thank you for the suggestion! Are you sure that preselecting options is in accordance with the GDPR? From all I know it wouldn't be, but I'm at most experienced, not an expert.

chrstx commented 7 months ago

Hi, @dargmuesli is right. I checked with different authorities and preselecting checkboxes is not GDPR-compliant. But as this plugin advertises "highly configurable cookie banner" I think it would be good to implement this feature and to leave the choice to the website provider on how they want to present the cookie banner. As it is in the providers realm of responsibilities I think this feature would be a nice to have if it is turned off by default. I also get often asked by customers to implement it that way. I inform them about the non-conformity to GDPR but the decision is theirs.

dargmuesli commented 7 months ago

Sounds good! @chrstx would you shoot me a DM at https://jonas-thelemann.de/contact please? I'd like to invite you to a short conversation which I don't want to spam on here :pray:

dargmuesli commented 5 months ago

@KerneggerTim are you interested in providing the documentation?

KerneggerTim commented 5 months ago

@dargmuesli i added the documentation. please check it.

dargmuesli commented 5 months ago

:tada: This PR is included in version 7.5.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

dargmuesli commented 5 months ago

:tada: This PR is included in version 8.0.0-beta.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket: