ChatEventHandlerActions
object ChatEventHandlerActions
Provides in-one-place interactions to trigger all available events.
See also
Functions
Link copied to clipboard
Send a ChatWindowOpen event to the analytics server.
Link copied to clipboard
suspend fun ChatEventHandler.conversion(type: String, value: Number, instant: Instant = Clock.System.now())
Send a conversion event to the analytics server.
Link copied to clipboard
Send an arbitrary custom analytics event to the analytics server.
Link copied to clipboard
Trigger event specified in agent console or elsewhere as per your representative instructions. This event is not mandatory though, consult your representative for more information.
Link copied to clipboard
suspend fun ChatEventHandler.pageViewEnded(title: String, uri: String, instant: Instant = Clock.System.now())
send a page view ended event to the server when a previously viewed page is left.
Link copied to clipboard
suspend fun ChatEventHandler.proactiveActionClick(data: ActionMetadata, instant: Instant = Clock.System.now())
Send a proactive action click event to the analytics.
Link copied to clipboard
suspend fun ChatEventHandler.proactiveActionDisplay(data: ActionMetadata, instant: Instant = Clock.System.now())
Send a proactive action display event to the analytics.
Link copied to clipboard
suspend fun ChatEventHandler.proactiveActionFailure(data: ActionMetadata, instant: Instant = Clock.System.now())
Send a proactive action failure event to the analytics.
Link copied to clipboard
suspend fun ChatEventHandler.proactiveActionSuccess(data: ActionMetadata, instant: Instant = Clock.System.now())
Send a proactive action success event to the analytics.