Reopen CMP - Customised button
2 min
Open CMP through JS API
If it's necessary to reopen the CMP for the user to modify their consent, you can call the function: window.___pubtech_open_cmp()
Example:
<a href="#" onclick="window.___pubtech_open_cmp()">Manage Consents</a>Open the CMP on the Advertising Vendors tab via JavaScript.
If you need to open the list of advertising vendors directly, you can use:window.___pubtech_open_cmp_vendor()
Example:
<a href="#" onclick="window.___pubtech_open_cmp_vendor()">Vendor List</a>