The Ringg AI widget dispatches browserDocumentation Index
Fetch the complete documentation index at: https://docs.ringg.ai/llms.txt
Use this file to discover all available pages before exploring further.
CustomEvent events on window. Use these events to sync your page UI, track analytics, or run post-conversation workflows. Widget events are supported from v1.0.17+.
Event reference
| Event | Fires when | event.detail |
|---|---|---|
ringg:widget_status | The widget opens or closes. | status: "maximised" or "minimised"; mode: "audio" or "text". |
ringg:conversation_status | A voice or chat conversation starts or ends. | status: "started" or "ended"; mode: "audio" or "text"; callId: string. |
ringg:feedback_status | The user submits or skips feedback. | status: "submitted" or "skipped"; callId: string; optional rating: number. |
Basic listeners
Analytics example
Page UI example
Useringg: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.
