Products — Impression
The LiSA Player dispatches a message when a product card or sticker becomes visible in the user's viewport.
This message is sent by the LiSA Player to the host app / environment.
Properties
Along with all standard Product message properties, an Impression message includes the following additional properties:
firstOccurrence
Required.
The firstOccurrence property specifies whether this is the user's first instance of a product impression event. A product impression is only regarded as the first occurrence if it has not been triggered repeatedly within a 15-minute window.
messageType
Required.
lsc:product:impression
Legacy Properties
If your integration uses LiSA Player Version 1, none of the properties described above will be available.
For LiSA Player Version 2, legacy properties can be ignored.
action
Required.
impression
⚠️ Please use messageType instead.
target
Required.
carousel.item
⚠️ Please use messageType instead.
Type Definition
interface ProductImpressionMessage extends Omit<
ProductMessage,
'messageType'
> {
firstOccurrence: boolean;
messageType: 'lsc:product:impression';
}Examples
Last updated