Cookies banner
Hi everyone
Anyone already implemented a Cookies banner on Solid Start to follow the GDPR rules?
If yes, what you have used?
4 Replies
Small question: are you planning on using 3rd party analytics or tracking?
you can use corvu's drawer https://corvu.dev/docs/primitives/drawer/, kobalte's dialog https://kobalte.dev/docs/core/components/dialog or i would recommend a simple fixed div at the bottom of the screen
I need to use something that let the users choose their preferences, like: https://www.cookiebot.com/
Cookiebot
Cookiebot™ CMP by Usercentrics - GDPR Compliance for SMBs
Cookiebot CMP by Usercentrics is your CMP for effortless GDPR compliance. Try Cookiebot for free to manage cookies and consent preferences on your website.
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="<id>" data-blockingmode="auto" type="text/javascript"></script>
We gives me a script like this, but how I can put it on the head
?
Anyone?Something like this should work:
https://stackblitz.com/edit/github-pavzzj?file=src%2Fcomponents%2FGDPR%2FGDPR.tsx