Preference Center
The Preference Center is the full-screen panel where users can view and toggle individual consent categories. It opens when the user clicks "Manage Preferences" in the banner.
What's in the Preference Center
- A list of all consent categories
- Description of what each category is used for
- A toggle for each non-necessary category
- A list of vendors under each category (optional)
- Save button
Configuring categories
Categories come from your Policy (see Policies). Each category can have:
- A display name
- A description (shown to the user)
- Whether it's always-on (Necessary)
Showing vendor details
To show which vendors are in each category:
Banner Builder → Preference Center → Show vendor details → On
When enabled, each category has an expandable list of vendors with their names and purposes.
Re-opening the Preference Center
Users can re-open the Preference Center at any time via:
JavaScript:
ConsentForge.openPreferenceCenter();
HTML attribute:
<button data-cf-action="open-preferences">Cookie Settings</button>
Add a "Cookie Settings" link to your footer so users can always change their preferences.
Preference Center without the banner
You can embed the Preference Center inline (not as an overlay) for dedicated privacy settings pages:
<div id="cf-preference-center-inline"></div>
<script>
ConsentForge.renderPreferenceCenterInline('#cf-preference-center-inline');
</script>