You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/privacy/configure-consent-management.md
+18-9Lines changed: 18 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,9 @@ Once you've configured consent in the Segment app, your events are routed only t
11
11
12
12
## Prerequisites
13
13
14
+
> info "Consent management edit and update capabilities limited to Workspace Owners"
15
+
> 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.
16
+
14
17
Before you can configure consent in Segment, take the following steps:
15
18
-**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.
16
19
-**Know how your company uses each destination**. You need to know which destinations to map to each category.
@@ -19,13 +22,15 @@ Before you can configure consent in Segment, take the following steps:
19
22
## Step 1: Create consent categories in the Segment app
20
23
21
24
> info "Limited availability of sources and destinations during private beta"
22
-
> During private beta, you can send events from web sources to consent categories. Enforcement of consent preferences is only available for event streaming destinations, webhooks, and functions. You can map one event streaming destination, webhook, or function to multiple consent categories. All other source and destination types are not impacted by consent mappings.
25
+
> During private beta, you can send events from web sources to consent categories. Enforcement of consent preferences is only available for event streaming destinations, webhooks, and functions. You can map one event streaming destination, webhook, or function to multiple consent categories. All other source and destination types are not impacted by consent mappings.
26
+
>
27
+
> Storage, RETL, and Engage destinations do not enforce consent preferences.
23
28
24
29
1. From the [Segment homepage](https://app.segment.com/goto-my-workspace/){:target="_blank”}, select the Privacy tab and click **Consent Management**.
25
30
2. On the Consent management page, click **Create categories**.
26
31
3. Confirm that you have completed the required prerequisites, and click **Next**.
27
32
4. On the Create consent categories page, add the following information to the category form:
28
-
-**Category name**: Enter a name that describes your use case for the data sent to this destination.
33
+
-**Category name**: Enter a name that describes your use case for the data sent to this destination. This field only accepts category names that are 20 characters or less.
29
34
-**Category ID**: In OneTrust, this is a string of up to five alphanumeric characters, but other CMPs may have a different format. This field is case sensitive.
30
35
-**Mapped destinations**: Select one or more of your destinations to map to this category. Category mappings apply to all instances of a destination.
31
36
<br/><br/>**Optional**: Click **Add category** to create another category.
@@ -48,7 +53,13 @@ If you have a CMP other than OneTrust, you can install the `@segment/analytics-c
48
53
> If an event includes both an integrations object and a consent object, Segment will look at the consent object first, and then take into account the integrations object.
49
54
50
55
### OneTrust for snippet users (window.analytics)
51
-
Use the following initialization code:
56
+
Delete the `analytics.load()` line from the snippet in the header of your website:
57
+
58
+
```diff
59
+
- analytics.load("<MY_WRITE_KEY>");
60
+
```
61
+
62
+
Run the following initialization code in your project, replacing `<MY_WRITE_KEY>` with your write key:<sup>1</sup>
<sup>1</sup>: You can find your write key by navigating to Connections > Sources > [Source Name] > Settings.
88
+
80
89
## Edit consent categories
81
90
82
91
If you need to make changes to your consent categories, you can edit them on the Consent Management page. You may experience some latency between making the changes and having the changes take effect.
Copy file name to clipboardExpand all lines: src/privacy/consent-management.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,6 @@ Segment requires every event from all of your sources to include the end-user co
71
71
{
72
72
"context": {
73
73
"consent": {
74
-
"version": 2,
75
74
"consentPreferences": {
76
75
"Advertising": true,
77
76
"Analytics": false,
@@ -83,8 +82,16 @@ Segment requires every event from all of your sources to include the end-user co
83
82
}
84
83
85
84
```
85
+
<!--- Q3 scope:
86
+
87
+
### Consent policy version
88
+
89
+
add to snippet above:" "version": 1,"
90
+
91
+
Segment assigns a `version` to your consent object. The `version` describes the version of Segment's consent schema that message used.
92
+
93
+
A consent conflict flag and the categories consented to by a user are both pulled from the consent object and are visible as traits on a user's profile in Unify. --->
86
94
87
-
<!--- Q3 scope: A consent conflict flag and the categories consented to by a user are both pulled from the consent object and are visible as traits on a user's profile in Unify. --->
88
95
89
96
### Reconcile consent object and integrations object conflicts
0 commit comments