Connecting HubSpot to Salesforce Marketing Cloud
HubSpot knows which leads turned into money, weeks after the ad platforms have stopped paying attention. Marketing Cloud is a different product from Salesforce CRM with a different identity model, which catches out almost everyone who assumes a contact in one is a contact in the other. The join between them succeeds or fails on one thing: whether the Subscriber Key reaches the HubSpot contact and deal before the conversion happens, because Marketing Cloud can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
HubSpot deals into Marketing Cloud journeys by Subscriber Key
Use the HubSpot contact record ID or a stable customer ID as SFMC Subscriber Key, not email. Insert Closed Won deals into a data extension watched by a Journey Builder entry source, with amount, product and close date, and the HubSpot deal ID as primary key. Sync HubSpot opt-outs first, usually through middleware or custom code actions.
HubSpot CRM paired with Marketing Cloud is uncommon, usually an enterprise that kept SFMC for high-volume sending while sales moved to HubSpot. The first decision is the Subscriber Key. Use the HubSpot contact record ID or a stable customer ID, not the email address, because a HubSpot contact who changes email would otherwise arrive in SFMC as a new subscriber. Write that key into every data extension row you insert.
The useful flow is a Closed Won deal inserted into a data extension that a Journey Builder entry source watches, with deal amount, product and close date as the fields its decision splits reference: onboarding for new customers, exit from acquisition journeys. Both systems keep subscription status separately, so a contact who unsubscribed in HubSpot can still be active in SFMC's All Subscribers list. Sync opt-outs from HubSpot to SFMC first, before any deal data, or customers get mail they already declined.
A HubSpot workflow can call a webhook on stage change, but SFMC expects authenticated API calls, so most teams put middleware or an iPaaS between them, or use HubSpot custom code actions if their tier has them. Make the HubSpot deal ID the data extension's primary key, so a workflow re-enrolling the same deal updates a row instead of inserting a second one and entering the journey twice.
HubSpot → Marketing Cloud · what breaks
Why this join usually fails — HubSpot → Marketing Cloud
- 01
The Subscriber Key never reaches HubSpot
The identifier has to be captured on the form and written to a contact property. HubSpot forms embedded in an iframe do not automatically see your page's cookies, so a hidden field has to be populated deliberately. Miss that and the contact is created clean, with nothing to join on ever again.
- 02
The deal closes long after the click
B2B sales cycles routinely run past the attribution window of every ad platform. Value uploaded on day 95 is value nobody will accept, so the timing question has to be answered before anything is built.
- 03
Two identity models treated as one
Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.
- 04
Nothing reconciles afterwards
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
HubSpot → Marketing Cloud · the fix
What working looks like — HubSpot → Marketing Cloud
The Subscriber Key on every deal
Conversions arriving in Marketing Cloud
The record lands in the data extension, the journey's entry criteria evaluate on its schedule, and sends follow.
Reconciled against the source
HubSpot → Marketing Cloud · architecture
How HubSpot and Marketing Cloud actually connect
- 1
HubSpot holds the truth
The deal carries the amount, the stage, the close date and the associated contact. That contact is where the original click identifier must live, because the deal is created much later by a salesperson who has no idea an ad was involved.
- 2
Salesforce Marketing Cloud needs a click to match
The Subscriber Key, the data extension the journey listens to, and the fields its decision splits reference. An event landing in the wrong data extension will be stored correctly and trigger nothing.
- 3
The identifier is the bridge
The Subscriber Key, captured at the visit and carried into the HubSpot contact and deal.
- 4
The event source decides reliability
Trigger when the deal reaches Closed Won and send the deal amount with the identifier stored on the associated contact. Sending on form submission instead means you optimize toward form fills, which is exactly the behavior that fills a pipeline with unqualified leads.
- 5
Deduplication at the destination
Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.
HubSpot → Marketing Cloud · normal or broken
Working vs. broken, side by side — HubSpot → Marketing Cloud
Normal, not a fault
The Subscriber Key present on the deal
Sent from a HubSpot workflow or webhook on deal stage change
Deduplicated correctly
Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.
Reconciles with the source
Actually broken
The Subscriber Key missing on most records
The identifier has to be captured on the form and written to a contact property. HubSpot forms embedded in an iframe do not automatically see your page's cookies, so a hidden field has to be populated deliberately. Miss that and the contact is created clean, with nothing to join on ever again.
Sent from the browser
B2B sales cycles routinely run past the attribution window of every ad platform. Value uploaded on day 95 is value nobody will accept, so the timing question has to be answered before anything is built.
Counted twice, or not at all
Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.
Nobody has reconciled it
HubSpot → Marketing Cloud · diagnose
Diagnostic order — HubSpot → Marketing Cloud
- 01
Count deals carrying the Subscriber Key
- 02
Follow one real conversion end to end
- 03
Open a Closed Won deal and follow it back to its contact
Does that contact carry the identifier property, populated? Then check the date gap between the contact's creation and the deal's close — that gap decides whether this integration is possible at all.
- 04
Confirm what Subscriber Key is actually set to in this org
Before sending anything. It is a configuration decision made once, often years ago, and every integration built afterwards inherits it.
- 05
Read the match rate, not the success message
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
HubSpot → Marketing Cloud · prove
How it gets proven — HubSpot → Marketing Cloud
Source of truth
HubSpot's Deals report, filtered to Closed Won for the same window, by close date.
- The Subscriber Key confirmed present on a live deal.
- Records confirmed on single subscriber records in the correct data extension, with the triggered journey verified in a non-production business unit first.
- The click-to-close time distribution measured, so you know what share of deals close inside the destination's window.
HubSpot → Marketing Cloud · free audit
What we check in the free audit
- Count deals carrying the Subscriber Key
- Follow one real conversion end to end
- Open a Closed Won deal and follow it back to its contact
- Confirm what Subscriber Key is actually set to in this org
- Read the match rate, not the success message
Checked against
HubSpot's Deals report, filtered to Closed Won for the same window, by close date.
Free30 minutesNo obligation
HubSpot → Marketing Cloud · when not to buy
When you don't need this — HubSpot → Marketing Cloud
- Measure identifier coverage yourself first — pull your last hundred deals and count how many carry the Subscriber Key.
- If your median deal closes well past the destination's upload window, the honest answer is a different measurement strategy, not this integration. We will tell you that on the call rather than sell you a build that cannot work.
- If you are on Salesforce CRM but sending email through a simpler platform, adding Marketing Cloud brings an identity model to reconcile that you currently do not have to think about.
HubSpot → Marketing Cloud · what we deliver
What gets built — HubSpot → Marketing Cloud
Identifier capture into HubSpot
Create a custom contact property, populate a hidden form field from the persisted first-party cookie, and confirm the property lands on the contact rather than only on the form submission.
Event source: a HubSpot workflow or webhook on deal stage change
Trigger when the deal reaches Closed Won and send the deal amount with the identifier stored on the associated contact. Sending on form submission instead means you optimize toward form fills, which is exactly the behavior that fills a pipeline with unqualified leads.
Dispatch to Marketing Cloud
A server-side insert into the data extension the journey is configured against, keyed on Subscriber Key.
Reversals where they exist
A deal reopened or moved out of Closed Won can be retracted where the destination supports it, though most teams accept the small error here rather than wire it.
Written guarantee
95%+ tracking accuracy
Measured against HubSpot's Deals report, filtered to Closed Won for the same window, by close date.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
HubSpot → Marketing Cloud questions, answered
A stable ID such as the HubSpot contact record ID, not the email address. Email changes would otherwise create duplicate subscribers sitting in two journeys.
Not automatically. Sync opt-outs from HubSpot to SFMC before any deal data, or people who unsubscribed in one system keep getting mail from the other.
Almost always because the Subscriber Key never reached the HubSpot contact and deal. The identifier has to be captured on the form and written to a contact property. HubSpot forms embedded in an iframe do not automatically see your page's cookies, so a hidden field has to be populated deliberately. Miss that and the contact is created clean, with nothing to join on ever again. Measure coverage before debugging the dispatch.
Marketing Cloud identifies people by Subscriber Key, which you define. It is not the CRM Contact ID unless somebody deliberately made it so, and in many orgs the two are unrelated. Sending an event keyed on the wrong one creates a second subscriber rather than updating the first, which splits the person across two journeys.
A HubSpot workflow or webhook on deal stage change. Trigger when the deal reaches Closed Won and send the deal amount with the identifier stored on the associated contact. Sending on form submission instead means you optimize toward form fills, which is exactly the behavior that fills a pipeline with unqualified leads.
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
More on HubSpot → Marketing Cloud
- Stripe → Marketing CloudConnecting Stripe to Salesforce Marketing Cloud
- PayPal → Marketing CloudConnecting PayPal to Salesforce Marketing Cloud
- Shopify → Marketing CloudConnecting Shopify to Salesforce Marketing Cloud
Using HubSpot for bookings? How HubSpot bookings get tracked end to end
RELATED GUIDES
Where HubSpot → Marketing Cloud fits in the rest of your tracking
- SugarCRM → Marketing CloudConnecting SugarCRM to Salesforce Marketing Cloud
- Close → Marketing CloudConnecting Close to Salesforce Marketing Cloud
- Copper → Marketing CloudConnecting Copper to Salesforce Marketing Cloud
- HubSpot → AttentiveConnecting HubSpot to Attentive
- HubSpot → IterableConnecting HubSpot to Iterable
- Home servicesConversion tracking for home service businesses, measured in completed jobs
- Zoho Books → Marketing CloudConnecting Zoho Books to Salesforce Marketing Cloud
- Capsule → Marketing CloudConnecting Capsule CRM to Salesforce Marketing Cloud
Free · 30 min
Get HubSpot and Marketing Cloud joined properly
Free30 minutesNo obligation
