To report an event when a customer views a promotional event.

Function Interface

events.promotionViewed(eventParameter:PromotionViewedEventParameter)

PromotionViewedEventParameter

ParameterTypeRequiredDescription
promotionPropertyPromotionPropertyThe property group of promotion.

PromotionProperty

ParameterTypeRequiredDescription
promotionAssetNamestringThe name of the promotional creative.
promotionIdstringThe ID of the promotion associated with the event.
promotionSceneNamestringThe name of the promotion associated with the event.
appNamestringThe app name where the promotion is created

Example

preparing...