Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Set a Domain
This parameter is included as a code comment in your generated code
snippet for versions 2.0 and up. When you set the domain, visitors can navigate subdomains during
a chat session without losing their chat. Make sure that each page where you want to allow chats
contains the code snippet.
embedded_svc.settings.storageDomain = "..."
To specify the domain for your deployment, set the parameter to whatever top-level domain you use for chats.