Integrate with HubSpot

Overview

Integrating Explore with HubSpot lets you enhance your A/B tests, overlays, and surveys with HubSpot's inbound marketing and sales data, making your reporting more actionable.

Warning

This integration requires Custom Events, which are only available on HubSpot's Marketing Hub Enterprise plan. You can only use this integration if you're on that plan.

Both the HubSpot tracking code and the Explore tracking code must be present on your website for this integration to work.

Step 1 - Create the Custom Event in HubSpot

  1. In HubSpot, open the Data Management dropdown and select Custom Events.

  2. Click Create an Event.

  3. Choose Code (JavaScript).

  4. Press Next.

  5. Choose an Event name and, optionally, a Description, then press Next.


    ​
  6. Add 4 string properties, named exactly as follows:
    - experiment_id
    - experiment_name
    - variation_id
    - variation_name

    For each one, click Custom string property, input the exact name above, and press Done. Repeat for all 4.


    ​
  7. Click Next, and copy the Event name from the generated code.

Step 2 - Enable the integration in Explore

  1. Click your active website name to open the dropdown, then select Integration.

  2. Scroll to the HubSpot integration, paste the Event name you copied, and press Save.

Updated