Integrate with HubSpot for Advocate
Looking to integrate with Performance? This guide explains how to integrate with HubSpot for your Advocate program. Refer to Integrate with HubSpot for Performance-specific instructions.
impact.com can receive event data (e.g., lead form submissions) from HubSpot and track it as an action within the impact.com platform. You'll be able to identify specific event conditions that represent a conversion event, then configure a flexible mapping of data points to be sent from HubSpot to impact.com.
If you're running an Advocate referral program, you can also use HubSpot to sync data about your customer advocates between HubSpot and impact.com. After setup, HubSpot can send referral tracking, deal stage, and contact information directly to impact.com. Important Advocate program properties like referral codes, share links, and more will be visible on contact records. You can also set up a HubSpot lead capture form that sends referral data to your Advocate program.
Note: This integration supports the following standard HubSpot objects: Deals, Companies, and Contacts.
Step 1: Connect & configure the HubSpot integration
Advocate adds special settings to your impact.com HubSpot integration. If you haven't set up the integration yet, follow our Integrate with HubSpot guide to do the following. Then, return to this guide for Advocate-specific setup steps.
If you already have impact.com and HubSpot connected, you can reopen the connector to configure Advocate for HubSpot.
- Install and connect the impact.com app in HubSpot.
- On the Settings page in the connector, make sure you toggle on Advocate Program opt-in.
- Enable event triggers.
-
For Advocate, you must pass the
customerEmail
field on the conversion so it maps with your participants.
-
For Advocate, you must pass the
- Configure field mappings.
- For Advocate, you must set up a few specific field mappings for the Deals object. In most cases, it's not required to map fields for either the Contact or Company objects. If your specific implementation requires mappings from either of these, a custom set of mappings will be provided to you by your impact.com-assigned Implementation Engineer.
impact.com Mapping | HubSpot Mapping | Required? |
---|---|---|
EventDate | lastmodifieddate | Yes |
CustomerId | hs_object_id | Yes |
CustomerEmail | Yes | |
OrderId
This is the default field used by impact.com to differentiate between unique conversion events. However, you can select another field to use instead. |
deal_[stage]_id | Yes |
EventTypeCode
This is the default field used by impact.com to differentiate between unique conversion events. However, you can select another field to use instead. |
deal_[deal stage] | Yes |
OrderSubTotal | amount | Recommended |
Date3 | closedate | Recommended |
Text2 | hs_deal_stage_probability | Recommended |
Step 2: Configure HubSpot for Advocate
Important: HubSpot can only integrate with one Advocate program at a time. We use this program as the source of information when creating these new contact properties in HubSpot: Referral Code, Share Link, Message Links, Referred-by Code, Advocate User and Account ID, and Referral Cookie.
Manage your data sharing rules
This step takes place within the HubSpot-impact.com connector.
- Choose which data is shared between impact.com and HubSpot when a new contact or participant is created.
Action | When |
---|---|
Create contacts in HubSpot | An Advocate participant is created. An existing, unmapped participant is updated. |
Create Advocate participants in impact.com | A HubSpot contact is created. An existing, unmapped contact is updated. |
- There are other, non-adjustable rules for deleting and updating participant and contact records. You can return to this screen to review them, or refer to HubSpot & Advocate Data Mapping Explained for more details.
- Update the contact record layout in HubSpot to show participants' Advocate data.
- Refer to HubSpot's documentation to learn how to customize the properties shown on records.
- Review your selections and choose whether to sync all Advocate participant data to HubSpot after setup.
Note: The initial data sync does not transfer your HubSpot contact records to impact.com. If you’d like to import them after setting up the integration, then make sure you sync your HubSpot data.
- Select Finish.
Update your Advocate program rules
To reward your participants for successful referrals, you’ll need to update your Advocate program rules to trigger based on the new HubSpot event type.
For instructions on creating or editing your program rules, refer to Configure Your Advocate Program.
- In impact.com, create a program goal that triggers when a Referred user performs an action.
- From the Event Keys dropdown list, select the corresponding event type created in impact.com to track your conversion.
- Update the goal criteria.
- Set the first condition to First time so that the customer advocate and referred friend are only rewarded the first time this person is referred.
- Optionally, add more conditions based on the fields included in the event.
- Set up your goal actions as usual.
Step 3: Sync HubSpot data
Optionally, you can bulk import data into HubSpot to ensure your Advocate program’s participants are synced with your HubSpot leads and contacts.
- Export your contacts from HubSpot as a .CSV file.
- Adjust the .CSV file to match the accepted bulk import format.
- Make sure that the name of the email column in the import file is email. We use this field to map HubSpot contacts with Advocate participants.
- Learn more about bulk imports and download a sample CSV file.
- In your impact.com account, from the left navigation menu, select Participants.
- At the top-right corner of the page, select Import users.
- Upload the .CSV file.
- To avoid errors, check that the .CSV file you’ve prepared follows the accepted import format. Reach out to our support team if you have questions.
Testing the integration
We recommend testing the integration to ensure it’s working as intended. Testing steps will vary based on your integration setup.
Test | Purpose |
---|---|
If your sharing rules create contacts in HubSpot, then create four new Advocate participants. | Confirm that Hubspot contacts are correctly created or updated, and that Advocate properties appear in the Hubspot contact record. |
If your sharing rules create new Advocate participants in impact.com, then create four new HubSpot contacts. | Confirm that Advocate participants map to HubSpot contacts. |
In your impact.com account, manually connect referrals between two of your test participants. Don't use the same participants you use in the following Hubspot → impact.com test. | Confirm that referral tracking information is correctly shared with HubSpot. |
In HubSpot, manually connect referrals between two of your test contacts. Don't use the same contacts you use in the preceding impact.com → HubSpot test. | Confirm that referral tracking information is correctly shared with impact.com. |
Create a deal with one of the new HubSpot contacts and change its status to Closed Won .Use if you set up your program rules to perform an action when a deal’s status changes. If you used another status than Closed Won , test with that. | Confirm that program rules trigger correctly when a deal’s status changes. |
Learn more
Updated about 1 month ago