We've detected that you are using the Brave browser. This site does not display correctly when the Brave Shields are enabled. Please set your Shields to Down.
Jump to Content
myOneTrust
Developer Forum
Technology Partners
SDK Reference
Recipes
API Reference
Changelog
myOneTrust
Developer Forum
Technology Partners
Subscribe via RSS
SDK Reference
Subscribe via RSS
SDK Reference
Recipes
API Reference
Changelog
iOS & tvOS SDK (Legacy)
All
Pages
Start typing to searchβ¦
Getting Started
OneTrust SDK Reference
Quick Start Guide: SDKs
SDK Overview
Scanning and Categorizing SDKs
How App Scanner Works
Scan Apps via API
Publish Changes
Mobile & OTT/CTV SDKs
Quick Start Guide: Website Scripts
OneTrust Hands-On Lab
Additional Resources
Managing Known Users
Cross Domain and Cross Device Consent
Unified Profile
Data Discovery Connector SDK
IAB TC String Encoder
Web Form Collection Point JavaScript SDK
Command queue for embedded web forms
Common SDK Methods (External web form)
Embedded web forms methods and events
Sample JavaScript SDK and Instructions
Trigger Collection Points
SDK Reference
OneTrust Next Generation CMP SDKs
Android SDK
Getting Started
Download and Import the SDK
Sample App
Initialize the SDK
Display User Interfaces
Customize User Interfaces
When Consent Changes
Additional Resources
Multi Profile Consent
Passing Consent to WebView
SDK Logging
Google Advertising ID
IAB CCPA US Privacy String
IAB Transparency and Consent Framework (TCF)
IAB Global Privacy Protocol
CNIL Continue Without Accepting
Proxy SDK Network Calls
Google Consent Mode
Universal Consent Purposes
API Reference
Legacy to Next Gen SDK Deprecated Methods
CMP Configuration Data
Android SDK (Legacy)
Getting Started
Sample App
Download and Import SDK
Adding SDK to App
Initialize SDK
Display User Interfaces
Customize User Interfaces
When Consent Changes
Additional Resources
Multi Profile Consent
Passing Consent to WebView
SDK Logging
Google Advertising ID
IAB CCPA US Privacy String
IAB TCF 2.2
IAB Global Privacy Protocol
CNIL Continue Without Accepting
Proxying SDK Network Calls
Google Consent Mode
API Reference
Universal Consent Purposes
Changelog
iOS & tvOS SDK
Getting Started
Sample App
Download and Import the SDK
Initialize the SDK
Display User Interfaces
When Consent Changes
Additional Resources
Customize User Interfaces (Optional)
Passing Consent to WebView
App Tracking Transparency
IAB Transparency and Consent Framework (TCF)
IAB Global Privacy Protocol
IAB CCPA US Privacy String
Google Consent Mode
Universal Consent Purposes
SDK Logging
Proxying SDK Network Calls
Multi Profile Consent
API Reference
OneTrust SDK Helpers
OneTrust UI Helpers
OneTrust SDK Additional Helpers
Groups (Categories/Purposes) Helpers
SDK List Helpers
Vendors Helpers
Multi-Profile
Universal Consent Purposes Helpers
Prompts
Proxy
Additional Information
Legacy to Next Gen SDK Deprecated Methods
CMP Configuration Data
General Vendors and IAB Data
Universal Consent Data
Proxy
iOS & tvOS SDK (Legacy)
Getting Started
Sample App
Download the SDK
Add SDK to App
Initialize SDK
Display User Interfaces
Customize User Interfaces
When Consent Changes
Additional Resources
Multi Profile Consent
Passing Consent to WebView
SDK Logging
App Tracking Transparency
IAB CCPA US Privacy String
IAB TCF 2.2
IAB Global Privacy Protocol
CNIL Continue Without Accepting
Proxying SDK Network Calls
Google Consent Mode
API Reference
Universal Consent Purposes
Changelog
Roku SDK
Getting Started
Download and Import the SDK
Initialize the SDK
Display User Interfaces
When Consent Changes
Additional Resources
Multi Profile Consent
IAB CCPA US Privacy String
IAB Transparency and Consent Framework (TCF)
IAB Global Privacy Protocol
Cross Device and Cross Domain Consent
API Reference
Roku SDK (Legacy)
Getting Started
Download the SDK
Add SDK to App
Initialize the SDK
Display User Interfaces
When Consent Changes
Additional Resources
IAB CCPA US Privacy String
IAB TCF 2.2
IAB Global Privacy Protocol
Cross Device and Domain Consent - Roku
Changelog
HTML5 SDK - Tizen and WebOS
Getting Started
Migrating from the Legacy SDK to the CMP API
Download the SDK
Initialize the SDK
Display User Interfaces
When Consent Changes
Additional Resources
IAB CCPA US Privacy String
IAB Transparency and Consent Framework (TCF)
IAB Global Privacy Protocol
Right-To-Left (RTL) Support
HTML5 SDK - Tizen and WebOS (Legacy)
Getting Started
Download SDK
Configure SDK Parameters
Display User Interfaces
When Consent Changes
Additional Resources
SDK Logging
IAB CCPA US Privacy String
IAB TCF 2.2
IAB Global Privacy Protocol
API Reference
MAUI and Unity SDK
Getting Started
Download the SDK
Add SDK to App
Initialize the SDK
Display User Interfaces
Customize User Interfaces
When Consent Changes
Additional Resources
IAB CCPA US Privacy String
IAB Transparency and Consent Framework (TCF)
IAB Global Privacy Protocol
API Reference
MAUI and Unity SDK (Legacy)
Getting Started
Download the SDK
Add SDK to App
Initialize the SDK
Display User Interfaces
Customize User Interfaces
When Consent Changes
Additional Resources
IAB CCPA US Privacy String
IAB TCF 2.2
IAB Global Privacy Protocol
API Reference
Changelog
Frameworks
React Native
Flutter
Cordova / Ionic
Release Notes
URLs called by the OneTrust Mobile SDKs
Websites
Connecting the OneTrust CMP to Third-Party Platforms
BigCommerce
Ensighten
Facebook Pixel
Google Tag Manager
HubSpot
Magento
Marketo Landing Page
mParticle
Shopify
Squarespace
Tealium Tag Manager
Adobe Experience Platform
Weebly
Performance and Availability of the Cookie Consent Script
OneTrust Cookies
Additional Resources
Web CMP JavaScript Methods
Web CMP Events Guide
Custom Geolocation Integration
Display Preference Center on Script Load
AMP Integration
Cookie Consent Support for AMP Websites
Configuring a Content Security Policy with OneTrust CDN
IAB CCPA: Configuring the US Privacy String
IAB TCF Developer Guide
Using TCF with Header Bidding (TCF Stub)
Using TCF with Prebid
Single Page Applications
Multi-Touch Consent
Google Consent Mode
Custom Common CSS and JavaScript
Custom Common HTML
Server Side Rendering Performance & Availability
PRA/DSAR - Web CMP Opt Out
Bulk Domain Management
Server-Side CMP API
Introduction
Persisting Consent
Get Banner UI
Get Preference Center UI
Get Vendor List UI
Get Universal Consent Preferences UI
Save and Log Consent
Implementation Guidance
Additional Resources
IAB TCF 2.3
IAB Global Privacy Protocol
Loading
Loadingβ¦