Hubspot

Last updated:

|Edit this page

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

Using this requires either PostHog Cloud with the data pipeline add-on, or a self-hosted PostHog instance running version 1.30.0 or later.

Self-hosting and 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

OptionDescription
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?

  1. Log in to your PostHog instance
  2. Click "Data pipeline" in the left sidebar
  3. Search for 'Hubspot'
  4. 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?

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

Intercom

Send event data from PostHog to Intercom whenever an event matches a user who has been identified by their email address. Installation In PostHog, click the " Data pipeline " tab in the left sidebar. Search for 'Intercom' and select the destination, press 'Install'. Follow the steps below to configure the destination. Important: Only events that have an email property will be sent to Intercom. For more information on how to configure this, take a look at this section . Configuration After…

Read next article