Send event data from PostHog into Customer.io. User emails will also be sent if available and customers will be created in Customer.io.
Requirements
This requires either PostHog Cloud, or a self-hosted PostHog instance running version 1.30.0 or later.
Not running 1.30.0? Find out how to update your self-hosted PostHog deployment!
You'll also need access to the relevant Customer.io account.
Installation
- Visit the 'Apps' page in your instance of PostHog.
- Search for 'Customer.io' and select the app, press Install.
- Add your Customer.io site ID and token at the configuration step.
- Enable the app and watch your 'People' list get populated in Customer.io!
Configuration
How do I match persons in PostHog with customers in Customer.io?
We assume that you use the same ID to identify users in Customer.io as you use as distinct_id or in posthog.identify()
.
How do I set properties on a Customer.io customer via PostHog?
PostHog will send any property inside the $set: {}
property to customer.io. In the example below, email
and userProperty
will be set on the customer
posthog.capture('some event',{event_property: 'this will not get sent',$set: {email: 'test@example.com',userProperty: 'value'}})
FAQ
Is the source code for this app available?
PostHog is open-source and so are all apps on the platform. The source code is available on GitHub.
Who created this app?
We'd like to thank PostHog team members Yakko Majuri and Marius Andra, Michael Matloka and community members Angela Purcell, Conrad Kurth and Alberto S for creating this.
Who maintains this app?
This app is maintained by PostHog. If you have issues with the app not functioning as intended, please let us know!
What if I have feedback on this app?
We love feature requests and feedback! Please tell us what you think! to tell us what you think.
What if my question isn't answered above?
We love answering questions. Ask us anything via our community forum, or drop us a message.