Trimtab

Blog / Measuring in PostHog and Stripe

Measuring in PostHog and Stripe

How to measure each stage with the tools already in place, step by step, without a data team.

Measuring in PostHog and Stripe

HogQL: querying your PostHog events in SQL, with examples

HogQL is PostHog's SQL dialect, a layer over ClickHouse SQL. Where to write it, the tables, six growth queries, the API limits and the traps.

· 7 min read
Measuring in PostHog and Stripe

PostHog data warehouse: joining Stripe revenue to product events

PostHog's data warehouse syncs Stripe into tables you can join to events in SQL. Setup, the join key, three queries, and what the sync costs.

· 8 min read
Measuring in PostHog and Stripe

PostHog in a Next.js app: install, identify, and first events

Init posthog-js in instrumentation-client.ts, identify users after login, send account and activation events from the server with posthog-node, then proxy.

· 7 min read
Measuring in PostHog and Stripe

PostHog review: what it does well, and where it stops

PostHog is a strong default for a SaaS with an engineer on hand: broad, free to start, SQL on everything. It stops at revenue views, logged-in costs and choosing fixes.

· 7 min read
Measuring in PostHog and Stripe

PostHog identify: linking the anonymous visitor to the signed-up user

Call posthog.identify() with your database user ID at signup, login and app load, and reset() at logout. Where to put each call, and the mistakes that split users.

· 8 min read
Measuring in PostHog and Stripe

How to measure retention in PostHog: cohorts, curves and pitfalls

Measure retention as the share of a signup cohort that repeats your value event in later weeks. How to set it up in PostHog, read the curve and avoid the usual traps.

· 10 min read
Measuring in PostHog and Stripe

PostHog vs Google Analytics: product events against page views

Google Analytics is free and built for traffic and ads. PostHog bills by event and is built for what signed-in users do. Most SaaS teams end up needing both.

· 7 min read
Measuring in PostHog and Stripe

PostHog vs Amplitude: pricing, data model, and what you give up

Amplitude gives 2M free events and bills every event alike. PostHog charges extra for logged-in users but publishes every rate and imports Stripe natively.

· 7 min read
Measuring in PostHog and Stripe

PostHog vs Mixpanel: what really separates them for a SaaS

Both do funnels, retention, replay, flags and experiments. They split on how identified events are billed, annual pricing, Stripe data and free plan retention.

· 7 min read
Measuring in PostHog and Stripe

Stripe Sigma: reading your MRR and churn in SQL, with queries

Stripe Sigma runs SQL on your Stripe data inside the Dashboard. Four queries for MRR movements, churn rate, MRR by product and recently churned customers.

· 8 min read
Measuring in PostHog and Stripe

Product analytics: what it answers that web analytics cannot

Product analytics follows identified people and accounts through your product, so it answers the activation, retention and feature questions traffic reports miss.

· 7 min read
Measuring in PostHog and Stripe

PostHog session replay: when watching sessions actually helps

PostHog session replay helps when you start from a funnel drop-off or a frustration signal and watch with a question. How to set it up, filter it and keep it cheap.

· 7 min read
Measuring in PostHog and Stripe

PostHog pricing explained: what you actually pay, with worked examples

PostHog is free up to 1 million events and 5,000 replays a month, then billed per unit. Three worked bills for a SaaS, and the identified events line most guides skip.

· 7 min read
Measuring in PostHog and Stripe

SaaS tracking plan: the events to set up in PostHog, stage by stage

A SaaS tracking plan fits in about fifteen events, two or three per AAARRR stage. Which ones, how to name them, and the three PostHog settings that decide data quality.

· 6 min read