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

MetricWhat it measuresExample prompt
MRRMonthly recurring revenue"Show MRR for the past 12 months"
ARRAnnual recurring revenue"What's our current ARR?"
ARPUAverage revenue per user"Compare ARPU across plans"
ChurnRevenue lost from cancellations"What's our revenue churn rate this quarter?"
ExpansionRevenue growth from existing customers"How much expansion revenue did we add last month?"
LTVLifetime value by segment"What's the average LTV for enterprise customers?"

Try it

Select a prompt to try it out in the PostHog app:

Tips for better results

  • Name your data source – "from Stripe" or "from our purchase_completed events" 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.

Community questions

Was this page useful?

Questions about this page? or post a community question.