In this article, you’ll learn the following: |
Overview
Upon enabling the HubSpot integration, you will be navigated to the Config tab, where you can enable pushing your VWO Testing and Personalize data to HubSpot. 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. Enable the Push Testing and Personalize Data to HubSpot option, select the appropriate mode, and perform the following steps as applicable to your case:
Custom Events Mode
If you’re using the new custom events mode in HubSpot, perform the following steps to set up the events in your HubSpot account to receive your VWO campaign data:
- Go to Reporting & Data and click Custom Events. The Custom Events page appears.
- The Overview tab of the Custom Events page displays the events that you have created in HubSpot. To create an event for VWO, click on the Create an event button at the top-right.
- In the Choose how you want to create event data modal that appears, select Send via API.
- In the DETAILS section of the custom 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 previous step twice, once for Variation properties and once for Experience properties. Enter Variation as the Property name for the Variation property and Experience for the Experience property, then click Done.
- Click Next.
- In the TRACKING ID section, click the Copy button to copy the Tracking ID that appears and click Done.
- Paste the tracking ID 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 Events 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}” | |
Experience | “{Campaign ID}:{CampaignName}:{VariationID}:{VariationName}” |
Viewing Events in Your HubSpot Account (Custom Events 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 Reporting & Data > Custom Events.
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 Reporting & Data > Custom Behavioral Events (Legacy).
-
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.