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 set-up, 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:

  1. 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.
  2. Enable event triggers.
    • For Advocate, you must pass the customerEmail field on the conversion so it maps with your participants.
  3. Configure field mappings.

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.

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.

  1. Choose which data is shared between impact.com and HubSpot when a new contact or participant is created.

ActionWhen
Create contacts in HubSpotAn Advocate participant is created.
An existing, unmapped participant is updated.
Create Advocate participants in impact.comA HubSpot contact is created.
An existing, unmapped contact is updated.

  1. 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.
  2. Update the contact record layout in HubSpot to show participants' Advocate data.

  3. 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.

  4. 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.

  1. In impact.com, create a program goal that triggers when a Referred user performs an action.
  2. From the Event Keys dropdown list, select the corresponding event type created in impact.com to track your conversion.
  3. 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.
  4. 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.

  1. Export your contacts from HubSpot as a .CSV file.
  2. 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.
  3. In your impact.com account, from the left navigation menu, select Participants.
  4. At the top-right corner of the page, select Import users.
  5. 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.

TestPurpose
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