Skip to main content
If you use Klaviyo on your website, the Molin AI widget automatically sends custom events to Klaviyo. This lets you trigger flows, build segments, and analyze customer engagement based on chat interactions, with zero configuration.

How it works

When a visitor interacts with the widget, we call the Klaviyo client-side API (klaviyo.push(["track", ...])) to fire custom events for key interactions. These events appear as metrics in your Klaviyo account and can be used in flows, segments, and reports.
If Klaviyo is not installed on your website, these calls are silently skipped. There is no performance impact and no errors.

Custom events

Events are fired via klaviyo.push(["track", name]) and appear as metrics in Klaviyo.
EventWhen it fires
molin_chat_openUser opens the chat window
molin_chat_closeUser closes the chat window
molin_message_sentUser sends a message in the chat
molin_link_clickUser clicks a link inside the chat conversation

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 who are already identified (cookied). Anonymous visitors who have not been identified via Klaviyo will not have events tracked.

Requirements

Klaviyo’s onsite JavaScript (klaviyo.js) must already be installed on your website.