With a "Count from" month set, that month's cohort is everyone already
paying then, not only those new that month. Both cohort tables now say
"existing customers" under it, the help text explains, and both cohort
CSVs add an existing_customers column.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both cohort tables (MRR retention on Metrics, revenue per customer on
CLV) and their CSVs now show every cohort, each followed to the latest
month, instead of the last 12 or 18 for 12 or 24 months.
Each MRR cohort is now two rows, the share of starting MRR and the
dollars under it, so the numbers line up across months; the month,
customers and starting MRR span both rows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each cohort cell now gives what the same customers pay that month, in
dollars, under the share of their starting MRR. The cohorts CSV adds
month_N_mrr columns after the month_N_pct ones.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When the earliest recurring invoice Stripe has for a customer is a renewal
(billing_reason subscription_cycle), they were a customer already, their
first year free or billed elsewhere. That first payment now counts as
reactivation (movement "existing"), not new: it stays out of New, the
cohorts and CAC, and the month's movements still add up. The customers
export gives the month first seen paying as first_paid. A $0 trial signup
before the first payment still makes a customer new.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Open (unpaid) invoices no longer count toward MRR, so they don't put a
customer in a cohort either; an invoice counts once it's paid. This
matches the customer count, which takes only those who have spent more
than $0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Customers who paid without an invoice (one-off Checkout payments) were
missed, and the Stripe card counted every customer record, deleted ones
too. The sync now reads charges (and follows their events); a customer's
total spend is their successful charges, captured less refunded. A
database synced before reads everything once (sync state version 2).
Until charges are in, paid invoices less refunds stand in.
The Stripe card's Customers now counts those who spent more than $0, "of
N in Stripe", and a Payments count is added.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The MRR page adds churn, CLV, CAC and CLV:CAC. Eight tables download as
CSV (MRR, NRR and revenue cohorts, CAC by month and channel, spend,
products, customers). Metrics → Publish builds an open metrics page from
chosen totals only (never a customer) and opens a pull request that adds
or updates it on the site, checked with a Hugo build.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each customer's MRR at each month's end, from the recurring lines of paid
and open invoices: the amount after discounts over the billing interval,
prorations over their part-period. Moves are new, expansion, contraction,
churn and reactivation (sub-dollar noise ignored); NRR monthly and over
12 months; cohorts by first paid month. A start month, suggested when
most of the business appears at once (billing moved to Stripe), makes
those customers the base. Metrics page with a chart, the month table,
cohorts, and each month's customer moves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Customers, invoices with all their lines (both of Stripe's line shapes),
credit notes, refunds (with their customer) and products: a backfill,
then the Events API every hour, and a new backfill when events have
expired. Metrics page with sync status. Gross margin per product: a
default (60%) and overrides, with names from Stripe's products or the
invoice lines. Schemas 18 and 19.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>