PostHog Integration
Connect PostHog for product events, feature usage, user segments, and supported AI chat activity.
Connect PostHog to help Brief understand what identified users do in your product. Brief can use recent events for feature usage and engagement, use your PostHog cohorts or activity-based segments, and analyze supported AI chat activity. This helps you compare product plans and customer descriptions with observed use.
Connect PostHog
- Create a Personal API Key in PostHog API Keys. The Brief form recommends the MCP Server scope preset.
- Open Integrations, find PostHog, and select Connect.
- Enter the API Key. Leave Project at Detect automatically when Brief can identify one accessible project. If several projects appear, choose the intended one.
- Select Save. Brief validates access to the resolved or selected project.
A project-scoped key may resolve its current project even when it cannot list all projects. If project loading fails, the form offers a numeric project ID; you can also save and let Brief try discovery again. A key that can access several projects needs an explicit selection.
The self-service form connects to PostHog US Cloud (app.posthog.com). It has no host or region setting, so these steps cannot connect an EU Cloud or self-hosted PostHog instance.
What Brief uses
- Feature usage: For recent product events, Brief calculates event counts, unique identified users, adoption rates, and average uses per user. If the detailed query returns no rows, a simpler event listing may provide less precise estimates.
- Engagement: Brief calculates monthly active users, average daily active users, and their ratio from recent identified-user events. Product behavior calculations use a 30-day window and require users with an email in PostHog.
- Segments: Brief reads customer-defined PostHog cohorts when present. Without cohorts, it can derive Power, Regular, Casual, and Dormant activity tiers. It may add a dormant tier alongside customer cohorts when none covers inactive users.
- Saved analysis and feature flags: Brief can list saved PostHog insights and dashboards, including a funnel insight you have already built in PostHog. You can ask Brief to inspect feature flags or get bounded counts and trends from recent events. This is separate from the automatically calculated behavior segments.
- AI chat activity: If your project records
chat_message_sentevents, Brief can groupstartevents byconversation_idand use identified users for session, message, and return-rate analysis.completeevents withresponse_time_mscan supply latency. Without those event properties, the related measures cannot be calculated. PostHog product events alone do not imply this AI chat data exists. - Research Signals: If your project records PostHog AI generation events (
$ai_generation) with accessible prompt text in$ai_input, Brief can group themes from those prompts into Research Signals. This uses prompt text, separate from the chat activity measures above.
Open User Intelligence → Behavior. If the view is empty, select Have Brief Analyze Usage; use Sync to refresh an existing view. Inspect the generated segments and the AI Chat Engagement card. Ask Brief about recent usage or a cohort when you want the data in the context of a decision. Brief checks the connected source when building those insights; connection does not guarantee an immediate completed analysis. These usage segments can provide evidence for persona work; Brief does not assume every activity tier is a named persona.
Common problems
- The key is rejected or cannot access the project: Confirm the key is valid and has the needed project read access. Create a replacement key with the recommended preset if necessary, then ask a workspace admin to use Reconnect on a failing connection.
- No project appears: A project-scoped key may still work. If project loading failed, enter the numeric project ID shown in PostHog or let Brief try detection when you save. If loading finished with no projects, check that the key has access to the intended project, then try Save for automatic detection.
- Expected events or segments are missing: Check the selected project and its events in PostHog. Behavior measures need recent identified-user events; cohorts appear only if they exist in that project.
- AI chat metrics are unavailable: Check that
chat_message_sentevents exist in the selected project and carryphase,conversation_id, and user identity. Check the source name on AI Chat Engagement if another AI analytics connection is also configured. - Research Signals are missing: Check that recent
$ai_generationevents contain readable$ai_inputprompt text. Product events alone do not provide prompt themes.
The connection is shared with your workspace. A workspace member can make the first connection. Its card in Integrations shows health warnings; a workspace admin can use Reconnect when it is failing or Disconnect to remove it.
See Mixpanel for another event source and all integrations for other tools.