From 35f95a7747653db8e123842a6ff42053400383da Mon Sep 17 00:00:00 2001
From: Seth Silesky <5115498+silesky@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:39:59 -0500
Subject: [PATCH] wip
---
.../consent/consent-wrapper-onetrust/README.md | 9 +++++----
.../img/onetrust-popup.jpg | Bin 0 -> 238267 bytes
2 files changed, 5 insertions(+), 4 deletions(-)
create mode 100644 packages/consent/consent-wrapper-onetrust/img/onetrust-popup.jpg
diff --git a/packages/consent/consent-wrapper-onetrust/README.md b/packages/consent/consent-wrapper-onetrust/README.md
index 7b7088fd0..5e9a8fc30 100644
--- a/packages/consent/consent-wrapper-onetrust/README.md
+++ b/packages/consent/consent-wrapper-onetrust/README.md
@@ -1,7 +1,8 @@
-This package is for the OneTrust integration for analytics consent
+# @segment/analytics-consent-wrapper-onetrust
-Try our Playground!
-See: [Next.js CodeSandbox using npm initialization](https://codesandbox.io/p/sandbox/focused-bhaskara-jysqr5)
+### Try our Playground! [Next.js CodeSandbox](https://codesandbox.io/p/sandbox/focused-bhaskara-jysqr5) 🚀
+
+
# Quick Start
@@ -24,7 +25,7 @@ See: [Next.js CodeSandbox using npm initialization](https://codesandbox.io/p/san
### Ensure that consent is enabled and that you have created your Integration -> Consent Category Mappings
- Ensure that your integrations in the Segment UI have consent enabled, and that they map to your Consent Category IDs (also called Cookie Group IDs or Cookie Consent IDs).
- The IDs look like "CAT0001", "CAT0002"and are configurable in OneTrust
+ The IDs look like "C0001", "C0002"and are configurable in OneTrust
![onetrust category ids](img/onetrust-cat-id.jpg)
- Debugging: this library expects the [OneTrust Banner SDK](https://community.cookiepro.com/s/article/UUID-d8291f61-aa31-813a-ef16-3f6dec73d643?language=en_US) to be available in order interact with OneTrust. This library derives the group IDs that are active for the current user from the `window.OneTrustActiveGroups` object provided by the OneTrust SDK. [Read this for more information [community.cookiepro.com]](https://community.cookiepro.com/s/article/UUID-66bcaaf1-c7ca-5f32-6760-c75a1337c226?language=en_US).
diff --git a/packages/consent/consent-wrapper-onetrust/img/onetrust-popup.jpg b/packages/consent/consent-wrapper-onetrust/img/onetrust-popup.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..358972a4f00b5f39c5202075ed81608be56a918f
GIT binary patch
literal 238267
zcmeFZ2Ut_xwkR5;H|ZipLN6j!iqaw?T|_`dK!}L+E+9cdf+8Tj2`DH*sZymYAfY2D
zARr(hLV`*SB$Ni{fG6O!KLkuX$80PH(0$EvsPJ%!n77zm+6Nnx-qXQiQzIgw34m?07|L@o1
zy+I6r)B%AEfL{=ZzL4(UYZe~)`(1{TLi)d-GqU`yc!*(*^$HCQ(os0@8!Pf?VBv-9yE1xqEsC=u2+3p(Vw=Z|h6iYg(yV1sS<}d7It4
z<8F8F(iOLRzHVo4OF|69^-U8z|(hbd+69+F!|fFz<>IZf9qs;c(`)-Y30B>o+@f*&z@CL
zRaa40R|0A%g+v5|y26wKLZtrwh70Z?Zg;$cLcIe6#DBlh^;Te5sJqi
z28G@6`{SLr-BjHD-2L4HLPG%X)l`1J>b9FsNZ2hOcel{L_3XT>rwVYY@}F*~{BGet
zwD`Ni?@Is}zfb>x4+HVP%3m1x3j=>);4cjPg@L~?@c%yy{JTWu9sr0@;efmZI_w1T
zurRVPl+e>jf{yUe(euz9_JY8Gl*dT-NBJ$Q{VsGz=ouK9m|0la*ntX7+@K?L^z=s<
z=ouLq011#T3b+qq;9=yIP%~uWvvFmX4CYtApYei4>U>?7fbAGw`t+?k4_Mib2_6>`
zmXVc{S2(Gmsil49td7wIV-r&|a|^pGSFhP$cW`vO?e5{}~MnudJ>Sws&^-i2I~p2fyJ0gwuZm3;6!0aPa_e9bsUgXJGyf7u}KY-+=QlFiNN~
z@fzANy9V<~s^4efKcDfUu8URbv@KrX)}1l7W6~NJ8NzSS{($UX1MI>7Ey(@>*uTRy
z2QmUA`QPOT@JD~-2ryLiKw)5F_+6Nonf@rue=9716xQE`{U7BJcnRI_C+X=Kfj@Q@
zCYFEP`Vulzw>J(hGw;jbJr|en
zcQB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