{{define "content"}}{{with .Data}}
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.
From the invoice lines of paid and open invoices, 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.{{with $d.Model.Start}}{{if ne . "all"}} Counted from {{.}}.{{end}}{{end}}
| Month | MRR | Customers | Net change | NRR | New | Expansion | Contraction | Churn | Reactivation |
|---|---|---|---|---|---|---|---|---|---|
| {{.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}} |
Customers by the month they first paid, and the share of their first month's MRR they pay each month after: above 100% means they grew.
| First paid | Customers | Starting MRR | {{range $i, $_ := $d.Span}}{{$i}} | {{end}}
|---|---|---|---|
| {{.Month}} | {{.Customers}} | {{usd .Start}} | {{range .Retained}}{{if ge . 0.0}}{{pct .}}{{end}} | {{end}}
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}}{{.}}
{{end}}{{end}} {{end}}