Event-Based Analytics: What It Is and How It Works
Event-based analytics records named interactions and properties instead of page loads alone. Schema, GA4's model, and where product tools fit.
Plain-English definitions of traffic and revenue metrics, with formulas, examples, and the limits of a dashboard calculation.
For the implementation, see how to build a self-hosted Next.js analytics dashboard. To install Plausible or Umami on the App Router, see how to add privacy-friendly analytics to Next.js.
Revenue and SaaS metrics: Monthly Recurring Revenue (MRR), Annual Recurring Revenue (ARR), Churn Rate, Average Revenue Per User (ARPU), Customer Lifetime Value (LTV), Revenue Per Visitor. Each entry links to the Next.js Stripe analytics dashboard template and the SaaS metrics calculator.
Event-based analytics records named interactions and properties instead of page loads alone. Schema, GA4's model, and where product tools fit.
Monthly recurring revenue (MRR) is subscription revenue normalized to one month. Formula, a worked example, and how this template calculates the card.
Annual recurring revenue (ARR) is normalized monthly recurring revenue times 12. Formula, a worked example, and the ARR card on this template.
Churn rate compares customers or recurring revenue lost in a period with the starting base. Formulas, a worked example, and how to compute it from Stripe.
Average revenue per user (ARPU) divides revenue in a period by users in that period. Formula, a worked example, and how to compute it from Stripe.
Customer lifetime value (LTV) estimates revenue expected from a customer. Formula, a worked example, and how to compute it from Stripe yourself.
Revenue per visitor divides period revenue by visitors in that period. Formula, a worked example, and how this template joins Stripe to visitors.