{{define "content"}}{{with .Data}}

Metrics

{{if .Stripe}}
{{end}}

MRR and its movements, NRR, CAC and CLV, computed from your Stripe data: every customer, invoice, credit note and refund. MRR comes from the invoice lines (what each customer was billed, for which period), so past months are exact. Supermarket only reads Stripe.

{{with .Now}}{{$d := $.Data}} {{with $d.Model.Suggest}}

In {{.Month}}, {{.Customers}} customers ({{usd .MRR}} of MRR) appear in Stripe at once. That usually means billing moved to Stripe then, not that they all signed up that month. Counting from {{.Month}} makes them the starting base instead of new customers.

{{end}}

MRR {{if .Partial}}today{{else}}at the end of {{.Month}}{{end}}

MRR{{usd .MRR}}ARR {{usd (mul12 .MRR)}}
Paying customers{{num .Customers}}
Average per customer{{usd .ARPA}}
NRR, this month{{pct .NRR}}of last month's MRR kept
NRR, 12 months{{pct .NRR12}}what customers of a year ago pay now
{{with $d.CLV}}
Churn{{dec1f .Churn}}%of customers a month
CLV{{cents .Value}}gross profit per customer
CAC{{cents .CAC}}{{if lt .CAC 0.0}}log spend{{else}}12 months{{end}}
CLV : CAC{{if ge .Ratio 0.0}}{{dec1f .Ratio}} : 1{{else}}·{{end}}
{{end}} {{with $d.Bars}} {{range .}}{{.Month}}: {{usd .MRR}}{{if .Label}}{{.Month}}{{end}}{{end}} {{end}}

From the invoice lines of paid invoices (an unpaid one counts once it's paid), in {{$d.Model.Currency}}: each recurring line's amount after discounts, spread over its billing period. Trials ($0), one-off charges, void and uncollectible invoices don't count. A customer whose first invoice in Stripe is a renewal was a customer already: that first payment counts as reactivation, not new, and puts them in no cohort.{{with $d.Model.Start}}{{if ne . "all"}} Counted from {{.}}.{{end}}{{end}}

Month by month

{{range $d.Recent}}{{end}}
MonthMRRCustomersNet changeNRRNewExpansionContractionChurnReactivation
{{.Month}}{{if .Partial}} so far{{end}} {{usd .MRR}}{{num .Customers}} {{usd .NetNew}} {{pct .NRR}} {{if .New}}{{usd .New}} ({{.NewCount}}){{else}}·{{end}} {{if .Expansion}}{{usd .Expansion}}{{else}}·{{end}} {{if .Contraction}}−{{usd .Contraction}}{{else}}·{{end}} {{if .Churn}}−{{usd .Churn}} ({{.ChurnCount}}){{else}}·{{end}} {{if .Reactivation}}{{usd .Reactivation}}{{else}}·{{end}}

Download as CSV (every month)

{{if $d.Cohorts}}

Cohorts

Customers by the month they first paid, and what those same customers pay each month after: the share of their starting MRR (above 100% means they grew), and below it the dollars.

{{range $i, $_ := $d.Span}}{{end}}{{range $d.Cohorts}}{{$co := .}}{{range $k, $r := .Retained}}{{end}}{{end}}
First paidCustomersStarting MRR{{$i}}
{{.Month}}{{.Customers}}{{usd .Start}}{{if ge $r 0.0}}{{pct $r}}
{{usd (index $co.MRR $k)}}{{end}}

Download as CSV (every cohort, 24 months)

{{end}}
{{end}}

Stripe

{{if not .Stripe}}

Save a restricted Stripe key under Settings → Website & sales. For the metrics it needs read access to Customers, Invoices, Credit notes, Charges and Refunds, and Events, on top of Checkout Sessions.

{{else}} {{with .Last}}

Synced {{ago .At}}{{if .Full}} (everything read){{else}} ({{.Events}} changes since the last sync){{end}}{{with .Error}}: {{.}}{{end}}.{{with .Currency}} Currencies: {{range $i, $c := .}}{{if $i}}, {{end}}{{$c}}{{end}}.{{end}}

{{else}}

Not synced yet: the first sync reads all your Stripe history, which can take a few minutes.

{{end}}
Customers{{num .Spenders}}spent more than $0, of {{num (or (index .Counts "customer") 0)}} in Stripe
Payments{{num (or (index .Counts "charge") 0)}}
Invoices{{num (or (index .Counts "invoice") 0)}}
Credit notes{{num (or (index .Counts "credit_note") 0)}}
Refunds{{num (or (index .Counts "refund") 0)}}
{{with .Last}}{{range .Notes}}

{{.}}

{{end}}{{end}} {{end}}
{{if .Products}}{{$m := .Margins}}

Gross margin by product

What you keep of each dollar a product brings in, after what it costs you to deliver (hosting, licences, support). CLV weighs each customer's revenue by the margin of what they buy. An empty box uses the default.

{{range .Products}}{{end}}
ProductBilled, last 12 monthsInvoicesMargin
{{.Name}}{{if and .ID (ne .Name .ID)}} {{.ID}}{{end}} {{money .Revenue}}{{num .Invoices}} {{if .ID}} %{{else}}default{{end}}
Download as CSV
{{end}} {{end}}{{end}}