Send data from PostHog to Hubspot whenever an $identify
event occurs. That is, whenever PostHog successfully identifies a user. This is useful for syncing customer information between both PostHog and Hubspot.
Requirements
This requires either PostHog Cloud with the data pipeline add-on, 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 a Hubspot account to connect to.
What information can I push to Hubspot from PostHog?
Currently, this integration supports sending the following data to Hubspot:
- Email addresses
- First names
- Last names
- Phone numbers
- Company names
- Company website URLs
This information can be sent whenever an $identify
event occurs in PostHog.
No other information can currently be sent to PostHog using this destination. If this destination exists in a chain where the above information would be filtered out (for example, by using the Property Filter app) then filtered information cannot be sent to Hubspot.
Configuration
Option | Description |
---|---|
Hubspot Access Token Type: string Required: True | Can be acquired under Profile Preferences -> Integrations -> Private Apps |
Triggering events Type: string Required: True | A comma-separated list of PostHog events you want to trigger Contact creation in HubSpot. By default, we recommend using the $identify event. |
Additional PostHog to HubSpot property mappings Type: string Required: False | A mapping of additional PostHog event or person properties to map to newly created Hubspot Contacts. Provide a comma-separated mapping of: personPropertyName:hubSpotPropertyName |
Email domains to skip Type: string Required: False | A comma-separated list of email domains to ignore and not create contacts for in Hubspot. |
PostHog Instance Type: string Required: False | Deprecated |
PostHog API Key Type: string Required: False | Deprecated |
Project API Key Type: string Required: False | Deprecated |
Debug Mode Type: choice Required: False | Deprecated |
FAQ
How do I install the Hubspot destination on PostHog?
- Log in to your PostHog instance
- Click "Data pipeline" in the left sidebar
- Search for 'Hubspot'
- Select the destination, press 'Install' and follow the on-screen instructions
Is the source code for this destination available?
PostHog is open-source and so are all destinations on the platform. The source code is available on GitHub.
Who created this destination?
A lot of people contributed to this destination! We'd like to thank...
For creating this. Thanks, all!
Who maintains this destination?
This destination is maintained by PostHog. If you have issues with the destination 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! 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.