Newer Version Available
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.