Usage metrics

Customer Analytics is in beta

Customer Analytics is currently in beta and free to use. We're actively developing this feature and would love your feedback.

Usage metrics let you define global activity measurements and track them for each customer. Any event performed by your users – or data from your Data Warehouse tables – can be turned into usage metrics, so that you can understand their activity at a glance and identify expansion opportunities or churn risk.

Usage metrics in customer profile

Example usage metrics

Here are some examples of usage metrics for SaaS products:

MetricEvents to matchUse case
API callsapi_requestIdentify heavy API users for expansion
Feature adoptionfeature_x_usedTrack adoption of new features
Error rate$exceptionSpot customers hitting issues
Export usageexport_createdFind power users

Data Warehouse metrics

You can also create usage metrics from Data Warehouse tables. This is useful when your usage or billing data lives outside of PostHog events – for example, in Stripe or your own database.

When creating a Data Warehouse metric, you specify:

  • Table – The Data Warehouse table to query
  • Timestamp column – The column used to filter rows by date range
  • Group key column – The column used to match rows to customers

Each Data Warehouse metric is limited to a single table.

Limitation

Data Warehouse usage metrics currently only render on group profiles, not person profiles.

Community questions

Was this page useful?

Questions about this page? or post a community question.