Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Setting shouldRequireConsent to false on version 5.8.1 does not track #363

Open
metalvegetarianoprogresivo opened this issue Jan 30, 2024 · 0 comments

Comments

@metalvegetarianoprogresivo

We found an issue with the consent-manager version 5.8.1, when setting the shouldRequireConsent prop to false, the cookies are not being store on the user's browser. According to the documentation:

Callback function that determines if consent is required before tracking begins. Set to true to show the consent banner, otherwise return false to not show consent banner and start tracking immediately.

So if set to false, the cookies should be store on the user's browser the the initialPreference data already set.

Is this a known issue or an expected behavior? Because it is making the tracking of the users difficult for countries that do not require to display the banner properly.

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

No branches or pull requests

1 participant