Config
Get Zaraz configuration
Update Zaraz configuration
ModelsExpand Collapse
Configuration { dataLayer, debugKey, settings, 7 more } Zaraz configuration.
Zaraz configuration.
settings: Settings { autoInjectScript, contextEnricher, cookieDomain, 11 more } General Zaraz settings.
General Zaraz settings.
tools: Record<string, ZarazManagedComponent { blockingTriggers, component, defaultFields, 10 more } | Worker { blockingTriggers, component, defaultFields, 11 more } >Tools set up under Zaraz configuration, where key is the alpha-numeric tool ID and value is the tool configuration object.
Tools set up under Zaraz configuration, where key is the alpha-numeric tool ID and value is the tool configuration object.
ZarazManagedComponent { blockingTriggers, component, defaultFields, 10 more }
DEPRECATED - List of actions configured on a tool. Either this or actions field is required. If both are present, actions field will take precedence.
DEPRECATED - List of actions configured on a tool. Either this or actions field is required. If both are present, actions field will take precedence.
Worker { blockingTriggers, component, defaultFields, 11 more }
DEPRECATED - List of actions configured on a tool. Either this or actions field is required. If both are present, actions field will take precedence.
DEPRECATED - List of actions configured on a tool. Either this or actions field is required. If both are present, actions field will take precedence.
triggers: Record<string, Triggers>Triggers set up under Zaraz configuration, where key is the trigger alpha-numeric ID and value is the trigger configuration.
Triggers set up under Zaraz configuration, where key is the trigger alpha-numeric ID and value is the trigger configuration.
excludeRules: Array<ZarazLoadRule { id, match, op, value } | ZarazClickListenerRule { id, action, settings } | ZarazTimerRule { id, action, settings } | 4 more>Rules defining when the trigger is not fired.
Rules defining when the trigger is not fired.
loadRules: Array<ZarazLoadRule { id, match, op, value } | ZarazClickListenerRule { id, action, settings } | ZarazTimerRule { id, action, settings } | 4 more>Rules defining when the trigger is fired.
Rules defining when the trigger is fired.
variables: Record<string, ZarazStringVariable { name, type, value } | ZarazSecretVariable { name, type, value } | ZarazWorkerVariable { name, type, value } >Variables set up under Zaraz configuration, where key is the variable alpha-numeric ID and value is the variable configuration. Values of variables of type secret are not included.
Variables set up under Zaraz configuration, where key is the variable alpha-numeric ID and value is the variable configuration. Values of variables of type secret are not included.
consent?: Consent { enabled, buttonTextTranslations, companyEmail, 12 more } Consent management configuration.
Consent management configuration.