Skip to main content
Cognito Forms → HubSpotIntegration guide

Connecting Cognito Forms to HubSpot

Cognito Forms supports conditional logic and payments, which means one form can be a survey, a registration and a checkout depending on which branch the visitor takes. HubSpot is where sales works, so a conversion that never reaches it is invisible to the people who decide what a lead was worth. The join between them succeeds or fails on one thing: whether the contact identity — email, or the hubspotutk cookie reaches the Cognito Forms entry before the conversion happens, because HubSpot can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Cognito Forms to HubSpot: entries as contacts, branches as properties

HubSpot's form capture can't see inside Cognito Forms' iframe embed, and conditional sections make it unreliable anyway. Send each entry server-side through the Forms or contacts API with the hubspotutk from a hidden field, map the branch to a property, and create a deal for paid branches. Decide which event creates contacts so edits don't duplicate.

The first fork is the embed. Cognito offers a script embed that renders on your page and an iframe embed, and HubSpot's non-HubSpot form capture generally cannot see inside an iframe. Even with the script embed, conditional sections and a payment step make automatic capture unreliable. The dependable route is to send each entry to HubSpot server-side, through the Forms API or the contacts API, with the hubspotutk read from the page into a hidden field.

Use Cognito's outbound posting or an automation tool to send the entry, and check which Cognito plan includes the posting you need. Map the branch to a contact or deal property, such as enquiry, free registration or paid registration, rather than letting every entry look identical on HubSpot's timeline. If the paid branch is the commercial event, create or update a deal with the amount from the payment fields.

Edits are the HubSpot-specific trap. Cognito lets entries be updated after submission, and an automation that posts on both submit and update will either overwrite contact properties with partial data or record a second submission. Decide which event creates the contact and which only updates the deal, and match on email so a returning registrant does not become a second contact.

Cognito Forms → HubSpot · what breaks

Why this join usually fails — Cognito Forms → HubSpot

  1. 01

    The contact identity — email, or the hubspotutk cookie never reaches Cognito Forms

    Forms are embedded and payments may hand off to a processor, breaking the session twice.

  2. 02

    One form, several outcomes, one conversion action

    Conditional logic means the same form produces a free enquiry from one visitor and a paid registration from another. A single conversion action averages them into a value that describes neither.

  3. 03

    Duplicate contacts

    Two records for one person, each with half the history. Every downstream report is then wrong in a way that looks like a data problem rather than an integration problem.

  4. 04

    Nothing reconciles afterwards

    HubSpot shows the contact record and its timeline. A successful API response means HubSpot accepted the call, not that it resolved to the right contact — open the record and look.

Cognito Forms → HubSpot · the fix

What working looks like — Cognito Forms → HubSpot

  • The contact identity — email, or the hubspotutk cookie on every submission

  • Conversions arriving in HubSpot

    The revenue or conversion lands on the contact record and its associated deal, where sales can see it and where HubSpot's own attribution reporting can use it.

  • Reconciled against the source

Cognito Forms → HubSpot · architecture

How Cognito Forms and HubSpot actually connect

  1. 1

    Cognito Forms holds the truth

    A form that sometimes takes payment and sometimes does not produces two completely different conversions from one submission event.

  2. 2

    HubSpot needs a click to match

    HubSpot needs to resolve the incoming data to an existing contact or create one. Without an email or a hubspotutk it creates duplicates, and duplicate contacts break every report built on top of them.

  3. 3

    The identifier is the bridge

    The contact identity — email, or the hubspotutk cookie, captured at the visit and carried into the Cognito Forms entry.

  4. 4

    The event source decides reliability

    Send paid submissions at their amount and unpaid ones as a separate lower-value action.

  5. 5

    Deduplication at the destination

    HubSpot deduplicates contacts on email address. Events and property updates against the same contact are idempotent by design, but a second contact created for the same person is not detected, and merging them afterwards is manual work.

Cognito Forms → HubSpot · normal or broken

Working vs. broken, side by side — Cognito Forms → HubSpot

Normal, not a fault

  • The contact identity — email, or the hubspotutk cookie present on the submission

  • Sent from your CRM or payment record

  • Deduplicated correctly

    HubSpot deduplicates contacts on email address. Events and property updates against the same contact are idempotent by design, but a second contact created for the same person is not detected, and merging them afterwards is manual work.

  • Reconciles with the source

Actually broken

  • The contact identity — email, or the hubspotutk cookie missing on most records

    Forms are embedded and payments may hand off to a processor, breaking the session twice.

  • Sent from the browser

    Conditional logic means the same form produces a free enquiry from one visitor and a paid registration from another. A single conversion action averages them into a value that describes neither.

  • Counted twice, or not at all

    Two records for one person, each with half the history. Every downstream report is then wrong in a way that looks like a data problem rather than an integration problem.

  • Nobody has reconciled it

Cognito Forms → HubSpot · diagnose

Diagnostic order — Cognito Forms → HubSpot

  1. 01

    Count submissions carrying the contact identity — email, or the hubspotutk cookie

  2. 02

    Follow one real conversion end to end

  3. 03

    List the branches your form can produce and their values

    Usually the first time anyone has, and it is normally the whole fix.

  4. 04

    Search for the test contact by email after sending

    One record or two? Then check whether the properties landed on the contact or only on the form submission — they are different things and only the first is usable.

  5. 05

    Read the match rate, not the success message

    HubSpot shows the contact record and its timeline. A successful API response means HubSpot accepted the call, not that it resolved to the right contact — open the record and look.

Cognito Forms → HubSpot · prove

How it gets proven — Cognito Forms → HubSpot

Source of truth

Your CRM or payment record, with the form branch recorded.

  • The contact identity — email, or the hubspotutk cookie confirmed present on a live submission.
  • One contact record confirmed, not two, with the property visible on the contact rather than only on the submission.
  • Submissions reconciled by branch against imported conversions.

Cognito Forms → HubSpot · free audit

What we check in the free audit

  • Count submissions carrying the contact identity — email, or the hubspotutk cookie
  • Follow one real conversion end to end
  • List the branches your form can produce and their values
  • Search for the test contact by email after sending
  • Read the match rate, not the success message

Checked against

Your CRM or payment record, with the form branch recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Cognito Forms → HubSpot · when not to buy

When you don't need this — Cognito Forms → HubSpot

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the contact identity — email, or the hubspotutk cookie.
  • A single-path form with no payment needs one action and nothing else.
  • HubSpot's native form and tracking code already handle the straightforward cases well. This is worth building when the conversion happens somewhere HubSpot's code cannot see.

Cognito Forms → HubSpot · what we deliver

What gets built — Cognito Forms → HubSpot

  • Identifier capture into Cognito Forms

    Pass the identifier into a hidden field and carry it through to the payment where one occurs.

  • Event source: your CRM or payment record

    Send paid submissions at their amount and unpaid ones as a separate lower-value action.

  • Dispatch to HubSpot

    The HubSpot API — contact create-or-update with the properties, or a custom behavioral event where you need the timeline entry rather than a property.

  • Reversals where they exist

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM or payment record, with the form branch recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Cognito Forms → HubSpot questions, answered

Not reliably. HubSpot's non-HubSpot form capture cannot read inside an iframe embed and struggles with conditional logic, so send entries to HubSpot server-side with the hubspotutk included.

Free · 30 min

Get Cognito Forms and HubSpot joined properly

Free30 minutesNo obligation