Comments (3)
In my opinion, you should have a clear page about what cookies are and how your site uses them.
This page can then also list how to delete a cookie (or even allow the user to do so with a button).
An example of mine can be found here: https://www.rickvanlieshout.com/cookies.
It is not perfect (I want the user to be able to delete them as well), but I think it's a good place to start. Certainly, because it transparently lists all the cookies set on my domain.
Smashing a "notice" in the user's face with info where and how to disable them is a bit... invasive if you ask me. I have the page above linked IN the cookiebar but it's also visible on every page (it's a link in the footer).
My thoughts are basically as follows:
- User type "a" (90% of users..) doesn't care about cookies, he/she just ignores the bar and clicks accept.
- User type "b" is slightly worried about cookies and likely knows how to monitor/clear them.
- User type "c" is paranoid and hates (certain) cookies. They most likely use cookie blockers or even domain blocking to block cookie-related traffic.
I make my cookie bar as easy to ignore as possible for user a, detailed enough for user b, and I can't do anything (nor want to) for user c.
This, in my opinion, is as far as anyone should go. There's a certain responsibility on the users themselves as well.
from react-cookie-consent.
Thanks for your detailed reply. I was looking for a technical answer and I have received a global answer with which I agree.
from react-cookie-consent.
I'm adding the technical details for people stumbling upon this answer: you can provide a button which executes:
Cookie.remove('name');
from react-cookie-consent.
Related Issues (20)
- Unable to set domain via extraCookieOptions. Test suite failing with error message - Cookie has domain set to the public suffix "localhost" which is a special use domain HOT 2
- Cannot apply css for style -> bottom HOT 2
- Is there "agree" method without click agree using method HOT 1
- 'CookieConsent' cannot be used as a JSX component HOT 5
- decline Button Component HOT 3
- In Production Mode, myAwasumeCokkies2 is not storing in Cookies Storage Why? HOT 2
- HttpOnly option on Cookie settings HOT 2
- How to Close the CookieConsent window with onAccept HOT 1
- Consent Modal disappears when I scroll down HOT 4
- Consent Modal disappears when I scroll down HOT 2
- style margin bottom and bottom don't work HOT 2
- Update documentation to show support for custom cookie name HOT 2
- Q: Any docs on how to use with docusaurus? HOT 2
- How to detect cookies HOT 1
- component is suspended HOT 1
- `getCookieConsentValue` returns always undefined using custom cookie name HOT 4
- Type prop definition has too many required fields
- TypeError: Cannot read properties of undefined (reading 'prototype') HOT 7
- React Cookie Consent error when imported to a React component Next14
- I got error when I install package in nextjs 13 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-cookie-consent.