OptinMonster offers seamless integration with HubSpot email marketing service. Connecting OptinMonster to your HubSpot email list is very easy.
In this article, you’ll learn how to connect HubSpot with OptinMonster.
All subscription plans can add custom forms using the Form Embed block.
With any plan you can add a custom HubSpot embed form following this guide.
Before you start, as a best practice we recommend you also connect your campaigns to Monster Leads as a backup.
Connect HubSpot
When you create a campaign in OptinMonster that you intend to collect leads with you’ll want to integrate with one or more services to send those leads to.
To send leads to HubSpot, follow these steps:
- Navigate to the Integrations view in the campaign builder, search for and select HubSpot.
- Next, select the Register HubSpot button at the top of the integration section to begin authorization.
- A new window will open requesting you login to your HubSpot account. Once logged in, select the HubSpot Account you wish to connect with OptinMonster and click the Choose Account button to authorize the connection between OptinMonster and your HubSpot account.
- Return to the OptinMonster campaign builder, enter a HubSpot Account Name (*internal use only), then select the Connect to HubSpot button.
*The HubSpot Account Name can be anything that helps you identify the specific integration within OptinMonster. It’s possible to add more than one HubSpot integration to your account and this is an easy way to differentiate between them when assigning integrations to individual campaigns. - Required: Once the HubSpot integration has been connected select the HubSpot *List you wish to send leads to from the Email Provider Lists field.
*Only Static Lists will be available to choose from. Active Lists cannot be selected. If no Lists are available to select be sure you’ve created at least one Static List in your HubSpot account first following this guide. - Optional: You can also select an *Assigned Form to submit leads to.
Required: the Assigned Form you select must contain the same fields as your OptinMonster campaign. If there is a mismatch of fields the submission will fail and leads will not be captured in HubSpot.
*Important: Leads will only be submitted to the assigned form if thehubspotutk
cookie is set in the user’s browser. If the user has cookies blocked or disabled, they may not be submitted to the assigned form. Learn more about HubSpot Tracking Code in this guide. - When you’re finished, Save your campaign.
Assign Lead Source
We automatically create and pass the custom field campaign_lead_source
which populates with OptinMonster when using our HubSpot integration.
To customize the lead source name, enable and configure Custom Branding for your OptinMonster account. The Brand Name you set will then be passed as the lead source.
To show this field when viewing HubSpot contacts, you’ll need to make the field visible following this guide.
Track Subscriber Events
Your HubSpot event tracking code can be added to individual OptinMonster campaigns using one of these options:
- Growth plan: Success Triggered Scripts
- All plans: use our Javascript Events API to determine which OptinMonster event to run the HubSpot event tracking code on, and add it to campaigns using our Custom Javascript Tool
Learn more about using HubSpot’s event tracking in these guides:
- Install the HubSpot Tracking Code
- Create manually tracked custom behavioral events
- Tracking code API overview
Add Extra Fields
Field Mapping
Get started using Field Mapping with HubSpot. Before you begin using Field Mapping with HubSpot, please consider the following: Alternatively, you can add any HubSpot webform to your campaign using our Form Embed block. Required: the custom HubSpot form must be edited before being placed in your OptinMonster campaign following this guide, or the form will not function correctly. Get started adding a custom form to your campaign. To send emails automatically to new leads you’ll want to configure email automations within your HubSpot account. The following guides from HubSpot may be helpful to get started: We strongly recommend you test the optin form before publishing your campaign to ensure it is working as you expect. Before you begin, please be aware of the following details when testing HubSpot integrations: Get started testing with the Live Site Inspector tool. If you are configuring a Gamified spin-to-win campaign, spin-a-wheel support is automatically enabled when using our native HubSpot integration. The Coupon Label and Coupon Code will be passed as custom fields with each lead. If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!
campaign_lead_source
om_campaign_name
om_coupon_code
(the Coupon Code won when creating a Gamified spin-to-win campaign)om_coupon_label
(the Coupon Label when creating a Gamified spin-to-win campaign)Form Embed Block
Email Automations
Testing
Spin-a-Wheel Support
Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE! Click here to get started →
FAQs
Can I send leads to more than one Campaign?
Yes! See our Lead Sharing guide to accomplish this.
How do I configure single or double opt-in?
See our guide on single vs. double opt-in.
Is it possible for me to add a phone field to my campaign?
Yes! You can add a phone field. Learn how to capture phone numbers with OptinMonster.
How can I identify which campaign the subscriber came through?
OptinMonster automatically creates a property value in HubSpot named “OptinMonster Campaign Name” which captures and passes thru the campaign name to HS.
For most, it will be under the custom field optinmonster_campaign_name
.
If you have Custom Branding enabled for your account the optinmonster_
portion may be different.
Troubleshooting
The form submits fine but leads are not reaching my HubSpot account.
The most common cause for this is related to the Assigned Form setting in your HubSpot integration:
The Assigned Form you select must contain the same fields as your OptinMonster campaign. If there is a mismatch of fields the submission will fail and leads will not be captured in HubSpot. Be sure to check if the fields in your Assigned Form match the fields configured in your OptinMonster campaign and make any necessary changes to synchronize those settings.
Additionally, Leads will only be submitted to the assigned form if the hubspotutk
cookie is set in the user’s browser. If the user has cookies blocked or disabled, they may not be submitted to the Assigned Form. Learn more about HubSpot Tracking Code in this guide.
The campaign is capturing leads but shows 0 conversions in analytics.
Confirm that conversion tracking is turned on for the submit button in your campaign. See our guide on How to Enable Conversion Tracking.
I’ve received a Proper Permissions error, what do I do?
If you receive this error it is because you do not have the required HubSpot plan to use their API.
Our native integration with HubSpot requires access to their API. HubSpot allows full access to their API only with their paid plans.
If you are using a free HubSpot account you will need to either upgrade to a paid HubSpot account or use our custom HTML integration option instead of our native integration with HubSpot.