Web chat lifecycle

From Genesys Documentation
Revision as of 13:24, August 10, 2020 by DannaShirley (talk | contribs) (Published)
Jump to: navigation, search
This topic is part of the manual Journey JavaScript SDK for version Current of Genesys Predictive Engagement.

See the lifecycle of a web chat and the metrics that we capture at each state along the way. Lifecycle states are used in reporting and in determining the triggering behavior of action maps that use web chats.

Web chat lifecycle

The following diagram shows the stages that occur during the lifecycle of web chats after they are offered to customers. Subsequent sections provide details about specific states, including the events that can occur and the data that is available for use with the Events methods for web actions. The section, Terminal states, explains how states ensure that customers do not repeatedly see the same offer to chat.

For information about how web chats are offered, see Offered action maps.

Lifecycle.png

1. Web chat invitation

1ChatInvite.png

State Event Description Data collected
offered Web Actions Offered The customer's activity has qualified an action map, and a proactive invitation is offered. See Event types for web actions.
accepted Web Actions Accepted The customer accepts the invitation by clicking a button like, Yes, please. See Event types for web actions.
rejected Web Actions Rejected The customer rejects the invitation by either clicking X or a button like, No, but thank you. This is a terminal state. See Event types for web actions.
errored Web Actions Errored An error occurred in the widget that prevented the engagement from occurring.

Note: This event does not have a corresponding metric in the Action Map Performance Report.

See Event types for web actions.

In addition, the errorMessage field is available.

ignored Web Actions Ignored The customer has ignored the invitation by navigating away from or around it. This is a terminal state.

Note: This event does not have a corresponding metric in the Action Map Performance Report.

See Event types for web actions.


timed out Web Actions Timed Out The timeout period has been reached and the invitation has been rescinded. This is a terminal state.

Note: This event does not have a corresponding metric in the Action Map Performance Report. The timeout period is configurable via the widget.

See Event types for web actions.

2. Web chat form

2ChatForm.png


State Event Description Data collected
rejected Web Actions Rejected The customer cancels the form by either clicking X or a button like Cancel. This is a terminal state. See Event types for web actions.

3. Web chat window: before agent connects

3ChatWindowPreAgent.png


State Event Description Data collected
started Web Actions Started After the customer submits the form, a chat interaction is initated. See Event types for web actions.


abandoned Web Actions Abandoned The customer closes the chat window before an agent connects. This is a terminal state. See Event types for web actions.

4 Web chat window: after agent connects

4AgentConnected.png


State Event Description Data collected
engaged Web Actions Engaged An agent accepts the chat and is connected with the customer. This is a terminal state. See Event types for web actions.

5. Web chat completion

5ChatCompletion.png


State Event Description Data collected
Not applicable/Not tracked Not applicable/Not tracked Either the customer or the agent ends the chat.

Note: This event does not have a corresponding metric in the Action Map Performance Report.

See Event types for web actions.

Terminal states for web chats

In the web chat lifecycle, certain states are considered terminal, or final, states. If a customer navigates to a web page where an action map is set to trigger a web chat, the action map will not offer the web chat if it is already in a terminal state. This ensures that a customer does not receive the same offer to chat after the customer has already accepted the offer or has indicated that they are not interested in that particular chat offer.

Terminal states for web chats are:

  • Engaged
  • Rejected
  • Timed out
  • Ignored
  • Abandoned

For more information, see Define an action map's triggers.

Report metrics and events

The metrics used in the Action Map Performance report metrics correlate directly with the event types for web actions. For more information about metrics for web chats, see Monitor a web chat's performance.

Comments or questions about this documentation? Contact us for support!