Understand exactly how customers interact with your AI agent through comprehensive event tracking. Monitor engagement, diagnose issues, and optimize performance—all without impacting user experience.
You can't optimize what you can't measure. Our lightweight telemetry system captures every significant user interaction, lifecycle event, and error condition, transforming raw events into actionable business intelligence — without slowing down your widget or annoying users.
Widget lifecycle events:
- Opened (customer initiated conversation)
- Closed (customer ended interaction)
- Minimized/maximized (engagement behavior)
- Authentication status changes
User interaction events:
- Message sent (what customers ask)
- Response received (what AI answers)
- Feedback submitted (satisfaction signals)
- Suggested action clicked (conversion tracking)
Error conditions:
- Network failures (connectivity issues)
- Authentication failures (access problems)
- Rate limit hits (usage patterns)
Every event is enriched with:
The system honors Do Not Track (DNT) browser signals, respects cookie preferences, allows opt-out mechanisms, and anonymizes sensitive data automatically. You get usage insights without compromising customer privacy or violating regulations (GDPR, CCPA).
Events are emitted through a non-blocking trackEvent function that never delays user interactions. Client-side batching collects multiple events and sends them in efficient batches, reducing network overhead. Even if telemetry fails, the user experience continues unaffected.
Stream events simultaneously to: