Skip to Content
SourcesPostHogOverview

PostHog (Source)

Source - Vendo reads product analytics data from PostHog Cloud or self-hosted PostHog and makes it available for warehouse reporting, Vendo models, and downstream activation.

What Vendo Syncs

DataDescription
EventsProduct and analytics events, including $autocapture, pageview, and custom events
PersonsIdentified user profiles, properties, distinct IDs, and identify history
GroupsOrganization, company, or account records with group properties
Session RecordingsSession recording metadata such as ID, start time, end time, duration, and person reference; recording blobs are not imported

Identity Handling

PostHog source data keeps PostHog’s identity model intact while mapping it into Vendo’s canonical entities.

Vendo conceptPostHog field
Event user IDdistinct_id, with person_id as an alternate
Event nameevent
Event timestamptimestamp
Event dedupe IDuuid
Person user IDdistinct_ids, with id as an alternate
Person timestampupdated_at
Group IDgroup_key

Groups are imported as Vendo group records with a default group type suitable for company/account analytics.

Platform Details

SettingValue
Auth MethodPersonal API key for reads
Required FieldsHost, project ID, personal API key
Supported HostsUS Cloud, EU Cloud, and self-hosted PostHog
Events Fetch MethodCursor REST windows using event timestamps
Persons Fetch MethodSnapshot import
Groups Fetch MethodSnapshot import
Session Recording Fetch MethodCursor REST windows using start time

Setup

  1. In PostHog, create or copy a personal API key from My Settings > Personal API Keys
  2. Find the numeric project ID in Project Settings > General
  3. In Vendo, navigate to Sources > PostHog
  4. Select the PostHog host: US Cloud, EU Cloud, or Self-hosted
  5. For self-hosted PostHog, enter the base URL of your PostHog instance
  6. Enter the project ID and personal API key
  7. Choose the resources to import and save the source

Verify Setup

  1. Confirm the PostHog source status is active in Vendo
  2. Trigger a manual sync or wait for the next scheduled import
  3. Check that event, person, and group tables are populated
  4. Confirm that event counts for a recent day roughly match PostHog for the same project and time zone
  5. Review integration logs for authentication, host, or project ID errors

Troubleshooting

SymptomWhat to check
Authentication failsConfirm the personal API key starts with phx_ and has access to the selected project
Empty eventsCheck that the project ID and host match the project that contains the events
Self-hosted connection failsConfirm the self-hosted URL is reachable by Vendo and does not include a trailing API path
Group data is missingConfirm group analytics is enabled and that groups have been identified in PostHog
Session recording rows are missingConfirm the project has session recordings; Vendo imports metadata only, not recording blobs
Last updated on