klaro-js
klaro-js copied to clipboard
contextualConsentOnly on services not working as expected
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()