How it works
When a visitor interacts with the widget, we callklaviyo.push(["track", ...]) on the Klaviyo client-side API. You see these events as metrics in your Klaviyo account, and you can use them in flows, segments, and reports.
If you don’t have Klaviyo on your website, we skip these calls. You won’t see any performance hit or errors.
Custom events
We fire events viaklaviyo.push(["track", name]). They appear as metrics in Klaviyo.
Using events in Klaviyo
Once events are flowing, you can:- Create flows triggered by any of these events (e.g. send a follow-up email after a user interacts with the chat).
- Build segments based on event activity (e.g. “users who chatted in the last 7 days”).
- Analyze engagement in Klaviyo’s analytics dashboards.
Klaviyo’s client-side tracking only records events for visitors it has already identified (cookied). It doesn’t track events for anonymous visitors.
Requirements
You must already have Klaviyo’s onsite JavaScript (klaviyo.js) on your website.