Skip to content
Installation
Resurface dialog

Resurface dialog

The settings icon located in the bottom left or right corner of your website provides end users with access to their cookie settings and personal data after they have made their initial choice. However, in some cases, this icon may be distracting or may not fit properly into your website's design.

To hide the settings icon in the CookieHub portal, simply select your domain and navigate to the Customize -> Icon. From there, you can find the option to hide the icon.

However, to comply with GDPR and other cookie laws, you may still need to offer the option for users to revoke their consent later. This can be accomplished by creating a custom link on your website that directs users to the Cookie Settings dialog.

Settings dialog

CookiesHub provides various methods to resurface the settings dialog. You can add the class ch2-open-settings-btn to any link or button, or utilize the JavaScript API:

Button

<button class="ch2-open-settings-btn">Open Settings</button>

Link

<a href="#" class="ch2-open-settings-btn">Open Settings</a>

JavaScript API

window.cookiehub.openSettings();

Personal data tab

This feature is available in version 2.7 and later

The personal data tab is only shown when you have enabled the IAB US Privacy policy framework (for CCPA/CPRA compliance). You can resurface the personal data in the same way as the cookie settings dialog, by adding the class ch2-open-personal-data-btn to any link or button or using the JavaScript API.

Please note that if the personal data tab is not available in the settings dialog (for example, if the user is not located in a region where CCPA/CPRA applies), any buttons with the ch2-open-personal-data-btn class will be hidden automatically.

Button

<button class="ch2-open-personal-data-btn">Do not sell or share my personal information</button>

Link

<a href="#" class="ch2-open-personal-data-btn">Do not sell or share my personal information</a>

JavaScript API

window.cookiehub.openPersonalData();