Info |
---|
Purchase event optimization is under the assumption that in the medium term, the Backend Purchase will be the source of truth. |
Table of Contents | ||
---|---|---|
|
Table 1: Event properties to add to Backend Purchase from eCommerce Purchase
Ecommerce Event Property | Conclusion | Comment |
---|---|---|
Address Type | ||
Has Upsell | ||
hasSavedDeliveryAddress | It’s important information to know the # of users making order with a saved delivery address to gather insights on store locator features | |
hasSelectedRecentAddress | It’s important information to know the # of users making order with a recent delivery address to gather insights on store locator features | |
Rewards | ||
totalDeliveryOrderFeeAmount | ||
Upsell Total | ||
Product Count | Loyalty Cart Data | |
products | Loyalty Cart Data | |
products.added_to_cart_time_ms | Loyalty Cart Data | |
products.cartId | Loyalty Cart Data | |
products.comboChild | Loyalty Cart Data | |
products.custom_attributes.cartId | Loyalty Cart Data | |
products.custom_attributes.comboChild | Loyalty Cart Data | |
products.custom_attributes.isDonation | Loyalty Cart Data | |
products.custom_attributes.isExtra | Loyalty Cart Data | |
products.custom_attributes.Item Level | Loyalty Cart Data | |
products.custom_attributes.L1 | Loyalty Cart Data | |
products.custom_attributes.L2 | Loyalty Cart Data | |
products.custom_attributes.L3 | Loyalty Cart Data | |
products.custom_attributes.L4 | Loyalty Cart Data | |
products.custom_attributes.L5 | Loyalty Cart Data | |
products.custom_attributes.rewardItem | Loyalty Cart Data | |
products.custom_attributes.sublevelItems | Loyalty Cart Data | |
Loyalty Cart Data | ||
products.isDonation | Loyalty Cart Data | |
products.isExtra | Loyalty Cart Data | |
products.Item Level | Loyalty Cart Data | |
products.L1 | Loyalty Cart Data | |
products.L2 | Loyalty Cart Data | |
products.L3 | Loyalty Cart Data | |
products.L4 | Loyalty Cart Data | |
products.L5 | Loyalty Cart Data | |
products.name | Loyalty Cart Data | |
products.position | Loyalty Cart Data | |
products.price | Loyalty Cart Data | |
products.quantity | Loyalty Cart Data | |
products.rewardItem | Loyalty Cart Data | |
products.sublevelItems | Loyalty Cart Data | |
products.total_product_amount | Loyalty Cart Data |
...
Ecommerce Event Property | Conclusion | Comment |
---|---|---|
Table 3: Event properties to add to Backend Purchase
Ecommerce Event Property | Conclusion | Comment | ||||||
---|---|---|---|---|---|---|---|---|
Promotional Code |
If a user makes a purchase with a promo code, we don’t save that attribute in the purchase event | |||||||
Promotional Code Submitted |
Not clear what’s the difference vs the 1st one. Once making the purchase, the promotional code will be used. Code applied status should be a property of an interaction event | |||||||
Detail Promo Code Submited |
Not clear how to have it implemented in the Backend Purchase as the purchase is the final state. The promo code being submitted comes at an earlier stage and would be covered as a property of the interaction event | |||||||
Coupons |
We already have a property called Offer Applied (True/False) and a property called Offer ID with the Sanity ID of the coupon applied. | |||||||
Delivery fee |
We already have that property where we specify the amount of delivery fee the user has been charged | |||||||
Device Date |
At the time of the purchase, the event will fire with a certain timestamp. As it is a BE event, it won’t record information from the FE (Device) | |||||||
Donation amount |
We already have exactly the Donation Amount property live in Backend Purchase. It is currently showing value 0 because there are no donations. | |||||||
Payment Status |
We have 2 events: order_status_change and delivery_status_change where the order status is recorded. We can potentially show whether the Payment was pending for delivery orders when users trigger the Backend Purchase. | |||||||
Tax Amount |
Already exists in the Backend Purchase event, validate the implementation is correctly done |
...