saas-customer-analytics
Made by JeffSaaS analytics: MRR, churn, behavioral scoring, Monte Carlo, interventions, Stripe/PayPal. Use when building subscription analytics, revenue projections, or admin dashboards.
Works With
Quality and Utility come from canonical skill metadata. Community ratings appear separately as stars when subscriber reviews exist.
Subscribe to download
Public previews are available, but downloads, CLI sync, and premium content require an active subscription.
Sign In to Subscribe- Full skill content with deterministic versioning
- CLI sync + local search index
- Access to Jeffrey’s premium library
Save to your account
Saved skills live in your cloud list. Run jsm sync on each machine to pull them locally.
What's New with this Skill
2Updates, enhancements, and release notes for this skill.
SaaS Customer Analytics: 100+ production bug lessons baked in
Updated with lessons from a single-day production audit that found wrong MRR on three admin pages, 433 unlinked payment events, and silent webhook failures across Stripe and PayPal.
- New reference: PROVIDER-AUTHORITATIVE-TRUTH.md with canonical MRR snapshot pattern
- 18 new anti-patterns covering hardcoded prices, stale fields, and silent error degradation
- Dunning safety: cron race guards, advisory lock strategy, refund vs cancellation rules
- Resilience: billing reconciliation cron, mass-cancellation guard, fetchFailed pattern
- Payment integration: customer.subscription.created handling, provider-led reconciliation
A production audit of a live Next.js SaaS uncovered systematic billing and analytics failures. MRR was computed as subscriber count times a hardcoded price, ignoring team seats, annual plans, and provider-side adjustments. Stripe invoice webhooks silently failed to resolve subscriptions because the payload structure changed across API versions. PayPal renewals refreshed billing dates only for past-due subscriptions, letting active ones drift. Test accounts polluted subscriber counts, MRR, churn, and conversion across 10+ admin surfaces that had no shared exclusion function.
New Skill: SaaS Customer Analytics
Production-grade SaaS analytics from first webhook to autonomous agent monitoring. 19 files covering MRR, churn prediction, Monte Carlo projections, behavioral scoring, dunning, and 16 rigorous mathematical methods with Stripe/PayPal integration.
- 16 mathematically rigorous modeling methods ranked by expected value, from Kaplan-Meier survival curves to Bayesian Online Changepoint Detection
- Complete Stripe + PayPal webhook pipeline with idempotent processing, 5-minute reconciliation cron, and distributed locking
- Agent-optimized robot-mode interfaces: CLI commands, REST API, and MCP tools for autonomous SaaS monitoring by AI agents
- 19 behavioral churn drivers across 5 categories with logistic probability scoring and automatic intervention triggers
- 6-phase maturity model from foundation (payment ledger + state machine) through mathematical rigor (Thompson Sampling, CVaR)
- 18 anti-patterns distilled from production experience; every mistake documented with the fix
A methodology for building subscription analytics systems that goes past basic MRR tracking. Covers the full lifecycle: immutable payment event ledgers, subscription state machines with multi-provider tie-breaking, 4-factor behavioral health scoring (0-100), 19-driver churn prediction via logistic regression, Monte Carlo revenue simulation with P10/P50/P90 fan charts, automated retention interventions with Bayesian adaptive thresholds, and a second tier of advanced mathematical methods including survival analysis, conformal prediction, causal inference, and optimal experimental design. Include