Skip to main content
About the Resource Center

Web chat lifecycle

Web chat operation

Web chat lifecycle

The following diagram shows the stages that occur during the lifecycle of web chats after offering them to visitors. 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 visitors do not see the same chat offer repeatedly.

For more information about web chat offering, see Offered action maps.

1. Web chat invitation

StateEventDescriptionData collected
offeredWeb Actions OfferedVisitor’s activity qualifies an action map and triggers a chat invitation.See Event types for web actions.
acceptedWeb Actions AcceptedVisitor accepts the chat invitation.See Event types for web actions.
rejectedWeb Actions RejectedVisitor rejects the chat invitation. This state is a terminal state.See Event types for web actions.
ignoredWeb Actions IgnoredVisitor ignored the invitation by navigating away from or around it. This state 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.
erroredWeb Actions ErroredError 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. Also, the errorMessage field is available.
timed outWeb Actions Timed OutChat invitation timed out and was rescinded. This state is a terminal state.

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

See Event types for web actions.

2. Web chat form


StateEventDescriptionData collected
rejectedWeb Actions RejectedVisitor cancels or closes the form. This state is a terminal state.See Event types for web actions.

3. Web chat window: before agent connects


StateEventDescriptionData collected
startedWeb Actions StartedAfter the visitor submits the form, a chat interaction starts.See Event types for web actions.
abandonedWeb Actions AbandonedVisitor closes the chat window before an agent connects. This state is a terminal state.See Event types for web actions.

4. Web chat window: after agent connects


StateEventDescriptionData collected
engagedWeb Actions EngagedAgent accepts the chat and connects with the visitor. This state is a terminal state.See Event types for web actions.

5. Web chat completion


EventDescriptionData collected
Not applicable/Not trackedNot applicable/Not trackedEither the visitor 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 terminal, or final, states. If a visitor visits a web page where an action map is set to trigger a web chat and the web chat is in a terminal state, the action map doesn’t offer the web chat. This action ensures that a visitor does not receive the same chat offer after they accepted the offer or indicated that they are not interested in that 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 in the Action Map Performance report correlate directly with the event types for web actions. For more information about metrics for web chats, see Monitor a web chat’s performance.