Send event data from PostHog to Intercom whenever an event matches a user who has been identified by their email address.
Using 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!
- Visit the 'Apps' page in your instance of PostHog.
- Search for 'Intercom' and select the app, press 'Install'.
- Follow the steps below to configure the app.
Important: Only events that have an
After you've pressed 'Install', you need to add your Intercom API key at the configuration step, as well as add triggering events you want to send to Intercom.
- Intercom API Key (required): you can get this one from the Intercom Developer Hub, by creating a new app and receiving an API Key
- Triggering events (required): A comma-separated list of PostHog events you want to send to Intercom (e.g.:
|Create an Intercom app, then go to Configure > Authentication to find your key.|
|A comma-separated list of PostHog events you want to send to Intercom (e.g.: '$identify,mycustomevent' ).|
|A comma-separated list of email domains to ignore and not send events for in Intercom (e.g. 'posthog.com,dev.posthog.com' ).|
|Send events to api.eu.intercom.com, if you are using Intercom's European Data Hosting.|
Setting up tracking
In order for your events to show up in Intercom, they need to have an
Add the following code wherever you make an
identify call with the current user's email address.
This will then send this as a property on all future events, including autocaptured events.
Note: Make sure to call
posthog.unregister('email')whenever a user logs out to clear this property
Currently, Super Properties are only available in the
posthog-js library or when using the PostHog snippet.
If you are using a different SDK, you'll need to manually the
Who created this app?
We'd like to thank PostHog team member Emanuele Capparelli for his work creating this app. Thank you, Emanuele!
Who maintains this app?
This app is maintained by the community. 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.