Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Aug 9, 2023
1 parent 1279d4d commit c8a1a59
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions examples/with-consent-next-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ This is an example of using analytics.js with the OneTrust Consent Management Pl
[@segment/analytics-consent-wrapper-onetrust](/packages/consent/consent-wrapper-onetrust)

# Requirements
1. OneTrust Account
2. Segment Write key
3. OneTrust API key (data-domain-script value)
1. Your Segment write key
2. Your OneTrust API key (`data-domain-script` value below)
```html
<script
src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js"
Expand All @@ -18,7 +17,5 @@ This is an example of using analytics.js with the OneTrust Consent Management Pl

# Quick Start
1. `nvm use && yarn install` (from root of monorepo)
2. Set up config:
- `cp .env.local.EXAMPLE.js .env.local.js`
- Fill in required values in `.env.local.js`
3. Run example with `yarn dev`
2. Run example with `yarn dev`
3. Open `http://localhost:3000/?writeKey=<YOUR_WRITEKEY>&otKey=<YOUR_ONETRUST_KEY>` (see [requirements](#requirements) above)

0 comments on commit c8a1a59

Please sign in to comment.