Products
Product Event
Schema
interface ProductEvent extends Omit<
AnalyticsEvent,
'eventType'
> {
eventType:
| 'lsc:product:add-to-cart'
| 'lsc:product:add-to-wishlist'
| 'lsc:product:click'
| 'lsc:product:emoji'
| 'lsc:product:impresssion';
/**
* The product's brand name translated to the visitor's locale,
* if provided.
*/
productBrand?: string;
/**
* The currency code (ISO 4217, 3-letter format) of the product price.
*/
productCurrency?: string;
/**
* Universally unique, LiSA-assigned product identifier.
*/
productId: string;
/**
* The product's original price, if currently on sale.
*/
productOriginalPrice?: number;
/**
* The prouduct's current price.
*/
productPrice?: number;
/**
* The unique product identifier as assigned by the customer's
* ecommerce system.
*/
productReference?: string;
/**
* The product title, translated to the visitor's locale.
*/
productTitle: string;
/**
* Universally unique, LiSA-assigned product variant identifier.
*/
variantId?: string;
/**
* The unique product variant identifier as assigned by the
* customer's ecommerce system.
*/
variantReference?: string;
}
Alias Mapping Table
Alias (contextData key)
Meaning / Use Case
Suggested Adobe Target (placeholder)
Friendly Label Example
lsc:product:add-to-cart
lsc:product:add-to-cartSchema
lsc:product:add-to-wishlist
lsc:product:add-to-wishlistSchema
lsc:product:click
lsc:product:clickSchema
lsc:product:emoji
lsc:product:emojiSchema
lsc:product:impression
lsc:product:impressionSchema
Alias Mapping Table
Alias (contextData key)
Meaning / Use Case
Suggested Adobe Target (placeholder)
Friendly Label Example
Last updated