The Zaraz consent banner doesn't represent the consent state in a specific scenario

For Workers & Pages, what is the name of the domain?

What is the issue or error you’re encountering

The consent banner doesn’t represent the consent state in a specific scenario

What are the steps to reproduce the issue?

  1. Accept All
  2. Reload page
  3. Show consent banner (with a button, for example)
  4. Reject All
  5. Show consent banner (without reloading the page)
  6. Checkboxes are still checked

On (4) I verified the consent has been revoked with JS.

The problem seems to be that when the consent banner is loaded pre-checked the HTML input tag has a checked attribute which stays even after unchecking.

After reloading the page, the consent state is shown correctly.

This topic was automatically closed after 15 days. New replies are no longer allowed.