PostHog logoPostHogAnalytics

PostHog setup for product analytics

Analytics, replay, feature flags and experiments in one tool. We set it up with a clear tracking plan and masking that keeps sensitive data out of replay.

What we build with PostHog

  1. 01

    Application funnels

    Measure each step of an onboarding or application flow and find the field where people quit.

  2. 02

    Session replay

    Watch anonymised sessions to understand confusing screens, with inputs masked by default.

  3. 03

    Feature flags

    Release new features to a percentage of users or internal staff before everyone.

  4. 04

    Experiments

    Run A/B tests on pricing pages or flows and measure the effect on real conversions.

How we wire in PostHog

PostHog logoYou

Keep PostHog, connect it properly

We instrument product analytics, funnels, session replay and feature flags with PostHog, with sensitive fields masked by default.

What PostHog brings

PostHog puts the tools product teams usually buy separately in one place: event analytics, funnels, session replay, feature flags, A/B testing and surveys. Because they share one dataset, you can watch replays of people who dropped out of a funnel or measure an experiment against a real outcome. It offers US and EU cloud hosting, and a self-hosted option exists for smaller deployments.

For high-trust products, the combination of funnels and replay is especially useful for improving online applications, where small points of confusion cost completions.

One tool also means one set of privacy settings and one bill. PostHog bills by usage, so we track events that answer real questions and skip noisy automatic ones. Retention and access settings are reviewed with you before launch.

How we set up PostHog

We agree a tracking plan before writing code, so event names are consistent and useful. Front-end capture runs through a reverse proxy on your own domain, which reduces loss from ad blockers. Key outcomes like an approved application are captured server-side after they're confirmed, with the personal API key kept on the server.

Session replay masks all inputs by default, and we add extra masking for any screen showing financial or identity data. Feature flags are evaluated on the server where they gate sensitive behaviour, with safe defaults if PostHog is unreachable. We set up a separate development project for testing so production data stays clean. It's a core part of our conversion optimization work and pairs well with Segment when you need more destinations.

Questions, answered

Still deciding? Book a 30-minute call.

  • Session replay can be used safely in financial applications if it's configured carefully. PostHog masks text inputs by default, and we add masking for any element showing account numbers, balances or identity details. Some teams disable replay on the most sensitive screens entirely. Review your privacy policy and consent flow before turning it on in production.

  • Many teams use both. Google Analytics is strong for marketing attribution, acquisition channels and integration with Google's ad tools. PostHog is stronger for understanding behaviour inside your product, with funnels, replay, feature flags and experiments tied to individual users. If you can only maintain one, choose based on whether marketing or product questions matter more.

  • A reverse proxy sends analytics events through your own domain instead of PostHog's, which helps them get past ad blockers and privacy extensions that block known analytics hosts. That gives more complete data. It still respects consent: if a visitor opts out, events aren't sent at all. Setup is a small configuration on your hosting platform.

Start this week

Integration work needs back-end engineering, which is on the Growth plan.

Subscribe online, or book a call first.

More in Analytics

Results in production

All work

Start building this week

Subscribe online in a minute, or talk it through on a call first.