What is the dataLayer integration?
The dataLayer integration automatically pushes events to the browser’swindow.dataLayer
object when users interact with the Molin AI widget.
Events
Link Click
When the user clicks a link inside a Molin AI widget conversation, the following event is automatically sent todataLayer
:
Parameter | Type | Description |
---|---|---|
event | string | Always 'molin_link_click' for link click events |
link_url | string | The URL of the clicked link (product page, help doc, etc.) |