Send PostHog event data to Customer.io

Last updated:

|Edit this page

Requirements

Using this requires either PostHog Cloud with the data pipelines add-on, or a self-hosted PostHog instance running a recent version of the Docker image.

You'll also need access to the relevant Customer.io account.

Installation

  1. In PostHog, click the "Data pipeline" tab in the left sidebar.
  2. Click the 'Destinations' tab.
  3. Search for 'Customer.io' and select the destination.
  4. Add your Customer.io site ID and API Key at the configuration step.
  5. Press 'Create & Enable' and watch your 'People' list get populated in Customer.io!

Configuration

OptionDescription
Customer.io site ID
Type: string
Required: True
Customer.io API Key
Type: string
Required: True
You can find your API key in your Customer.io account settings (https://fly.customer.io/settings/api_credentials)
Customer.io region
Type: choice
Required: True
Use the EU variant if your Customer.io account is based in the EU region
Identifiers
Type: dictionary
Required: True
You can choose to fill this from an email property or an id property. If the value is empty nothing will be sent. See here for more information: https://customer.io/docs/api/track/#operation/entity
Action
Type: choice
Required: True
Choose the action to be tracked. Automatic will convert $identify, $pageview and $screen to identify, page and screen automatically - otherwise defaulting to event
Include all properties as attributes
Type: boolean
Required: True
If set, all event properties will be included as attributes. Individual attributes can be overridden below. For identify events the Person properties will be used.
Attribute mapping
Type: dictionary
Required: False
Map of Customer.io attributes and their values. You can use the filters section to filter out unwanted events.

FAQ

Is the source code for this destination available?

PostHog is open-source and so are all the destination on the platform. The source code is available on GitHub.

Who maintains this?

This is maintained by PostHog. If you have issues with it not functioning as intended, please let us know!

What if I have feedback on this destination?

We love feature requests and feedback. Please tell us what you think.

What if my question isn't answered above?

We love answering questions. Ask us anything via our community forum.

Questions?

Was this page useful?

Next article

Send PostHog analytics events to your Discord server

Send event data from PostHog into the Discord server and channel of your choice. Setup Discord: create a webhook In Discord, go to the server you want to send events to. Click the server name in the top left and select Server Settings . Select Integrations , in the Apps section. Select Webhooks , then New Webhook . Give the webhook a name and pick the channel you want to send events to. Copy the webhook URL. PostHog: create a destination Back in PostHog, click the Data pipelines tab in the…

Read next article