Skip to content

Commit 37f7de5

Browse files
committed
docs: add metadata prop
1 parent 802e91a commit 37f7de5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/customization/layout.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ The table below lists all the available properties that modify the chatbot modal
4848
| **Layout** | | |
4949
| `disable-input` | **Type**: `boolean`<br />**Default value**: `false`<br /><br />When set to `true`, the user input field is disabled. |
5050
| `email` | **Type**: `string`<br />**Default value**: ``<br /> An email address or ID for conversation tracking. This ID will be associated with the chat session in your project dashboard for analytics and user tracking purposes. |
51+
| `metadata` | **Type**: `string`<br />**Default value**: ``<br /><br />Custom metadata to attach to chat sessions. Use this to pass additional contextual information (e.g., user plan, page URL, or other identifiers) that will be associated with the conversation for analytics purposes. |
5152
| `expand-modal` | **Type**: `boolean`<br />**Default value**: `false`<br /><br />When set to `true`, the chat modal opens in its expanded state by default. |
5253
| `hide-close-button` | **Type**: `boolean`<br />**Default value**: `false`<br /><br />When set to `true`, the close icon hides. |
5354
| `hide-expand-button` | **Type**: `boolean`<br />**Default value**: `false`<br /><br />When set to `true`, the expand button icon hides. |

0 commit comments

Comments
 (0)