Preference center
The preference center is Layer 2 of the banner. It opens when a visitor clicks
Manage on the first banner, clicks the
floating button after consent, or a developer
calls OptSens.showPreferences(). Here the
visitor reviews categories and changes their choices.
Tabs
The tabs shown depend on the active banner mode.
| Tab | Shown in | Content |
|---|---|---|
| Categories | All modes | Cookie categories with a toggle each, plus the cookies in each category |
| Vendors / Partners | IAB TCF mode | The IAB and Google AC partners shown to the visitor, with per-partner controls |
| Cookie declaration | All modes | The full cookie declaration with name, provider, description, and expiry per cookie |
GDPR, CCPA, and Basic modes show Categories and Cookie declaration. The Vendors / Partners tab appears only in IAB TCF mode.
Categories
The five standard categories always show. The cookies listed inside each come from your cookie declaration, and an Uncategorized section appears only when a scan found cookies that are not categorized yet. The Necessary category is always on and cannot be switched off. The visitor toggles the other categories, then chooses an action:
- Accept all, grant every category.
- Reject all, keep only necessary.
- Confirm, store exactly the toggles they set.
In CCPA mode the toggles control what may be sold or shared, since that model is opt-out.
Open it from your own UI
Add a "manage consent" link anywhere, for example in your footer:
<a class="os-manage-consent" href="#">Manage Privacy Preferences</a>
OptSens wires the click to open the preference center. You can change and
translate the link text. From code, call
OptSens.showPreferences().
The link is active while the floating button is off. When the floating button is on, OptSens hides manage links and the button is the entry point. In CCPA regions the "Your Privacy Choices" link is the entry point, and manage links stay hidden there too. Turning the floating button off is part of floating-button customization, which is gated by plan.
Reopening after consent
After a visitor consents, the floating button
stays on the page to let them reopen this panel and change their choice. If you
turn the floating button off, OptSens adds a "Manage Privacy Preferences" link
to your footer instead. A way to change consent is always available, as
GDPR requires. If you already placed your own .os-manage-consent link,
OptSens activates it instead of adding one.
Language
The preference center shows in the same language as the banner. When more than one language is configured, a selector in the panel lets the visitor switch.