HACKER Q&A
📣 candidtim

What is the simplest way to add a GDPR cookie consent to the website?


Having a GDPR compliant cookie consent on a website is a common enough requirement today. I assume there should be a few "out of the box" solutions for it. So, I wonder what is the simplest way to add a GDPR compliant cookie consent to the website and block *third-party* cookies should the users chose so? Are there any open-source solutions for this that rely on Javascript only (no back end involved)?


  👤 thanatos519 Accepted Answer ✓
The best approach is to not track unauthenticated users at all. Make people consent to GPDR to create an account.

👤 maxrev17
Yep go without cookies is the best way!