Optional
ampThis option is responsible of enabling AMP
Optional
blockBlock push to the data layer
Optional
controllerUser's generated controllerId to restore a user session with settingsId NOTE: always store the contorllerId with the settingsId
Optional
controllerUser's generated controllerIds to restore a user session with rulesetId NOTE: always store the contorllerId with the settingsId
Optional
createIndicate if the GPP stub will be enabled on load time. We can not wait for this information to come from the settings, as by the GPP guidelines the __gpp needs to be exposed from the very start.
Optional
createIndicate 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
disableEnforce consents not being saved on Usercentrics server, only using localstorage for the effect
Optional
disableWhen disabled, analytics will not track ui events
Optional
disableWhen disabled, Universal Event Tracking will not push consent changes to window.eutq
Optional
enableWhen enabled will additionally save consent to the deprecated V1 consents API
Optional
euWhen enabled, only servers with EU IPs are used (including CDN)
Optional
excludeArray to exclude vendors from the Accept All method
Optional
languageEnforce a certain initial language for the user (default: user's browser language)
Optional
prefetchEnforce the preload of the services information on init
Optional
rulesetRuleset id which points to an existing geolocation config settingsIds mapping
Optional
sandboxWhen enable, we use sandbox API only
Optional
settingsOptional string, which is added to all settings GET requests, allowing instant cache-busting
Optional
storeStore service id to name mapping
Optional
suppressOptional boolean, this will force InitialUIValues initialLayer to be UI_LAYER.PRIVACY_BUTTON OR UI_LAYER.NONE
Optional
useOptional boolean, if true browser SDK will use the config map Id to fetch the settings id depending on user's geolocation
Optional
userOptional userCountry data to simulate user location
Optional
userOptional User Session data to be restored on init
Optional
versionLock into a specific Usercentrics settings version (default: latest)
Additional options you can pass to the constructor