Promotion events
Promotions shown to the buyer and the ones they apply. All the parameters below are inside ecommerce, together with the common parameters.
view_promotion
Promotions are shown to the buyer.
promotion_idstring- Identifier of the promotion.
promotion_namestring- Name of the promotion.
select_promotion
The buyer applies a promotion.
promotion_idstring- Identifier of the promotion.
promotion_namestring- Name of the promotion.
ob_promotion_codestring- Code the buyer entered.
itemsarray- The items the promotion applies to.
error_promotion
A promotion cannot be applied, for example because the code is not valid.
promotion_idstring- Identifier of the promotion.
promotion_namestring- Name of the promotion.