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

How do I enable or disable Klaro on demand with disable-by-default?

Open Aman-Aalam opened this issue 3 years ago • 2 comments

Hi Folks,

I need to be able to load Klaro script but not enable it right away. I want to enable it only if certain conditions are met. And since my site is a static website, I only have access to writing logic through frontend JS.

I see the function Klaro.show() perhaps enables Klaro, but can Klaro script be loaded but in a disabled state by default?

Thanks, Aman

Aman-Aalam avatar Oct 06 '22 17:10 Aman-Aalam

Hello, did you manage to find a solution to this?

NicolasVPC avatar Sep 10 '24 13:09 NicolasVPC

Not yet, unfortunately.

Aman-Aalam avatar Sep 10 '24 19:09 Aman-Aalam