Skip to main content
Looking for events your agent triggers during a call (focus an input, open a modal, scroll somewhere)? See Agent Actions. This page covers events the widget itself emits about its own state.
The Ringg AI widget dispatches browser CustomEvent events on window as its state changes. Use these to sync your page UI, track analytics, or run post-conversation workflows. Lifecycle events are supported from v1.0.17+.

Event reference

Basic listeners

Analytics example

Page UI example

Use ringg:widget_status when your page needs to react to the widget state, such as hiding a competing chat launcher.

React cleanup example

If you attach listeners in a single-page app, remove them when the component unmounts so navigation does not create duplicate handlers.

QA notes

Open and close the widget once, then confirm one ringg:widget_status event per action.
Start and end one voice call, then confirm ringg:conversation_status includes a callId.
Submit and skip feedback in separate tests if feedback is enabled.
In single-page apps, navigate away and back, then confirm listeners are not duplicated.