Promotion Viewed Event
To report an event when a customer views a promotional event.
Function Interface
events.promotionViewed(eventParameter:PromotionViewedEventParameter)
PromotionViewedEventParameter
| Parameter | Type | Required | Description |
|---|---|---|---|
| promotionProperty | PromotionProperty | ✔ | The property group of promotion. |
PromotionProperty
| Parameter | Type | Required | Description |
|---|---|---|---|
| promotionAssetName | string | ✔ | The name of the promotional creative. |
| promotionId | string | ✔ | The ID of the promotion associated with the event. |
| promotionSceneName | string | ✔ | The name of the promotion associated with the event. |
| appName | string | ✔ | The app name where the promotion is created |
Example
preparing...