Newer Version Available

This content describes an older version of this product. View Latest

Customize the Online, Offline, and Loading Chat Text

Set the text that’s displayed to your customers in the chat window when there are agents available, when there aren’t agents available, and when the chat is connecting to an agent. We recommend customizing your labels in Embedded Service setup, but you can use these settings to override what you have in Setup.

Online text

embedded_svc.settings.defaultMinimizedText = "..."

To customize the text that appears in the chat button when agents are online, set the parameter to whatever text you want to show. If you don’t specify a value, the default text “Chat with an Expert” is used.

The defaultMinimizedText parameter is available only for version 3.0 and later code snippets. If you’re using an earlier code snippet version, use the onlineText parameter.

Important

Offline text

embedded_svc.settings.disabledMinimizedText = "..."

To customize the text that appears in the chat button when agents are offline, set the parameter to whatever text you want to show. If you don’t specify a value, the default text “Agent Offline” is used.

The disabledMinimizedText parameter is available only for version 3.0 and later code snippets. If you’re using an earlier code snippet version, use the offlineText parameter

Important

Offline support text

embedded_svc.settings.offlineSupportMinimizedText = “...”

To customize the text that appears in the chat button when agents are offline and the Embedded Service deployment has offline support enabled, set the parameter to whatever text you want to show. If you don’t specify a value, the default text “Contact Us” is used.

Loading text

embedded_svc.settings.loadingText = "..."

To customize the text that appears in the chat button when the chat window is loading, set the parameter to whatever text you want to show. If you don't specify a value, the default text "Loading" is used.

embedded_svc.settings.loadingText replaced embedded_svc.settings.onlineLoadingText for version 3.0 and later code snippets.

Note