For D2C brands and ecommerce ops
Analytics for founders
who hate spreadsheets.
Drop a Shopify export or connect the store. Cohorts, returns, net ROAS and SKU forecasts, each with the query under it and the rows it had to leave out spelled out.
Is Meta actually profitable for us?
- ·Orders joined to spend on channel and day. 212 orders carry no channel tag, direct or a lost UTM, and are reported on their own line rather than credited to a channel that did not earn them.
- ·Returns matched back to the original order date, not the refund date. Matched on refund date, October looks excellent and November looks like a collapse.
- ·Cancellations before dispatch taken out of revenue. The ad platform counts those; your bank did not.
SELECT o.channel,
SUM(o.revenue) / NULLIF(SUM(s.ad_spend), 0) AS gross_roas,
SUM(o.revenue - o.returned_value - o.cancelled_value)
/ NULLIF(SUM(s.ad_spend), 0) AS net_roas,
ROUND(100.0 * SUM(o.returned_value)
/ NULLIF(SUM(o.revenue), 0), 1) AS return_rate_pct
FROM orders o
LEFT JOIN ad_spend s
ON s.channel = o.channel
AND s.spend_date = o.order_date
WHERE o.channel IS NOT NULL
AND o.order_date >= CURRENT_DATE - INTERVAL 90 DAY
GROUP BY o.channel
ORDER BY net_roas;Gross ROAS 3.1x. After returns and cancellations, 1.4x. Meta is where the gap is widest.
Order-level recompute without the join, summed per channel; both agree
Meta is buying customers who send things back. Before cutting the budget, look at the two SKUs driving those returns. A sizing problem on one product is cheaper to fix than a channel is to replace.
What this answer cannot tell you: Whether those customers come back. This is a 90-day window of first-order margin. A channel that looks poor here can still win on repeat purchase, and that takes a cohort run over a longer period.
Three blind spots quietly eating your margin.
×No cohort view, so you cannot tell which channel brings customers who stay
✓Retention curves per acquisition month, built from the order table you already have
×Return rates surface at month end, in a sheet somebody updates by hand
✓A spike above your own baseline is flagged when it happens, with the SKU named
×Platform ROAS never matches the revenue in your books
✓ROAS recomputed from your transactions, after returns and cancellations
What it computes on an order table
And the trap in each one, which is the part a dashboard leaves out.
Cohorts by acquisition month, from order history alone
No tracking install, no tagging project. Group by first-order month, plot the decay, and compare channels on month-three retention rather than on day-one cost.
Margin by city and pin code, with the return rate attached
A region with strong revenue and a 22% return rate is not a strong region. The two numbers are reported together because separately they mislead.
Order and return anomalies against your own baseline
Not a fixed threshold. It learns your Tuesday, so a quiet Tuesday stays quiet and a genuine drop gets flagged the same day instead of at month end.
SKU demand forecast with the season in it
ARIMA or Holt-Winters on your own history, per SKU, with an interval. Detects a repeating festive peak rather than extrapolating last month into December.
Repeat rate and time to second order
The two figures that decide whether a thin first-order margin is a problem or a plan. Split by channel and by first product bought.
Discount impact, separated from demand
What a promotion actually added once you subtract the orders that would have happened anyway, stated as a contribution with its own confidence.
Reads Shopify, Stripe, Meta Ads, Google Ads, GA4, Google Sheets and any CSV, Excel, JSON or Parquet export. What each one pulls.
Drop one export and read the net ROAS.
The demo runs on sample retail orders, so you can see a cohort table and its query before connecting your store.