Complete the Chat JS API payload: hidden fields, aggregated form values, strategy, and conversation data
backlog
Taylor Jennings
Chat's JS API now exposes host-facing event callbacks (onSuccess, onError, onTriggered, and a catch-all eventsHandler) plus a data-captured event — but the event payloads are incomplete for teams building custom tracking. Today data-captured returns only the current form block's values, hidden fields aren't included, and there's no access to conversation-level data or which journey path was taken.
Requested behavior — extend the payloads to expose:
Hidden fields – hidden journey fields (e.g. lead campaign, lead source) are set in the journey but absent from the data-captured payload.
All submitted values aggregated – return the full set collected across every step in one payload, not per-block.
Journey strategy / path chosen – surface which path the visitor took (only playbookId is exposed today, on widget open).
Conversation data – access to conversation-level data / transcript, including AI chat messages.
Why it matters: hidden fields carry attribution data, and teams A/B testing or measuring Chat need the full picture client-side.
Jonathan Gittins
updated the status to
backlog