Overview
Most privacy regulations (GDPR, CCPA, etc.) require that users have an easy way to update their cookie consent preferences after providing their initial consent. This ensures users maintain control over their data and can change their mind at any time.Privacy Trigger (Recommended)
CookieChimp provides a built-in floating privacy icon called the Privacy Trigger that allows users to manage their cookie preferences at any time. This is the easiest way to remain compliant. You can enable and customize the Privacy Trigger in the Banner Designer settings:- Toggle it on/off
- Customize its position on the page
- Adjust its appearance to match your brand
If you enable the Privacy Trigger, you don’t need to add a custom button or link, as users will already have an obvious way to update their preferences.
Custom Button or Link
If you prefer not to use the Privacy Trigger, or want to provide additional access points for users to update their preferences (such as in your website footer or privacy policy page), you can add custom buttons or links.Using Data Attributes (Recommended)
The simplest way to create a custom button or link is by adding adata-cc attribute:
Using JavaScript API
Alternatively, you can programmatically open the preferences modal using the JavaScript API:Best Practices
Place the link in an obvious location - Common locations include:
- Website footer
- Privacy policy page
- Cookie policy page
- User account settings
Use clear, descriptive text - Examples:
- “Manage cookie preferences”
- “Cookie settings”
- “Update cookie consent”
- “Privacy settings”
Make it accessible - Ensure the button/link is keyboard navigable and screen reader friendly
Compliance Requirements
The requirement to update preferences is typically satisfied by either:- Enabling the Privacy Trigger (floating icon), OR
- Adding a custom button or link in an obvious location (such as the footer)