Actions overview
| Action | Description |
|---|---|
ConsentChange | Sets or changes consent to non-essential cookies and services. |
Actions
ConsentChange
This action sets or changes the user’s consent to non-essential cookies. Consent can be controlled at the top level (entire consent object), at the group level, or at the level of individual services within a group. Usage exampleUseful in a cookie banner, for example, to give the user the option of granting or revoking consent for all cookies at once, for specific groups (e.g., “Marketing”, “Statistics”), or for individual services (e.g., “Google Analytics”) in a targeted manner. Parameters
| Parameter | Description |
|---|---|
consent | Sets consent at the top level for all non-essential cookies. |
groups.<groupName> | Sets consent for a specific consent group. <groupName> stands for the name of the respective group. |
groups.<groupName>.services.<serviceName> | Sets consent for an individual service within a group. <serviceName> stands for the name of the respective service. |
| Error code | Description |
|---|---|
invalidGroup | The specified group does not exist or is invalid. |
invalidService | The specified service does not exist or is invalid. |
