Widget Events
If you are creating your own widgets or components that rely on data fetched from LiSA APIs, it is important to implement a similar event flow to enable tracking in your analytics tool.
All widget events append identical properties to the foundational properties inherited from the analytics event.
Name | Description |
---|---|
widgetConfigurationId | The identifier associated with the applied widget configuration. |
widgetName | The distinct name assigned to your widget. |
To improve simplicity and readability, the subsequent examples of specific event types exclude the foundational properties inherited from the analytics and widget event.
If an event includes extra properties, the schema and example for each property are specified with the event.
Sent when an error occurs and the widget is unable to be displayed.
Sent when the widget begins its initialization process.
Sent when a viewer interacts by clicking or tapping on a widget item.
Name | Description |
---|---|
itemType | The distinct type of widget item. |
itemSourceId | The identifier associated with the widget item's source. |
itemSourceType | The distinct type of a widget item's source. |
Sent when a widget item becomes visible in the viewport for the first time, with at least 90% of it being displayed.
Name | Description |
---|---|
itemType | The distinct type of widget item. |
itemSourceId | The identifier associated with the widget item's source. |
itemSourceType | The distinct type of a widget item's source. |
Sent when a viewer interacts by clicking or tapping a widget item's like CTA.
Sent once the widget content API response has been successfully fetched and the widget has finished rendering.