Initialization
The recommended initialization flow for the Salesforce Interactions SDK follows a general pattern.
This method initializes the Web SDK with Consent, Identity, and Sitemap features enabled.
Arguments:
Field Name | Field Type | Description |
---|---|---|
consents | Consent[] Promise<Consent[]> | Required. A list of consent data values or a promise that resolves a list of consent data values. |
cookieDomain | string | The domain to use for the first-party cookies that stores identity data. Defaults to the domain of the current site. |
sdkConfig
— An object withconsent
andcookieDomain
fields.
Reinitializes the Web SDK and reevaluates which rules to apply from the configured sitemap.