Common Calculated Columns
Column Name | Description |
---|---|
Order date | Timestamp 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 order | Elapsed 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 creation | Elapsed 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 name | The 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 Name | Description | Construction |
---|---|---|
Number of abandoned carts | The count of carts that meet specific “abandonment” conditions | Operation: 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 conversion | The average time between cart creation and order creation for converted carts | Operation: Average Operand: Seconds between cart creation and order Timestamp: created_at |
Abandoned cart value | The sum of the total abandoned cart potential revenue, where revenue is defined as the base_grand_total field | Operation: 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 |