UTM tags
When a user clicks a link the AI provided in chat, the widget appendsutm_source=molin.ai to the URL. You can then attribute that traffic to 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 the molin_lead_collected conversion event for ad campaign optimization, a general link click event, and 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 sends custom events to Klaviyo’s client-side API automatically. You can trigger flows and build segments from chat interactions without configuring anything.Klaviyo
See which Klaviyo events are sent automatically.
Microsoft Clarity
If you use Microsoft Clarity, the widget tags sessions and fires custom events automatically. You can then filter your session recordings to see only those with Molin AI interactions.Microsoft Clarity
See which Clarity tags and events are sent automatically.
JavaScript lifecycle events
The widget dispatchesmolin:ready, molin:chat-open, and molin:chat-close events on window. Your site can listen for these to fire your own analytics or run any other custom logic.
JavaScript lifecycle events
Listen for widget lifecycle events with standard JavaScript.