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
This guide to Segment's Analytics.js OneTrust wrapper contains expected wrapper behavior, context about which configurations might cause data loss, steps you can take to remediate data loss, and configurations that minimize data loss.
6
+
This guide to Segment's Analytics.js OneTrust wrapper contains context about which configurations might cause data loss, steps you can take to remediate data loss, configurations that minimize data loss, and a guide to expected wrapper behavior.
7
7
8
8
For questions about OneTrust Consent and Preference Management behavior, see the [OneTrust documentation](https://my.onetrust.com/s/topic/0TO3q000000kIWOGA2/universal-consent-preference-management?language=en_US){:target="_blank"}.
9
9
10
10
For questions about the Analytics.js OneTrust wrapper, see the [@segment/analytics-consent-wrapper-onetrust](https://github.com/segmentio/analytics-next/tree/master/packages/consent/consent-wrapper-onetrust){:target="_blank"} repository.
11
11
12
-
## Expected wrapper behavior
13
-
14
-
The following table explains how Segment's OneTrust wrapper works with different configurations of consent categories and destination behaviors.
| All categories are disabled | No unmapped destinations <br> **or** <br> All unmapped destinations are disabled | Any configuration | No data flows to Segment |
19
-
| All categories are disabled | At least 1 enabled destination is not mapped to a consent category | Any configuration | Data flows to Segment |
20
-
| All categories are disabled | S3 destination is unmapped | Any configuration | Data flows to Segment |
21
-
| One or more categories are enabled | No unmapped destinations <br> **or** <br> All unmapped destinations are disabled | All destinations are disabled | No data flows to Segment |
22
-
| One or more categories are enabled | No unmapped destinations <br> **or** <br> All unmapped destinations are disabled | One or more destinations are enabled | Data flows to Segment |
23
-
| One or more categories are enabled | One or more destinations are enabled | One or more destinations are enabled | Data flows to Segment |
24
-
| One or more categories are enabled | One or more destinations are enabled | One or more destinations are enabled | Data flows to Segment |
25
-
26
12
27
13
## OneTrust consent banner behavior
28
14
@@ -200,3 +186,18 @@ You might experience data loss if a user navigates away from a landing page befo
200
186
</table>
201
187
202
188
<!-- TODO (IG, 4/2024): the above tables would not render ordered lists in a cell - figure out why this happened-->
189
+
190
+
191
+
## Expected wrapper behavior
192
+
193
+
The following table explains how Segment's OneTrust wrapper works with different configurations of consent categories and destination behaviors.
| All categories are disabled | No unmapped destinations <br> **or** <br> All unmapped destinations are disabled | Any configuration | No data flows to Segment |
198
+
| All categories are disabled | At least 1 enabled destination is not mapped to a consent category | Any configuration | Data flows to Segment |
199
+
| All categories are disabled | S3 destination is unmapped | Any configuration | Data flows to Segment |
200
+
| One or more categories are enabled | No unmapped destinations <br> **or** <br> All unmapped destinations are disabled | All destinations are disabled | No data flows to Segment |
201
+
| One or more categories are enabled | No unmapped destinations <br> **or** <br> All unmapped destinations are disabled | One or more destinations are enabled | Data flows to Segment |
202
+
| One or more categories are enabled | One or more destinations are enabled | All destinations are disabled | Data flows to Segment |
203
+
| One or more categories are enabled | One or more destinations are enabled | One or more destinations are enabled | Data flows to Segment |
0 commit comments