Displaying or hiding the chat bubble based on status
There are two APIs that manipulate the chat bubble's visibility:
API to make the bubble visible:
API to hide the bubble:
The following API, which detects the status of the widget, is useful with the above APIs:
Paste the following code right beneath your Zopim live chat script and it'll start working instantly.
The script above shows the bubble if the chat status is online only. It will hide the bubble if the chat status is either offline or away.