Skip to content
IT glossary
Data and MLUpdated December 3, 2026

PostHog

PostHog is a platform that records actions people take in a website or app. Teams use it to see which features people use, where they drop out of a process, and whether they come back.

Also known as: product analytics

What PostHog does

PostHog is a product analytics platform. A team might use it to find out whether new users reach a useful milestone, such as exporting their first report, or which step in the setup process most people abandon. Product analytics is the practice of answering these questions; PostHog is one tool for doing it. It also offers session replay, feature flags, and A/B testing.

From user actions to reports

PostHog reports are built on events. An event has a name, a timestamp, and an identifier (distinct_id). Properties supply extra context: a report_exported event might include the export format. Browser and mobile SDKs can send events, as can backend services through an SDK or API. Browser autocapture can record interactions such as clicks, but it cannot tell whether clicking Export actually produced a file. Track the successful export at the point where the application knows it completed.

Identity matters when a journey spans multiple events. Before sign-in, the browser SDK can assign an anonymous ID. After sign-in, the app can call identify with a stable account ID to link that browser's anonymous activity to the signed-in user. Backend events for the same user should use the same stable ID. Without consistent identification, one person's journey can appear as two separate users and make a funnel look worse than it is.

Example: measuring activation

Suppose a reporting app defines activation as exporting a report within seven days of signup. In PostHog, the team builds a funnel with signup_completed as step one and report_exported as step two, in that order, with a seven-day conversion window. If 60 of 200 users who signed up complete the second step within the window, conversion is 30%. Five exports from one user still count as one converted user in this funnel. To answer a different question—whether users keep exporting reports after their first success—the team can build a retention report instead.

Common pitfalls and interview questions

A funnel shows how common a drop-off is. A session replay can show what happened in one browser session, but one recording does not establish why most users left. Likewise, a feature flag controls who sees a change; a controlled A/B test additionally needs random assignment and a metric chosen before looking at results. Before enabling autocapture or replay, verify that sensitive content is masked or excluded. Avoid putting passwords, tokens, or unnecessary personal data in event properties.

In an interview, you might be asked how to track a checkout funnel. Explain which events you would collect, which system should emit them, and how you would validate the counts. For example, a browser can report that checkout started, but the backend should report a successful payment only after confirmation and avoid counting it twice if a payment notification is retried.