Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions docs/window/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,25 @@ Fires when a suggestion chip is clicked.
}
```

## bc-engaged

Fires when the user has engaged with your bot. Use this event to identify the engagement status of your chat (start, engaged, cleared). This event is useful for tracking a user as they navigate your website.

```js
{
type: 'bc-engaged',
payload: {
status: "string" // status of engagement
}
}
```

Status values:
- "start" // user has started a conversation
- "engaged" // user is currently engaged with the bot
- "cleared" // the chat history has been cleared


## bc-feedback-open

Fires when the feedback box opens.
Expand Down