Send data to Customer.io

Last updated:

|Edit this page

Send event data from PostHog into Customer.io.

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 data to Engage

Send person data from PostHog into Engage. You'll also need access to the relevant Engage account. Installation In PostHog, click the " Data pipeline " tab in the left sidebar. Click the 'Destinations' tab. Search for 'Engage' and select the destination. Add your Engage Public key and Private key at the configuration step. Press 'Create & Enable' and watch your 'Customers' list get populated in Engage! Configuration FAQ Is the source code for this destination available? PostHog is open-source…

Read next article