Measure when users see a reply to their onboarding chat input (#23574)

This commit is contained in:
scotttong authored and GitHub committed 2026-12-02 18:03:08 -08:00
1 parent 2b65b97cae
commit b0f682b66b
17 files changed
+367 -7

No files matched your search

+13
View File
@@ -62,3 +62,16 @@ Example:
| `400` | Validation error (unknown event name, disallowed extra property, or invalid slug/enum). |
| `403` | Unauthenticated, non-board actor, or caller lacks access to `companyId`. |
| `429` | Per-actor rate limit exceeded (default 120 events per 60 seconds). |
The chat send event includes the submitted input UUID (`message_id`) and its
conversation UUID (`chat_id`). A composer send uses its saved comment ID. Explicitly sending an onboarding
welcome answer uses the answered interaction ID. Selecting an option alone
produces no event.
The Cloud browser emits `agent_chat_reply_displayed` when the signed-in chat
owner can see reply text in the focused onboarding chat. The event carries
`surface=onboarding_chat`, `reply_kind=response_to_user`, and the same chat
and triggering message IDs as the send. It uses the run's triggering input to
attribute the reply. A stored browser receipt suppresses repeat displays in
the same chat, including after reload. Count unique people in the funnel.
Historical run success cannot establish that a person saw a reply.