Hacker News new | ask | show | jobs
by Aunche 2825 days ago
If the cookie only stores the preference to not show the dialog box. That should be GDPR compliant.
1 comments

You should be using localstorage from the web storage API and not cookies. Cookies are sent to the server with every request. Local Storage is not.