Prompt
Need SaaS analytics by account and plan
Latest observation
Oct 23, 2026
OpenAI APIWeb search: off
Got it — for a SaaS product, you typically want analytics sliced by account (customer/tenant) and by plan/tier so you can understand usage, value, and expansion risk.
Here’s a practical setup:
1) Core dimensions to track
For every event or metric, attach:
- account_id — the customer/tenant
- plan_id / plan_name — Free, Pro, Enterprise, etc.
- user_id — optional, for seat-level analysis
- workspace/org_id — if accounts can have multiple workspaces
- billing_status — trial, active, past_due, canceled
- signup_date / renewal_date
- source / segment — acquisition channel, industry, company size
2) Key metrics by account
Useful account-level KPIs:
- Active users per account
- Seats used vs seats purchased
- Feature adoption per account
- Usage frequency / engagement
- Retention / churn by account
- Expansion / contraction MRR
- Trial-to-paid conversion
- Time to first value
- Support volume per account
3) Key metrics by plan
Useful plan-level KPIs:
- Accounts on each plan
- MRR by plan
- Conversion rate by plan
- Churn rate by plan
- Average revenue per account
- Usage distribution by plan
- Feature adoption by plan
- Upgrade/downgrade rates
4) Recommended dashboard views
Account dashboard
Show:
- Account name
- Current plan
- MRR / ARR
- Active users
- Usage over last 7/30/90 days
- Feature usage
- Risk flags: declining usage, past_due, no login in 14 days
Plan dashboard
Show:
- Number of accounts
- MRR and ARR
- Trial → paid conversion
- Retention/churn
- Usage per account
- Upgrade rate
- Top features used
Executive dashboard
Show:
- Total MRR
- Net revenue retention
- Logo churn
- Expansion MRR
- New accounts
- Activation rate
- Product engagement trends
5) Event schema suggestion
Track events like:
{
"event_name": "feature_used",
"timestamp": "2026-10-23T12:00:00Z",
"account_id": "acct_123",
"user_id": "user_456",
"plan_name": "Pro",
"workspace_id": "ws_789",
"properties": {
"feature": "report_export",
"page": "analytics_dashboard"
}
}
6) Data model suggestion
Tables:
- accounts
- users
- subscriptions
- plans
- events
- usage_aggregates
- revenue_metrics
This lets you join usage to billing cleanly.
7) If you’re choosing a tool
Common options:
- Product analytics: Amplitude, Mixpanel, PostHog
- BI/dashboarding: Looker, Metabase, Tableau, Power BI
- Warehouse-first: Snowflake/BigQuery + dbt + BI tool
8) Best practice
Make sure you:
- Normalize plan names and account IDs
- Track plan changes over time
- Separate current plan from plan at event time
- Aggregate metrics at both account and plan levels
If you want, I can also give you:
- a SQL schema for this,
- a dashboard spec, or
- a dbt model design for SaaS analytics by account and plan.