Analyze revenue with PostHog AI
PostHog AI tracks revenue trends, builds dashboards, and analyzes your business performance using natural language. Ask about MRR, churn, revenue by segment, or plan comparisons – and PostHog AI queries your revenue data to find answers.
How it works
PostHog AI can work with your revenue data to:
- Track revenue over time – MRR, ARR, total revenue, and growth rates
- Break down by dimension – revenue by product, plan, region, or customer segment
- Compare periods – this quarter vs last quarter, month-over-month growth
- Identify trends – growth drivers, churn patterns, and revenue concentration risks
Revenue data comes from your connected sources (like Stripe) or custom revenue events you've captured.
Revenue metrics PostHog AI can calculate
| Metric | What it measures | Example prompt |
|---|---|---|
| MRR | Monthly recurring revenue | "Show MRR for the past 12 months" |
| ARR | Annual recurring revenue | "What's our current ARR?" |
| ARPU | Average revenue per user | "Compare ARPU across plans" |
| Churn | Revenue lost from cancellations | "What's our revenue churn rate this quarter?" |
| Expansion | Revenue growth from existing customers | "How much expansion revenue did we add last month?" |
| LTV | Lifetime value by segment | "What's the average LTV for enterprise customers?" |
Try it
Select a prompt to try it out in the PostHog app:
Show my revenue for the past yearCreate a dashboard that breaks down revenue by productCompare MRR growth this quarter vs last quarterWhich customer segments drive the most revenue?Show revenue trends for enterprise vs self-serve plans
Tips for better results
- Name your data source – "from Stripe" or "from our
purchase_completedevents" helps PostHog AI query the right tables - Specify the metric – "MRR" vs "total revenue" vs "ARPU" tells PostHog AI exactly what to calculate
- Include comparison dimensions – "by plan" or "by country" adds breakdowns to the analysis
- Set time ranges – "this quarter" or "year over year" scopes the query to the right period
Get started
To start analyzing revenue with PostHog AI, set up PostHog AI.





