Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie only set when another cookie has required value #20

Open
kklecho opened this issue Aug 7, 2023 · 1 comment
Open

Cookie only set when another cookie has required value #20

kklecho opened this issue Aug 7, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kklecho
Copy link

kklecho commented Aug 7, 2023

Rationale: With the cookie law, the cookie should not be set by default but only after the user agrees cookies.

Suggested solution:

  1. Add option called cookies_accepted_cookie_name # what is the cookie name that stores user consent or denial
  2. Add option called cookies_accepted_cookie_value # what value the cookie has to hold for the mobile detect to be allowed to set it's own cookies
  3. Change code logic to only set / check the device view cookie when cookie configured in 1. has the value configured in 2.
@tattali tattali added enhancement New feature or request help wanted Extra attention is needed labels Dec 23, 2024
@tattali
Copy link
Owner

tattali commented Dec 23, 2024

Hi, thank you for your request!
Would you like to create a pull request that handles this functionality?

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants