Configurable blocking or delivery of events to each destination based on consent IDs and custom logic.
Configurable pre-consent user tracking for category IDs and cookies (JavaScript SDK only).
Workflow overview
The following steps give a high-level overview of how to implement RudderStack’s consent management features.
Step 1: Configure consent settings for destination
You can configure each destination with custom logic to block or allow events based on the consent provider and the category IDs.
Go to the destination’s Configuration settings > Consent settings to configure the consent settings for each source.
Choose your consent management provider from the dropdown. You can also add multiple providers based on your requirements.
Enter enter the consent category IDs relevant for the destination in the Enter consent category IDs field.
Note that for a Custom provider, you must also specify the consent logic to be applied on the category IDs while resolving them against user consent data. See Custom Consent Management for more information on specifying the consent logic for a custom provider.
Add multiple consent managers
You can add multiple consent management providers for each source while configuring the consent settings for a destination.
Specify the consent provider settings.
Click Add group condition.
Specify the consent settings for the other provider.
You can add consent settings for multiple providers. However, note that only one of them will be used for filtering events to a destination, based on the provider specified in the client SDK’s load instrumentation or in the context.consentManagement object in the event payload.
Step 2: Instrument your website/app to capture consent data
Finally, you need to instrument your website/app to capture consent IDs and add them to event payloads.
There are two ways to set up your instrumentation, and if you are tracking consent across client and server-side SDKs, you will need to use both:
Automatically capture consent data through integrations: The JavaScript, iOS, and Android SDKs support native integrations that automatically capture consent data from your consent provider, then append it to event payloads.
Add consent data directly to event payloads: If you need to manage consent data coming from server-side SDKs and other sources, you need to add the consentManagement object to the context of the event payload. See Add the Consent Object to Event Payloads guide for more information.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.