Skip to main content
Cognito Forms → TikTokIntegration guide

Connecting Cognito Forms to TikTok Events API

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. 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 Cognito Forms entry 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

Cognito Forms to TikTok: SubmitForm vs CompletePayment by branch

Send unpaid Cognito Forms entries to TikTok as SubmitForm and paid ones as CompletePayment, never every submission at an averaged value. Pass ttclid from your page into a hidden field on load, since TikTok's in-app browser and the iframe lose cookies. Use the entry number as event_id with hashed email and phone, and check ttclid fill rates.

TikTok's standard events give you a clean split: SubmitForm for unpaid Cognito entries, CompletePayment for paid ones. The mistake to avoid is sending every submission as CompletePayment with an averaged value. TikTok then optimizes toward the cheap enquiry branch because it converts more often, and the value it reports describes neither outcome.

TikTok traffic is the hardest case for a Cognito embed. The visitor arrives in TikTok's in-app browser and the form loads, often in an iframe, so the ttclid must be passed from your page into a hidden field on load rather than read from a cookie later. If the paid branch hands off to a processor, the webview sometimes opens that step in a way that loses state; the ttclid already stored on the Cognito entry is what survives.

Use the entry number as event_id if you also fire the pixel, and include hashed email and phone from the form, which carry the match when the click ID is missing. Before scaling, count how many TikTok-sourced entries have the hidden ttclid populated. A low rate is the whole problem, and no amount of server work recovers an ID that was never captured.

Cognito Forms → TikTok · what breaks

Why this join usually fails — Cognito Forms → TikTok

  1. 01

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

    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.

Cognito Forms → TikTok · the fix

What working looks like — Cognito Forms → TikTok

  • The ttclid on every submission

  • Conversions arriving in TikTok

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

  • Reconciled against the source

Cognito Forms → TikTok · architecture

How Cognito Forms and TikTok 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

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

    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.

Cognito Forms → TikTok · normal or broken

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

Normal, not a fault

  • The ttclid present on the submission

  • Sent from your CRM or payment record

  • 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

    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

    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

Cognito Forms → TikTok · diagnose

Diagnostic order — Cognito Forms → TikTok

  1. 01

    Count submissions carrying the ttclid

  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

    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.

Cognito Forms → TikTok · prove

How it gets proven — Cognito Forms → TikTok

Source of truth

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

  • The ttclid confirmed present on a live submission.
  • Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
  • Submissions reconciled by branch against imported conversions.

Cognito Forms → TikTok · free audit

What we check in the free audit

  • Count submissions carrying the ttclid
  • Follow one real conversion end to end
  • List the branches your form can produce and their values
  • Measure ttclid capture rate on TikTok traffic specifically
  • 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 → TikTok · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the ttclid.
  • A single-path form with no payment needs one action and nothing else.
  • 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.

Cognito Forms → TikTok · what we deliver

What gets built — Cognito Forms → TikTok

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

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

  • 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 → TikTok questions, answered

Yes, if paid entries are sent as CompletePayment with value from the payment record and the ttclid or hashed contact data attached. Keep unpaid entries as SubmitForm.

Free · 30 min

Get Cognito Forms and TikTok joined properly

Free30 minutesNo obligation