Chatspark
Pricing
⌘K

API Reference

v1
⌘K

Widget Analytics and Events

Use supported analytics and server events to measure conversations and connect your systems.

Agent Analytics

The dashboard reports conversation and usage metrics. Pro and Enterprise can configure a GA4 measurement ID in agent settings for widget tracking. See Analytics and AI Agent tracking.

Server Events

Enterprise server integrations can subscribe to documented webhook events. Use the server event payload and signature, rather than relying on a browser callback, for business workflows.

Browser Event Boundary

No general conversation callback contract
The standard widget does not currently provide a documented parent-page user-message, agent-response, lead-captured, or action-triggered event contract. Do not build required workflows around these callback names.

Website Controls

Use Widget Controls to open or close an existing widget. Use a website trigger button to start a conversation with a question.

Previous

Controls

Next

Custom Messages