Integrate a custom consent management provider with RudderStack.
2 minute read
This guide walks you through the steps to integrate a custom consent management provider (other than OneTrust, Ketch, and iubenda) with RudderStack.
Prerequisites
Configure the consent information in your consent manager’s platform and note their unique IDs.
Configure consent settings
While setting up a destination in the RudderStack dashboard, use the Consent settings section to configure the consent management provider settings for each source that you connect to a destination.
Choose Custom provider from the dropdown.
Enter enter the consent category IDs relevant for the destination in the Enter consent category IDs field.
Specify consent logic
For Custom consent management provider, you must also select the consent logic to be applied on the category IDs while resolving them against user consent data:
AND: Allows the events to go through to the destination only if the end user consents to all the categories corresponding to the category IDs specified in the dashboard.
OR: Allows the events to go to the destination if the end user consents to at least one of the categories corresponding to the category IDs specified in the dashboard.
Filter events based on consent
JavaScript SDK
You can set up your website depending on the following use cases:
This approach is helpful in cases where you need to track some user activity and control the SDK and cookie behavior before and after the user provides their consent.
For the other SDKs, RudderStack supports consent-based event filtering for a custom provider only in cloud mode. See the Consent Management Support Matrix for more information.
To filter events to your cloud mode destinations based on the user’s consent, you need to add the consentManagement object within the context of the event payload. See Add the Consent Object to Event Payloads 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.