Skip to contentSkip to navigationSkip to topbar
On this page
Looking for more inspiration?Visit the
(information)
You're in the right place! Segment documentation is now part of Twilio Docs. The content you are used to is still here—just in a new home with a refreshed look.

Consent in Reverse ETL


FREE x
TEAM x
BUSINESS
ADDON x

With Consent Management in Reverse ETL, you can enforce your end-users' consent preferences that are captured by your consent management platform (CMP) and stored in your warehouse.

To enforce consent stored in your warehouse, build a Reverse ETL model that identifies consent categories. You can create a "consent to" column mapping in a new data model or update an existing data model to include a "consent to" mapping.


Prerequisites

prerequisites page anchor
(information)

Consent management edit and update capabilities limited to Workspace Owners

Only users with the Workspace Owner role are able to create, edit, and disable consent categories. All other users have read-only access to Consent Management features.

Before you can enforce consent stored in your warehouse, take the following steps:

  • Set up your third-party consent management tool and create consent categories. Take note of your consent categories and the key or ID associated with each category.
  • Know how your company uses each destination. You need to know which destinations to map to each category.
  • Store your end user consent in a warehouse that Segment supports for Reverse ETL. Segment supports Reverse ETL capabilities in Azure, BigQuery, Databricks, Postgres, Snowflake, and Redshift data warehouses. Other data warehouses are not supported.

Step 2: Add your Reverse ETL source

step-2-add-your-reverse-etl-source page anchor
(success)

Success!

If you've already added a Reverse ETL source to your workspace, you can proceed to Step 3: Identify consent columns.

If you haven't already configured a Reverse ETL source in your workspace, follow the instructions in the Reverse ETL: Add a source documentation to add your warehouse as a data source. When you've configured your Reverse ETL source, proceed to Step 3: Identify consent columns.


Step 4: Connect your downstream destinations

step-4-connect-your-downstream-destinations page anchor

After you set up categories in the Segment app and create a SQL model that extracts consent information, connect your downstream destinations to complete the consent enforcement process.

To add your first destination:

  1. Navigate to Connections > Destinations and select the Reverse ETL tab.
  2. Click Add Reverse ETL destination.
  3. Select the destination you want to connect to and click Configure.
  4. Select the Reverse ETL source you want to connect the destination to.
  5. Enter the Destination name and click Create Destination.
  6. Enter the required information on the Settings tab of the destination.
  7. Navigate to the destination settings tab and enable the destination. If the destination is disabled, then Segment won't be able to start a sync.
(information)

Segment does not count Reverse ETL records filtered by Consent Management toward your Reverse ETL limits

Records filtered out by Consent Management are not counted as part of your Reverse ETL limits. For more information about Reverse ETL limits, see the Reverse ETL Limits documentation.

Segment Connections destination

segment-connections-destination page anchor

Segment automatically adds the consent object to every event that's routed downstream to your Segment Connections destination. Consent enforcement in Connections validates that only consenting data flows downstream to any classic Segment destinations connected to your Segment Connections instance.

Open the Source Debugger for your Reverse ETL source and confirm that the consent object appears on every event and that the consent object has the categories you mapped in Step 3: Identify consent columns.

Open the Profile Explorer and verify that your profiles contain the Segment Consent Preference Updated event.

Reverse ETL Actions destinations

reverse-etl-actions-destinations page anchor

Segment automatically filters out data from users who have not consented to the category mapped to your destination.

To verify that this behavior is working as intended, open Delivery Overview for a Reverse ETL-supported Actions destination and view the events that were successfully delivered to the destination. The events in your destination should only come from users that consented to send data to the category that your supported Actions destination belongs to.