UTM tags
When users click links provided by the AI in chat, autm_source=molin.ai tag is automatically appended to the URL. This allows you to attribute traffic from Molin AI in your analytics platform.
UTM tags injection
Learn how UTM tags are injected into AI chat links.
Google Analytics & GTM (dataLayer)
The widget pushes events towindow.dataLayer for Google Tag Manager integration. This includes a general link click event as well as standard GA4 e-commerce events (view_item_list, select_item, view_item) for product recommendations.
Google Analytics & GTM
See all dataLayer events including GA4 e-commerce tracking.
Klaviyo
If you use Klaviyo, the widget automatically sends custom events to Klaviyo’s client-side API. This lets you trigger flows, build segments, and analyze customer engagement based on chat interactions, with zero configuration.Klaviyo
See which Klaviyo events are sent automatically.
Microsoft Clarity
If you use Microsoft Clarity, the widget automatically tags sessions and fires custom events so you can filter session recordings by Molin AI interactions.Microsoft Clarity
See which Clarity tags and events are sent automatically.
JavaScript lifecycle events
The widget dispatches custom events onwindow (molin:ready, molin:chat-open, molin:chat-close) that your website can listen for to trigger custom logic (e.g. firing your own analytics).
JavaScript lifecycle events
Listen for widget lifecycle events with standard JavaScript.