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 generated controllerId. NOTE: Always use a controllerId provided by the SDK.

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 settingsCache

settingsCache: undefined | string

Optional string, which is added to all settings GET requests, allowing instant cache-busting

Optional version

version: undefined | string

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