Minified version 3.0.1
Development version 3.0.1
After you refer the JavaSscript SDK in your HTML file, you can instantiate an instance of it using the following code:
The SDK client is instantiated by providing a settings object that can contain the following properties:
RECOMMENDATION: We recommend using a single data source for all data within a data center in most cases.
For more information, see Data sources.
By default, the value of the property is set to true. If you disable this property, no requests are made to the DEC API and no tracking and personalization are executed by the SDK. In accordance with GDPR, the visitor provides consent to be tracked or rejects to be tracked. You set the property value to true or false, accordingly.
For more information, see GDPR compliance.
Back To Top