By default, in the initialization of Webchat widget, only the
integrationId option is required. However, you can provide more options to override the default behavior of your web chat instance.
|Overrides the teaser message next to the minimized webchat.|
|Overrides the auto-send message when the user opens the launcher.|
|Changes the width and height of the opened chat.|
|Overrides the default color of webchat.|
|Overrides the typography color.|
|Override custom image of launcher.|
|Overrides the assistant avatar.|
|Overrides the title on the chat header.|
|Overrides the system language. Read more about the system language here.|
|Prevents user browsing while the conversation is open.|
|The widget opens automatically without waiting for the user to click on it.|
Webchat default system language
The language of the webchat determines the language of the messages displayed, as highlighted in the image below. The language is selected in order of priority (highest first) as follows:
- If the language field from the visitor information form is selected, the system language updates depending on the user's choice.
- Next, if no language is chosen, the default language specified in the webchat integration configuration is used.
- When neither of the above is available, the language of the user's browser is used.
This ensures that the messages displayed are tailored to the user's preferred language, and provides a seamless experience across different devices and settings.
You can use the language override above to ensure that everyone sees the same language regardless of their browser settings. See the available languages here.