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

Doubt: What does react-cookie-law really make? #23

Open
anialamo opened this issue Oct 3, 2020 · 1 comment
Open

Doubt: What does react-cookie-law really make? #23

anialamo opened this issue Oct 3, 2020 · 1 comment

Comments

@anialamo
Copy link

anialamo commented Oct 3, 2020

Hi, I have a doubt. What does react-cookie-law really make? I see this library creates 3 or 4 cookies for my web. But I need to implement to load/unload scripts for statistics cookies? like Google Analytics? or this library already does everything for my web, that is, it actually enables / disables the cookies of the actived / deactivated categories ?

A lot of thanks!

@asarzina
Copy link
Member

Hi, react-cookie-law has some callbacks to enable scripts like Google Analytics when a user accept the preferences.
There are three checkboxes: preferences, statistics and marketing. For the library they are equivalent, but they are userful for users to enable different scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants