In this article, we will review the various actions you can assign to a button in your first layer message across all supported regulatory frameworks.
Note: The choice type ID for each button action is surfaced in the onMessageChoiceSelect
event callback which is fired after an end-user performs an action in your first layer message. Click here for more information.
GDPR TCF/ GDPR Standard
The following actions are assignable for GDPR TCF and GDPR Standard first layer message:
Action | Choice Type ID | Description |
Accept Legitimate Interest Only | 1 |
Continue without agreeing. Reject all purposes whose legal basis is user consent while allowing purposes whose legal basis is legitimate interest. Click here for more information. |
Accept All | 11 |
Accept all categories and vendors. |
Reject All | 13 |
Reject all categories and vendors. |
Show Privacy Manager | 12 |
Surface the privacy manager associated with this first layer message. |
Custom JavaScript | 9 |
Execute JavaScript configured in the provided space when the button is selected. |
Redirect | 5 |
Redirect end-user to a new URL configured in the provided space. This redirect will open a new window. |
Dismiss Message | 15 |
Dismiss first layer message. |
U.S. Privacy (Legacy)
The following actions are assignable for U.S. Privacy (Legacy) first layer message:
Action | Choice Type ID | Description |
Accept All | 11 |
Accept all categories and vendors. |
Reject All | 13 |
Reject all categories and vendors. |
Show Privacy Manager | 12 |
Surface the privacy manager associated with this first layer message. |
Custom JavaScript | 9 |
Execute JavaScript configured in the provided space when the button is selected. |
Redirect | 5 |
Redirect end-user to a new URL configured in the provided space. This redirect will open a new window. |
Dismiss Message | 15 |
Dismiss first layer message. |
U.S. Multi-State Privacy
The following actions are assignable for U.S. Multi-State Privacy first layer message:
Action | Choice Type ID | Description |
Accept All | 11 |
Accept all categories and vendors. |
Reject All | 13 |
Reject all categories and vendors. |
Show Privacy Manager | 12 |
Surface the privacy manager associated with this first layer message. |
Custom JavaScript | 9 |
Execute JavaScript configured in the provided space when the button is selected. |
Redirect | 5 |
Redirect end-user to a new URL configured in the provided space. This redirect will open a new window. |
Dismiss Message | 15 |
Dismiss first layer message. |
Comments
0 comments