Reference
Triggered when the chatbox is displayed on the visitor screen (either opened or reduced).
Triggered when a “click to chat” button is displayed on the visitor screen.
Triggered when a chat conversation has started.
Triggered when a chat conversation has ended.
Triggered when a “click to call” button is displayed on the visitor screen.
Triggered when an operator message is received by the visitor.
Triggered when the visitor sends a message.
Triggered when the satisfaction survey is displayed to the visitor.
Triggered when the visitor has answered all the questions in the satisfaction survey.
onChatDisplayed
Triggered when the chat window is displayed on the visitor screen (either opened or reduced).
Example:
onChatHidden
Triggered when the visitor closes the chatbox (after the conversation has been closed by the operator).
Example:
onChatButtonDisplayed
Triggered when a “click to chat” button is displayed on the visitor screen.
Example:
onChatStarted
Triggered when a chat conversation has started.
Context parameter:
context.id
Legacy conversation ID (integer ID)
context.conversationId
New conversation ID in UUID format that you can use in our GraphQL API
context.vuid
Visitor Unique Id is a random string which can be used for analytics purposes
Example:
onChatEnded
Triggered when a chat conversation has ended.
Context parameter:
context.id
Legacy conversation ID (integer ID)
context.endedBy
⚠️ DEPRECATED. The conversation can only be ended by an operator
context.conversationId
New conversation ID in UUID format that you can use in our GraphQL API
context.vuid
Visitor Unique Id is a random string which can be used for analytics purposes
Example:
onCallButtonDisplayed
Triggered when a “click to call” button is displayed on the visitor screen.
Example:
onMessageReceived
Triggered when an operator message is received by the visitor.
Context parameter:
context.time
Local time of the message (visitor time)
context.msg
The text message received
context.date
context.operator.id
Internal iAdvize operator id
context.operator.externalId
The operator external id provided by the customer
Example:
onMessageSent
Triggered when the visitor sends a message.
Context parameter:
context.time
Local time of the message (visitor time)
context.msg
The text message received
Example:
onSatisfactionDisplayed
Triggered when the satisfaction survey is displayed to the visitor.
Example:
onSatisfactionAnswered
Triggered when the visitor has answered all the questions in the satisfaction survey.
Example:
Last updated