Skip to Content
DestinationsPostHogOverview

PostHog

Destination - Vendo sends modeled events, person properties, and group properties into PostHog using the PostHog capture and batch APIs.

What Vendo Sends

DataPostHog operation
EventsCapture events through PostHog’s batch endpoint
Person Properties$identify calls with $set traits
Group Properties$groupidentify calls with group traits

Event Payloads

Vendo converts modeled rows into PostHog capture events.

Vendo fieldPostHog field
event_name or eventEvent name
distinct_idPerson/device identity
event_time or _timestampEvent timestamp
insert_idPostHog uuid for deduplication
propertiesEvent properties
revenue, currency, order_id, platformAdded to event properties when present

Person and Group Identity

FlowIdentity fieldProperties
Person propertiesdistinct_idSent as $identify with $set traits
Group propertiesgroup_id or idSent as $groupidentify with $group_type and $group_key

For person profiles, Vendo includes common traits such as email, name, phone, city, and country when available. For group profiles, Vendo includes common organization traits such as name, domain, and plan when available.

Platform Details

SettingValue
Auth MethodProject API key for writes
Optional FieldsPersonal API key and project ID when the same PostHog app connection is also used as a source
Supported HostsUS Cloud, EU Cloud, and self-hosted PostHog
APIPostHog /batch/ for writes and /decide/?v=3 for read-only credential validation
Sync MethodServer-side batch export
Destination TasksEvents, person properties, group properties
Group SupportYes

Setup

  1. In PostHog, copy the project API key that starts with phc_
  2. In Vendo, navigate to Destinations > PostHog
  3. Select the PostHog host: US Cloud, EU Cloud, or Self-hosted
  4. For self-hosted PostHog, enter the base URL of your PostHog instance
  5. Enter the project API key
  6. Select the event, person-property, and group-property tasks to export
  7. Save the destination and connect it to the sources or models you want to send

Verify Setup

  1. Trigger a test event from a connected source or run a manual export
  2. Confirm the event appears in PostHog’s activity feed or events table
  3. Check that person properties update through $identify
  4. If using groups, check that group properties update in PostHog
  5. Review Vendo integration logs for batch API errors or invalid project key messages

Troubleshooting

SymptomWhat to check
Credential validation failsConfirm the project API key starts with phc_ and belongs to the selected host/project
Events are rejectedCheck PostHog batch API errors in Vendo logs and confirm distinct_id is present
Person traits do not updateConfirm the person-property task is enabled and source rows include distinct_id
Group traits do not updateConfirm the group-property task is enabled and source rows include group identifiers
Self-hosted exports failConfirm the self-hosted URL is reachable by Vendo and uses the correct scheme and host

Compatible Sources

PostHog can receive modeled events and traits from Vendo sources and models that produce event, user, or group data.

SourceWhat Vendo sends
ShopifyStorefront events, order events, customer profiles, and group properties
WooCommerceOrder, refund, subscription, and customer events
StripePayment, refund, subscription, and customer profile events
PostHog SourceImported PostHog data routed through Vendo models or activation flows
Tracking SDKFirst-party custom events captured through Vendo
Last updated on