
Article
What it brings in: projects, persons, group types, groups, cohorts and 18 more.
In PostHog, click your avatar at the bottom left, choose Account settings, then Personal API keys. Or open /settings/user-api-keys on your PostHog address.
Click Create a personal API key and label it Infograph. PostHog counts its rate limits per key, so a key used only by Infograph does not slow down your other tools. Under organisation and project access, keep all access or choose the projects you want synced.
Set Read on every scope. Infograph only reads, and uses: organization, project, user, person, group, cohort, feature flag, experiment, annotation, insight, dashboard, action, event definition, property definition, survey, query (survey responses need it) and early access feature. If you will sync raw events, persons export or sessions, also set Batch export to Write: it lets Infograph start PostHog's file exports, and changes nothing in your project.
Click Create key and copy it straight away. It starts phx_, and PostHog shows it only once.
Open PostHog in Infograph. Choose your Region: US Cloud, EU Cloud, or Self-hosted, where you also type your PostHog address. Paste the key into Personal API key and press Connect. Each project gets its own tables, named after it. Pick the ones you want and Infograph starts loading them. Raw events (UTC), Persons (export) and Sessions (UTC) start unticked, because PostHog bills them: read the next section before you tick them.
Each becomes a table in Infolake that you can chart, report on or ask about. You choose which to sync.
projectsEvery project the key can read, with its name, time zone and when it was created. Every other table is per project.
Ask: “Which PostHog projects does this connection read?”
personsEvery person in the project, with their distinct ids, properties as JSON (email, plan, anything you set) and when they were created. Read whole on every sync, so a person deleted in PostHog drops out.
Ask: “How many people signed up each week this quarter?”
group_typesThe kinds of group you track, such as company or team. Needs group analytics in PostHog.
Ask: “What group types do we track?”
groupsEvery group, such as each company, with its key, properties as JSON and when it was created.
Ask: “Which companies were created this month?”
cohortsYour cohorts, with their name, description, size, whether static, and their filters. Members are not synced.
Ask: “Which cohorts are the largest?”
feature_flagsEvery feature flag, with its key, name, whether active, rollout and variants as JSON, and when it was created, changed and last called.
Ask: “Which feature flags are still active but have not been called this month?”
experimentsEvery experiment, with its name, start and end dates, feature flag, metrics, status and conclusion. Results are not synced.
Ask: “Which experiments ran this quarter, and how were they concluded?”
experiment_saved_metricsThe shared metrics your team defined for experiments.
Ask: “Which saved metrics do our experiments use?”
experiment_holdoutsThe holdout groups your team keeps out of experiments, with their name and filters.
Ask: “Which holdouts do we have?”
annotationsThe notes your team added to charts, such as a release or a campaign, with their date. Explains spikes and dips.
Ask: “Did last month's release change signups?”
insightsEvery saved insight in the project, with its name, its query as JSON, the dashboards it is on, and when it was created and changed. The definitions only: each insight's numbers are in its own table.
Ask: “Which insights are on our main dashboard?”
dashboardsEvery dashboard, with its name, description, tags, whether pinned and when it was last viewed.
Ask: “Which dashboards has nobody viewed this month?”
actionsYour actions, named groups of events such as Signed up, with the steps that match them. Explains what each action counts.
Ask: “Which events make up our Signed up action?”
event_definitionsEvery event PostHog has seen in the project, with its description, tags, whether verified and when it was last seen. Tells you, and the AI, what is tracked.
Ask: “Which events have not been seen for 30 days?”
event_property_definitionsEvery event property, with its name and type. Explains what you can read inside an event's properties.
Ask: “Which event properties are numbers?”
person_property_definitionsEvery person property, with its name and type.
Ask: “What person properties do we track?”
surveysEvery survey, with its name, type, questions as JSON, and start and end dates.
Ask: “Which surveys are running now?”
survey_responsesEvery survey response, one row each, with the survey, the person's distinct id, when it was submitted and the answers as JSON. Two years of history on the first load, then new responses.
Ask: “What was our average NPS score each month this year?”
early_access_featuresYour early access features, with their name, stage and the feature flag behind them.
Ask: “Which features are in beta right now?”
eventsEvery event, one row each, through PostHog's file export: its id, name, distinct id, person id, timestamp and when PostHog received it, and its properties as JSON. Starts with the last 30 days. Starts unticked: PostHog bills exported rows past a million a month.
Ask: “Which pages do people visit before they sign up?”
persons_exportPersons through PostHog's file export, one row per distinct id, with the person id, properties as JSON, when created, and is_deleted for persons deleted in PostHog. Reads only what changed, so it suits a large project. Starts unticked: PostHog bills exported rows.
Ask: “How many persons were deleted this year?”
sessionsEvery session, one row each, through PostHog's file export: start and end times, duration, entry and exit pages, pageview count, whether it bounced, and its UTM tags and click ids. Starts with the last 30 days. Starts unticked: PostHog bills exported rows.
Ask: “Which traffic source brings the longest sessions?”
insightOne table per saved insight, named after the project and the insight, holding its result as PostHog last computed it: one row per point of a trend, per step of a funnel, or per cohort and period of retention, with computed_at saying when. Read whole on every sync.
Ask: “How has the conversion of our signup funnel changed this month?”
Each entry is the message Infograph shows when a connection fails. Open it for the fix.
PostHog did not accept the key. Check you copied all of it, from phx_ to the end, and that it is a personal API key, not the project's public key that starts phc_. Then check the Region: a key from EU Cloud is refused on US Cloud, and the other way round. A key that was deleted or rolled, or whose user was deleted in PostHog, stops working too: create a new one under Account settings, Personal API keys, open the connection in Infograph, choose Edit configuration and paste it.
These happen in PostHog itself, where Infograph cannot see them.
Dashboards and guides built on PostHog data.
Can we use Google Analytics cookies to see which pages people read? Privacy policy