-
Notifications
You must be signed in to change notification settings - Fork 75
Description
Hi,
I've been trying to use this project and spent the whole day debugging the behavior of the cookie banner, but I'm still stuck.
Here’s what I’m seeing:
When I click "Accept" on the cookie banner, the resulting cookie is empty.
When I click "Decline", I get something like:
"analytics=-1|performance=-1"
From the docs, I expected the "Accept" button to set all consent groups to 1 (accepted), and the "Decline" to set them to -1 (refused), but it’s not behaving that way.
Also, the documentation is really unclear on how this consent logic is supposed to work, especially:
how groups are defined and handled in the frontend,
Additionally, I noticed there's a package on npm, but trying to import it in a modern frontend setup (like Vite) does not work. The script doesn't export anything usable as a module, and trying to import it in main.js leads to runtime issues.
Could you clarify how this is supposed to work?
Thanks in advance!