tinacms / tina.io

Website for TinaCMS 🦙 - General info, documentation, blogs & contribution guidelines.
https://tina.io
246 stars 1.59k forks source link

💽💄 Data Consent Banner #1868

Closed joshbermanssw closed 3 months ago

joshbermanssw commented 3 months ago

GDPR (EU) compliance sees that users are granted ability to modify at a granular level, which of their data is being tracked.

as per https://github.com/tinacms/tina.io/issues/1852 I have implemented in a consent banner which omits a consent cookie based on the users choice.

Screenshot 2024-07-03 at 2 59 22 PM

Figure: 💄 Consent Banner

Screenshot 2024-07-03 at 2 59 29 PM

Figure: 💄 Customisable Preferences Modal

Screenshot 2024-07-03 at 2 59 55 PM

Figure: 🍪Cookie sent correctly, shows that we can alter preferences

Screenshot 2024-07-03 at 3 04 28 PM

Figure: ✅GTM Correctly showing default declined preferences as per GDPR

Screenshot 2024-07-03 at 3 05 36 PM

Figure: ✅After clicking 'decline all' we get updated consent as denied on ALL

Screenshot 2024-07-03 at 3 06 16 PM

Figure: ✅ Tag blocked by Consent Settings (declined all)

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tina-io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2024 5:03am