In this article, you’ll learn: |
About HubSpot
If you are using HubSpot to collect your website data, integrating with VWO will help you collect your landing page's visitor data and all the variations you create in your VWO tests. You can use this data to compare variations, get deeper insights from your VWO test, and implement changes to boost your conversions.
Integrating VWO with HubSpot is only available if you're on the Enterprise plan of HubSpot. This is because the custom behavioral events needed for this integration to work are allowed to be processed by HubSpot in its Enterprise plan only.
To enable this integration, you must ensure that both the VWO SmartCode and HubSpot tracking code are enabled on your website. The end-to-end process of integrating HubSpot with VWO is a two-step process.
Once you integrate HubSpot with VWO, you would want to view the event’s report in your HubSpot account. To know how you can do this, click here.
Enabling the HubSpot Integration for Your VWO Account
To enable the VWO-HubSpot integration for your VWO account, follow this:
Procedure
-
Log in to your VWO account.
-
From the left panel of your VWO dashboard, go to the INTEGRATIONS tab.
-
Click on the HubSpot integration and enable it. Once enabled, the HubSpot screen within the VWO’s Integration section looks like this:
Once the integration is enabled, you can choose to send VWO experiment data to HubSpot at a campaign level. By default, the HubSpot integration is enabled for the new VWO testing campaigns.
If you wish to enable the HubSpot integration for your existing campaigns, you can edit your campaign settings as shown below. -
Now, navigate to the Config tab, where you will be required to configure the custom event mode that applies to your HubSpot account. Select one of the following options:
- Custom Behavioral Event (Legacy)
- New Custom Behavioral Event
- If you’re selecting the New Custom Behavioral Event mode, you need to supply the corresponding Tracking ID in the Event Internal Name field that appears. The Tracking ID can be fetched by performing the steps mentioned here.
Creating and Viewing Events in Your HubSpot Account
In order for your HubSpot account to receive the campaign data pushed from VWO, you need to set up the VWO campaign data as events in your HubSpot account. Use either of the following modes that fits you to proceed with the event creation process in HubSpot:
Legacy Mode
If you’re using the legacy custom behavioral event mode, perform the following steps to set up the events in your HubSpot account to receive your VWO campaign data:
-
Log in to your HubSpot account.
-
From the HubSpot dashboard, go to Reports > Analytics Tools.
-
From the available option, choose Events.
-
To create an event, click Create event present on the top right corner of the page.
-
In the Create event section, enter the event name as VWO. You can leave the Tags field blank.
-
Choose the Event Type as Custom Event and click Next.
Specifications of VWO Experiment Data Sent to HubSpot (Legacy Mode)
VWO uses the trackEvent API of HubSpot to send VWO experiment data to HubSpot. The data is sent with the following specifics:
- ID: “vwo_${campaignName}_${variationName}”
- campaignName: The Campaign Name configured within VWO
- variationName: The Variation Name configured under the campaign within VWO.
Viewing Events in your HubSpot Account (Legacy Mode)
To view events, perform this:
Procedure
- Log in to your HubSpot account.
- To view the report corresponding to the events you created in HubSpot, go to Reports > Analytics Tools > Events.
Custom Behavioral Event Mode
If you’re using the new custom behavioral event mode in HubSpot, perform the following steps to set up the events in your HubSpot account to receive your VWO campaign data:
- Go to Reports > Analytics Tools and click Custom Behavioral Events. The Custom Behavioral Events page appears.
- The Overview tab of the Custom Behavioral Events page displays the events that you have created in HubSpot. To create one for VWO, click on the Create an event button at the top-right.
- In the Choose how you want to send data modal that appears, select Code Wizard.
- In the DETAILS section of the custom behavioral event creation page, enter the following details and click Next:
Field Input Event name VWO Description Description of the event Associated Object Contacts
- In the PROPERTIES section, click Custom string property, enter the Property name as Campaign, and click Done.
- Repeat the above step. But this time, enter the Property name as Variation and click Done.
- Click Next.
- In the TRACK section, select Send data to HubSpot and copy the Tracking ID that appears.
- Copy the tracking ID and paste it into the Event Internal Name field in the Config tab of the HubSpot integration page in the VWO app.
Now, HubSpot can receive the campaign data pushed from VWO, which can be repurposed further.
Specifications of VWO Experiment Data Sent to HubSpot (Custom Behavioral Event Mode)
VWO uses the trackEvent API of HubSpot to send VWO experiment data to HubSpot. The data is sent with the following specifics:
Parameter | Name | Value |
Event Name | vwo | - |
Event Property | Campaign | “{CampaignID}:{CampaignName}” |
Variation | “{VariationID}:{VariationName}” |
Viewing Events in Your HubSpot Account (Custom Behavioral Event Mode)
To view events, perform the following steps:
- Log in to your HubSpot account.
- To view the report corresponding to the events you created in HubSpot, go to Reports > Analytics Tools > Custom Behavioral Events.