Appearance
Scope "promotions" events
Blade will send some small payloads to the bus whenever a "Promotion" entity is showed or clicked into/from the current browser's session.
onPromoImpression
Fired whenever a "Promotion" is showed to a User.
Let's see an example:
js
{
"id": "PROMO_1234",
"name": 'BlackFriday 2024 sales'
}
Variables full details
Here you can find a detailed description of each variable or sub-branch:
Var | Type | Description |
---|---|---|
id | string | A composed variable which is built by concatenating the string 'PROMO_' with the unique ID of the promotion |
name | string | Custom promotion's name |
onPromoClick
Fired whenever a "user" (or a "customer") will click on a "Promotion" page.
Let's see an example:
js
{
"id": "PROMO_1234",
"name": 'BlackFriday 2024 sales'
}
Variables full details
Here you can find a detailed description of each variable or sub-branch:
Var | Type | Description |
---|---|---|
id | string | A composed variable which is built by concatenating the string 'PROMO_' with the unique ID of the promotion |
name | string | Custom promotion's name |