Skip to main content
HubSpot → TikTokIntegration guide

Connecting HubSpot to TikTok Events API

HubSpot knows which leads turned into money, weeks after the ad platforms have stopped paying attention. TikTok's audience skews to exactly the browsers and app contexts where browser-side tracking performs worst. The join between them succeeds or fails on one thing: whether the ttclid reaches the HubSpot contact and deal before the conversion happens, because TikTok can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

HubSpot to TikTok: ttclid on the contact, deals inside 28 days

TikTok's click window tops out at 28 days, so most B2B HubSpot pipelines should optimize on the form or a qualified stage, not Closed Won. Capture ttclid into a cookie, hidden field and contact property. Send SubmitForm with the form submission ID as event_id, then later stages via a deal-stage workflow to the Events API with hashed email and phone.

TikTok's click attribution window tops out at 28 days, which makes it the least patient destination for HubSpot deals. B2B deals closing after a month will never be credited to TikTok, however complete the data. Measure click-to-close in HubSpot before deciding what TikTok optimizes on; for most B2B pipelines it ends up being the form submission or a qualified stage, not Closed Won.

Capture ttclid from the landing URL into a first-party cookie, copy it into a hidden field on the HubSpot form, and map it to a contact property. Send SubmitForm at submission with the form submission ID as event_id, and the later stage through a deal-stage workflow to the Events API with hashed email and phone from the contact and the deal ID as event_id. If you run TikTok Instant Forms, check whether a TikTok lead sync into HubSpot is available for your account, and keep TikTok's lead ID on the contact when it is.

The failure specific to this pair: the lead fills the form on a phone in TikTok's in-app browser, then books a demo days later from a desktop calendar link with a different email, creating a second HubSpot contact with no ttclid. The deal attaches to that clean contact. Merge the duplicates and check that the ttclid property survives the merge.

HubSpot → TikTok · what breaks

Why this join usually fails — HubSpot → TikTok

  1. 01

    The ttclid 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.

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

  3. 03

    The ttclid is lost in the in-app browser

    TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.

  4. 04

    Nothing reconciles afterwards

    TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.

HubSpot → TikTok · the fix

What working looks like — HubSpot → TikTok

  • The ttclid on every deal

  • Conversions arriving in TikTok

    Events appear in TikTok Events Manager, deduplicated against the pixel, and become usable for optimization.

  • Reconciled against the source

HubSpot → TikTok · architecture

How HubSpot and TikTok actually connect

  1. 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. 2

    TikTok Events API needs a click to match

    TikTok matches server events using ttclid where available, falling back to hashed contact information. Both should be sent — the fallback is what carries the events where the click ID did not survive.

  3. 3

    The identifier is the bridge

    The ttclid, captured at the visit and carried into the HubSpot contact and deal.

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

    Deduplication at the destination

    TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.

HubSpot → TikTok · normal or broken

Working vs. broken, side by side — HubSpot → TikTok

Normal, not a fault

  • The ttclid present on the deal

  • Sent from a HubSpot workflow or webhook on deal stage change

  • Deduplicated correctly

    TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.

  • Reconciles with the source

Actually broken

  • The ttclid 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

    TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.

  • Nobody has reconciled it

HubSpot → TikTok · diagnose

Diagnostic order — HubSpot → TikTok

  1. 01

    Count deals carrying the ttclid

  2. 02

    Follow one real conversion end to end

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

  4. 04

    Measure ttclid capture rate on TikTok traffic specifically

    Not on all traffic. TikTok's in-app browser is the failure case, so a healthy overall capture rate can hide a poor one on exactly the traffic that matters.

  5. 05

    Read the match rate, not the success message

    TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.

HubSpot → TikTok · prove

How it gets proven — HubSpot → TikTok

Source of truth

HubSpot's Deals report, filtered to Closed Won for the same window, by close date.

  • The ttclid confirmed present on a live deal.
  • Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
  • The click-to-close time distribution measured, so you know what share of deals close inside the destination's window.

HubSpot → TikTok · free audit

What we check in the free audit

  • Count deals carrying the ttclid
  • Follow one real conversion end to end
  • Open a Closed Won deal and follow it back to its contact
  • Measure ttclid capture rate on TikTok traffic specifically
  • 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.

Get my free conversion tracking audit

Free30 minutesNo obligation

HubSpot → TikTok · when not to buy

When you don't need this — HubSpot → TikTok

  • Measure identifier coverage yourself first — pull your last hundred deals and count how many carry the ttclid.
  • 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 TikTok is a small share of spend, the effort is hard to justify. It pays when TikTok is a channel you are actively scaling.

HubSpot → TikTok · what we deliver

What gets built — HubSpot → TikTok

  • 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 TikTok

    Server events to the TikTok Events API with the ttclid, hashed contact information and a matching event_id.

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

Get my free conversion tracking audit

From $400 · See packages

FAQ

HubSpot → TikTok questions, answered

Not in its attribution; TikTok's click window is at most 28 days. Optimize on an earlier stage and report closed revenue from HubSpot.

Free · 30 min

Get HubSpot and TikTok joined properly

Free30 minutesNo obligation