Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InitOptions

Additional options you can pass to the constructor

Hierarchy

  • InitOptions

Index

Properties

Optional controllerId

controllerId: undefined | string

User's controllerId for enabling Cross-Device Consent Sharing

Optional createTcfApiStub

createTcfApiStub: undefined | false | true

Indicate if the TCF stub will be enabled on on load time. We can not wait for this information to come from the settings, as by the TCF guidelines the __tcfapi need to be exposed from the very start.

Optional language

language: undefined | string

Enforce a certain initial language for the user (default: user's browser language)

Optional version

version: undefined | string

Lock into a specific Usercentrics settings version (default: latest)