Common Calculated Columns

Column NameDescription
Order dateTimestamp reflecting order creation date for converted carts. Calculated by joining quote.reserved_order_id to sales_order.increment_id and returning the sales_order.created_at field
Seconds between cart creation and orderElapsed time between cart creation and order creation. Calculated by subtracting created_at from Order date, returned as an integer number of seconds
Seconds since cart creationElapsed time between the cart’s creation date and now. Calculated by subtracting created_at from the server timestamp at the time the query is executed, returned as an integer number of seconds. Most commonly used to identify the age of a cart
Store nameThe name of the Commerce store associated with this order. Calculated by joining quote.store_id to store.store_id and returning the name field

Common Metrics

Metric NameDescriptionConstruction
Number of abandoned cartsThe count of carts that meet specific “abandonment” conditionsOperation: Count
Operand: entity_id
Timestamp: created_at
Filters:

- [A] is_active = 1
- [B] items_count > 0
- [C] Seconds since cart creation > x, where “x” corresponds to the elapsed time (in seconds) since cart creation beyond which a cart is considered abandoned
Avg time to cart conversionThe average time between cart creation and order creation for converted cartsOperation: Average
Operand: Seconds between cart creation and order
Timestamp: created_at
Abandoned cart valueThe sum of the total abandoned cart potential revenue, where revenue is defined as the base_grand_total fieldOperation: Sum
Operand: base_grand_total
Timestamp: created_at
Filters:

- [A] is_active = 1
- [B] items_count > 0
- [C] Seconds since cart creation > x, where “x” corresponds to the elapsed time (in seconds) since cart creation beyond which a cart is considered abandoned