3 ms·
Ask HN: 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 5y agoThe best approach is to not track unauthenticated users at all. Make people consent to GPDR to create an account.
- candidtim 5y agoYes, I certainly do realize this, thank you. But still, the question holds for third-party cookies in a case when they are already used on a website.
- maxrev17 5y agoYep go without cookies is the best way!