klaro-js
klaro-js copied to clipboard
"Please enable cookies" Indicator
Hey guys, what do you think about an indicator, which will display a short text line like "please enable cookies", if the user has blocked cookies for this website. The indicator could be integrated into hidden iframes for example.
What do you think?
Interesting, is this a common problem? What would be your main use case, enforce activation of cookies to be able to display a website?
Partly. But my approach is more an idea or improvement and not a real problem. But if the user deactivates the cookies for the page, he sees, for example, only a grey box for embedded Iframes. You could tell him via a line of text that he should better enable the cookies to see the content. It would be no force to activate the cookies but rather a message or explanation why some content is missing.
Okay I see, we'll consider this as a new feature then!
@adewes, @dmnktoe suggestion is important according to https://github.com/KIProtect/klaro/issues/30. If user block cookies for embedded content, it make sense to replace the content by a small notice like 'To view this content you should enable [app] cookies' with a link to open consent-modal
That could be done with a data-notice attribute that should support translation.
A notification system would be handy, for sure.
For an iframe not loading, a cookie prompt could be shown similar to the original first-visit prompt, but with messaging along the lines of "Hey! The xyz on this page can't load without this cookie being allowed. Check out your cookie settings to blah blah blah."
Another case would be a website owner changing cookies or introduced new ones (or new cookie categories) and wants to notify the user and prompt them to review their cookie settings.
Is there any possibility to get this working already?