Promotions
Promotion View and Click Events
Promotion view and click events help you track interactions with internal offers on your website.
For example, when a promotional banner is displayed on your homepage, trigger a promotionViewed event.
If the visitor clicks on the banner, trigger a promotionClicked event to capture the engagement.
promotionViewed
| Trait | Type | Description |
|---|---|---|
| promotion_id | String | Promotion’s ID |
| creative | String | Promotion’s creative |
| name | String | Promotion’s name |
| position | String | Promotion’s position |
Example:
ppopAPI.sendTraits('promotionViewed', { promotion_id: 'promo_1', creative: 'top_banner_2', name: '75% store-wide shoe sale', position: 'home_banner_top' });
promotionClicked
| Trait | Type | Description |
|---|---|---|
| promotion_id | String | Promotion’s ID |
| creative | String | Promotion’s creative |
| name | String | Promotion’s name |
| position | String | Promotion’s position |
Example:
ppopAPI.sendTraits('promotionClicked', { promotion_id: 'promo_1', creative: 'top_banner_2', name: '75% store-wide shoe sale', position: 'home_banner_top' });
Want to keep learning?
Read the next article about Share & Review Events to understand how Powerpop tracks social shares and customer reviews for deeper engagement insights.