klaro-js icon indicating copy to clipboard operation
klaro-js copied to clipboard

contextualConsentOnly on services not working as expected

Open klfman opened this issue 3 years ago • 0 comments
trafficstars

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()

klfman avatar Jun 08 '22 14:06 klfman