Promotion Viewed Event

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

Function Interface

events.promotionViewed(eventParameter:PromotionViewedEventParameter)

PromotionViewedEventParameter

ParameterTypeRequiredDescription
promotionPropertyPromotionProperty✔The property group of promotion.

PromotionProperty

ParameterTypeRequiredDescription
promotionAssetNamestring✔The name of the promotional creative.
promotionIdstring✔The ID of the promotion associated with the event.
promotionSceneNamestring✔The name of the promotion associated with the event.
appNamestring✔The app name where the promotion is created

Example

preparing...