Copy page
Custom Data (WebChat)
WebChat webhook payloads can include optional custom data for additional attribution or tracking information. To provide custom data, implement the aktifyCustomDataForWebhook function in your webpage where WebChat is installed.
Limits
| Constraint | Limit |
|---|---|
| Maximum key-value pairs | 20 |
| Maximum key length | 256 characters |
| Maximum value length | 4,096 characters |
| Key and value types | Strings only |
warning
If these limits are exceeded, a warning will be logged to the browser console and the custom data will be stripped from the webhook payload.