OptinMonster Documentation

Documentation, Reference Materials, and Tutorials for OptinMonster

Home

Docs

How to Connect OptinMonster with HubSpot

How to Connect OptinMonster with HubSpot

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.

Before you start, this integration is available with a Pro and higher subscription.
All subscription plans can add custom forms using the Form Embed block.

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:

  1. Navigate to the Integrations view in the campaign builder, search for and select HubSpot.

    Select the HubSpot integration in OptinMonster.
  2. Next, select the Register HubSpot button at the top of the integration section to begin authorization.

    Register HubSpot with OptinMonster.
  3. 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.

    Connect HubSpot with OptinMonster.
  4. Return to the OptinMonster campaign builder, enter a HubSpot Account Name (*internal use only), then select the Connect to HubSpot button.

    After naming your integration 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.
  5. Required: Once the HubSpot integration has been connected select the HubSpot *List you wish to send leads to from the Email Provider Lists field.

    Choose a list to add leads to in HubSpot.

    *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.
  6. 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 Details About Assigned Form

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.

Also, 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.

Assign a form to your HubSpot leads in OptinMonster.

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:

Learn more about using HubSpot’s event tracking in these guides:

Add Extra Fields

Field Mapping

This integration supports Field Mapping, so you can easily add radio buttons, phone fields, text areas, number fields, lists, and more!

Before you begin using Field Mapping with HubSpot, please consider the following:

  • Custom fields are referred to as Custom Properties in your HubSpot account.
  • The following custom fields arereserved in HubSpot and cannot be mapped to:
  • Custom field names must contain only lowercase letters, numbers, and underscores.
  • Automatically created custom fields are added as text fields in HubSpot. This can be avoided by manually creating your custom fields in HubSpot before mapping to them in OptinMonster.
  • You can manage your custom fields in HubSpot following this guide.

Form Embed Block

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.

Email Automations

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:

Testing

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:

  • Previously submitted or already subscribed leads may be treated differently by HubSpot than new leads. For this reason, we recommend using a completely unique email address each time you test submit your campaign’s form. You can use a free tool like TempMail.io or learn how to create unlimited unique email addresses from a single Gmail account.
  • If the lead is captured in HubSpot but you do not receive any automated emails it indicates the integration from OptinMonster to HubSpot is correct, and the issue is with the automated email configuration. HubSpot controls email automation exclusively. If you require assistance in troubleshooting email automations we recommend reaching out to HubSpot support directly.

Get started testing with the Live Site Inspector tool explained in our guide on how to test an OptinMonster campaign.

Spin-a-Wheel Support

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.

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.


If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)

Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE!

Click here to get started →

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:

Assign a form to your HubSpot leads in OptinMonster.

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.


Still stuck?

How can we help?

Last updated on


Start Getting More
Leads & Sales Today
with OptinMonster!

Create and launch smart capture forms today in minutes. What are you waiting for?

Create and launch smart capture forms
today in minutes. What are you waiting for?

OptinMonster has transformed our business. Before integrating their optins, our clients saw a 2% conversion rate from web traffic, which is slightly above the standard for their industry. With the integration of OptinMonster’s lightbox popup, exit-intent technology, split testing, and other tools, our client’s conversion rates soared by an unprecedented 500%. They attracted substantially more customers while spending less on digital advertising. Their success propelled them to the top of their markets, outperforming national chains and other medical spas with much bigger marketing budgets. Our client’s success in their market has distinguished us in our own. We are now one of the most sought-after marketing firms in the industry of aesthetic medicine. We know that the integration of OptinMonster, more than any other tool or marketing strategy, has supported this growth and achievement.

chris zelig medstar media

Chris Zelig

Partner, Medstar Media

OptinMonster has been a game-changer for us. From driving donations to collecting new leads, there is nothing that this simple tool has failed to accomplish. Our lead collection rate has jumped by over 1,000%.

joe lowe american bird conservancy

Joe Lowe

Director of Digital Communications, American Bird Conservancy

Through OptinMonster’s exit-intent popups, we have more than doubled our sales conversion rate. Best of all is the compound effect of using OptinMonster over a long period of time—more conversions mean more customers, which means more word of mouth.

mitch smith, managing director, shockbyte

Mitch Smith

Managing Director, Shockbyte.com