[EU] GDPR compliant cookie banner
Closed this issue · 1 comments
TobiasJu commented
Is your feature request related to a problem? Please describe
Hi, I am from Europe and we have this thing called GDPR. Under it the cookie banner has to have the option to opt in or out of cookies. Our lawyer told us, simply allow all is not enough choice.
We have these cookie categories:
- Essential cookies
- Functional cookies
- Performance cookies
- Marketing cookies
Describe the idea you'd like
In the content section just add some config options like, which will result in a toggle switch like:
content: {
allow: 'Allow all cookies'
...
essentialToggleLabel: 'Allow essential cookies',
optimizationToggleLabel: 'Allow external media and analysis',
marketingToggleLabel: 'Allow marketing cookies'
}
Describe alternatives you've considered
I need to switch to a different cookie banner library. I know I am only one guy, but for the other guys from the EU you should consider adding a few toggles, for optional cookies. The fines for not using a GDPR compliant cookie banner are insane. Thanks!
Additional context
No response
TobiasJu commented
So as Hotfix I removed all external cookies and only allowed one category after consent, to made it compliant.