The Overview tab is the top-level business health dashboard. It surfaces demand sales, orders, AOV, traffic, and conversion rate across two customer segments (New and Returning), and breaks down the period-over-period change into its root drivers via a waterfall bridge.
The tab answers three questions:
| Endpoint | What It Returns | Underlying Source |
|---|---|---|
/api/revenue?start= &end= |
Daily rows: date, demand_sales, new_customer_demand_sales, repeat_customer_demand_sales, new_customer_orders, repeat_customer_orders, new_customer_demand_aov, repeat_customer_demand_aov, total_sessions, new_customer_sessions, repeat_customer_sessions |
Shopify orders data in Snowflake. Demand sales = revenue that has been "demanded" (ordered), net of returns/cancellations per business definition. |
/api/cvr?start= &end= |
Daily rows with CVR-related fields, merged by date into the revenue dataset. | Snowflake — GA4 sessions joined to Shopify orders. |
Eleven cards across three rows: overall, new customers, returning customers. Each shows current value, % delta badge, and prior period value.
Total "demand" revenue for the period — the value of all orders placed, net of known cancellations and returns as processed by the data pipeline. This is the primary top-line metric.
Sum of new customer orders plus returning customer orders for the period.
Average order value across all orders in the period.
Total website sessions during the period across all channels.
Percentage of sessions that resulted in an order. Measures how efficiently traffic is converted to sales.
| Card | Formula | Notes |
|---|---|---|
| New Demand Sales | Σ new_customer_demand_sales | Revenue from first-time customers only. |
| New Orders | Σ new_customer_orders | Order count from first-time customers. |
| New Demand AOV | New Demand Sales / New Orders | Average first-order value. Typically lower than returning AOV as repeat buyers know the brand. |
| Card | Formula | Notes |
|---|---|---|
| Returning Demand Sales | Σ repeat_customer_demand_sales | Revenue from customers who have ordered before. |
| Returning Orders | Σ repeat_customer_orders | Order count from returning customers. |
| Returning Demand AOV | Returning Demand Sales / Returning Orders | Average repeat order value. |
| Chart | Type | What It Shows | Axes |
|---|---|---|---|
| Demand Sales Trend | Line (with fill) | Daily/weekly/monthly demand sales for current period (solid line) + comparison period (dashed line). | X: date; Y: $ |
| New Customer Trend | Bar + Line (combo) | Bars = new customer order count (left axis); Line = new customer demand sales (right axis). | X: date; Y-left: orders; Y-right: $ |
| Returning Customer Trend | Bar + Line (combo) | Bars = repeat order count (left axis); Line = repeat demand sales (right axis). | X: date; Y-left: orders; Y-right: $ |
| Traffic & CVR | Bar + Line (combo) | Bars = total sessions (left axis); Line = CVR % (right axis). Useful for spotting traffic spikes that didn't convert. | X: date; Y-left: sessions; Y-right: % |
The waterfall (bridge) chart decomposes the period-over-period change in Demand Sales into four drivers, answering: "Was the gap driven by order volume or pricing? And in which customer segment?"
The bridge uses a price-volume decomposition. Each driver isolates one dimension while holding the other constant at the prior period's rate.
| Driver | Formula | Interpretation |
|---|---|---|
| Starting Point Anchor bar |
prev_new_orders × prev_new_aov + prev_ret_orders × prev_ret_aov |
Comparison period demand sales. The baseline everyone is departing from. |
| New Order Volume | (curr_new_orders − prev_new_orders) × prev_new_aov |
Impact of acquiring more/fewer new customers, priced at the prior AOV. Isolates volume from price. |
| New Customer AOV | curr_new_orders × (curr_new_aov − prev_new_aov) |
Impact of new customers spending more/less per order. Isolates price from volume. |
| Repeat Order Volume | (curr_ret_orders − prev_ret_orders) × prev_ret_aov |
Impact of more/fewer repeat purchases, priced at prior AOV. |
| Repeat Customer AOV | curr_ret_orders × (curr_ret_aov − prev_ret_aov) |
Impact of repeat customers spending more/less per order. |
| Ending Point Anchor bar |
curr_new_orders × curr_new_aov + curr_ret_orders × curr_ret_aov |
Current period demand sales. The four drivers sum to exactly the gap between start and end. |
Below the waterfall, a driver attribution table ranks all four drivers by absolute dollar impact. Each row has a proportional bar showing its share of total absolute impact and its dollar contribution.
Below the waterfall, a CVR decomposition panel explains why conversion rate changed. It breaks CVR into its traffic-mix and segment-efficiency components.
The key insight: CVR can change because (a) the mix of traffic shifted (e.g., more low-converting paid traffic), (b) the underlying conversion efficiency changed, or (c) both.
| Control | Options | Effect |
|---|---|---|
| Period | Fiscal Wk, WTD, MTD, PTD, Last N Days, Custom | Re-fetches all data for the new date range. All cards, charts, and waterfall update. |
| Comparison | Prev Period, Prev Week, Prev Month, Prev Year, Custom | Re-fetches comparison period data. Affects all badge deltas and the Sales Trend dashed line. |
| Granularity | Daily, Weekly, Monthly | Controls aggregation level of all four trend charts. Does not re-fetch data — aggregates client-side. |
Jack Archer uses a 4-5-4 retail fiscal calendar. Weeks start on Monday. The fiscal year begins in late December (FW1 ≈ last week of December).
The calendar is hardcoded in the dashboard as FISCAL_CAL — an array of 53 weekly entries, each with: week number (w), start date (Monday), end date (Sunday), fiscal month number (fm), and fiscal month label (fl).
| Period Mode | Date Range | Best Used When |
|---|---|---|
| Fiscal Week (FW) | Mon–Sun of the selected week (7 days) | Week-level performance review |
| WTD | Monday of current calendar week through today | In-week monitoring (partial week) |
| MTD | 1st of current calendar month through today | Calendar-month tracking |
| PTD | First Monday of current fiscal period through today | Fiscal-period tracking mid-month |
| Last N Days | Rolling window ending today (7/14/21/30/60/90 days) | Trend analysis independent of fiscal calendar |
| Custom | User-specified start and end dates | Ad-hoc analysis, specific events |