This article covers the following:
Overview
Pushing your Wingify campaign data to HubSpot allows you to analyze the performance of your test variations directly within HubSpot, giving your marketing team a unified view of campaign results alongside your CRM data.
To get started, create a Send campaign data to HubSpot connection in Wingify. For more information, see Integrate Wingify with HubSpot.
When creating the connection, select the HubSpot API event type — Custom Behavioral Event (Legacy) or Custom Events — and enter the Event Internal Name if applicable.
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 Wingify campaign data:
- Go to Reporting & Data and click Custom Events. The Custom Events page appears.
- The Overview tab of the Custom Events displays all events created in HubSpot.
- To create an event for Wingify, click 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 | Wingify |
| 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 property. 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 Wingify app.
HubSpot can now receive campaign data pushed from Wingify.
Specifications of Wingify Campaign Data Sent to HubSpot (Custom Events Mode)
Wingify uses the trackEvent API of HubSpot to send Wingify experiment data to HubSpot. The data is sent with the following specifics:
Event name: {TRACKER_EVENT_NAME}
Event properties:
{
campaign_id: {CAMPAIGN_ID},
variation_id: {VARIATION_ID},
campaign_name: {CAMPAIGN_NAME},
variation_name: {VARIATION_NAME},
experience: wingify-{CAMPAIGN_ID}-{VARIATION_ID}-{TRIGGER_ID},
user_id: {USER_ID}
}Note: Trigger ID is optional and may only be available when using the Personalize Holdback feature. When available, it is included in the experience field.
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 Wingify 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 in the top-right corner of the page.
- In the Create event section, enter the event name as Wingify. You can leave the Tags field blank.
- Choose the Event Type as Custom Event and click Next.
Specifications of Wingify Campaign Data Sent to HubSpot (Legacy Mode)
Wingify uses the trackEvent API of HubSpot to send Wingify experiment data to HubSpot. The data is sent with the following specifics:
- ID: “vwo_${campaignName}_${variationName}”
- campaignName: The Campaign Name configured within Wingify
- variationName: The Variation Name configured under the campaign within Wingify.
Viewing Events in your HubSpot Account (Legacy Mode)
To view events:
- Log in to your HubSpot account.
- To view the report corresponding to the events you created in HubSpot, go to Reports > Analytics Tools > Events.
Need more help?
For further assistance or more information, contact Wingify Support.