Select your interface:
You are currently viewing instructions for the: Manager
Introduction
Some data protection legislations, such as the the Italian Data Protection Authority (See official guidelines here), require the consent banner to contain a "✖" close button. This has now been added to your banner configuration options at Cookiebot CMP.
How to enable a close icon on your banner
The close icon is not enabled by default, but can easily be activated by ticking the checkbox in your banner configuration settings.
- Login to your Cookiebot CMP manager
- Navigate to Settings > Banner
- Tick the checkbox for "Close icon"
- Save you settings from the menu on the left blue sidebar
What happens when users click the close icon on my banner?
The action of clicking the close icon is equal to a full opt-out, which means users will continue on the website with necessary cookies only. In your consent log and consent statistics, this will therefore be reported the same as a user opting out of non-necessary cookies.
Notifying your customers on what will happen when they click the "✖" on your banner can be done by adding a warning text in the main banner text. See also: How-can-I-customize-the-content-in-the-cookie-consent-banner-
How to replace the close icon with custom text
If you want to replace the close icon "✖" with your own text, you can do so by adding the following script:
<script>
window.addEventListener("CookiebotOnDialogDisplay", () => {
const txt = "Close!";
document.querySelector(".CybotCookiebotBannerCloseButton").innerHTML = txt;
}) </script>
Change the txt
variable with your own custom text and you are done!
Comments
0 comments
Please sign in to leave a comment.