PubConsent

Reopen CMP - Customised button

2min

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:

HTML


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:

JS