Skip to content
0
Solved1 answers

How can visitors reopen preferences or withdraw consent?

Alex Morganasked Jun 1, 2026

After the banner closes, what should I link in the footer so visitors can change or withdraw their consent later?

consent-preferencesbanner-controlconsent
1 Answers50 Views

Community posts reflect their authors' views and may be incomplete or outdated. They are not legal advice or official product documentation. Verify product behavior in the current documentation and consult qualified counsel about requirements that apply to your site.

Your Answer

1 Answer

0
Best answer

Add a “Consent preferences” link and dispatch the optinstack:open-preferences event when it is activated:

await window.OptinStack.ready;
window.dispatchEvent(new CustomEvent('optinstack:open-preferences', { bubbles: true }));

This opens the preferences dialog for variants that support preferences. Informational banners do not have that dialog. You can also render the OptinStack Tracker declaration widget, which reflects the published inventory and can expose preferences or withdrawal controls when supported by the active banner UI.

Documentation: Open preferences and Tracker declaration widget.

OptinStack TeamTeam
Jun 1, 2026