klaro-org / klaro-js

Klaro Privacy Manager. An open-source, privacy-friendly & compliant consent manager for your website.

Home Page:https://klaro.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

contextualConsentOnly on services not working as expected

klfman opened this issue · comments

Klaro Config

      services:
        youtube:
          title: Youtube
          description: Youtube
          contextualConsentOnly: true

Current behavior

When having only one service, e.g. youtube, the cookie consent popups are displayed anyways, showing a switch for exactly that service.

Expected behavior

As there are only services with contextualConsentOnly: true the initial popup should never be displayed, because all consent can be given inline in a contextual consent in the web pages content.

It can, however, still be changed later by providing a button that executes klaro.show()