From c0c3a82919b12964bdede5b22b4c30088f96f14d Mon Sep 17 00:00:00 2001 From: Seth Silesky <5115498+silesky@users.noreply.github.com> Date: Wed, 10 Jul 2024 12:28:23 -0500 Subject: [PATCH] Update OneTrust README (#1104) --- packages/consent/consent-wrapper-onetrust/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/consent/consent-wrapper-onetrust/README.md b/packages/consent/consent-wrapper-onetrust/README.md index 985527d01..d4b73057a 100644 --- a/packages/consent/consent-wrapper-onetrust/README.md +++ b/packages/consent/consent-wrapper-onetrust/README.md @@ -95,7 +95,8 @@ withOneTrust(analytics).load({ writeKey: ' }) This wrapper uses the `OneTrust.getDomainData()` API to get the consent model for a given geolocation. Default behavior can be overridden by doing: ```ts -withOneTrust(analytics).load(..., { consentModel: () => 'opt-in' | 'opt-out' }) +withOneTrust(analytics, { consentModel: () => 'opt-in' | 'opt-out' }) + .load({ writeKey: '' }) ``` ## Environments