Coder Social home page Coder Social logo

Comments (3)

Mastermindzh avatar Mastermindzh commented on May 18, 2024 1

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.

rodrigo-arias avatar rodrigo-arias commented on May 18, 2024

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.

Mastermindzh avatar Mastermindzh commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.