Skip to main content
Umbraco → TikTokIntegration guide

Connecting Umbraco to TikTok Events API

Umbraco is a .NET CMS common in mid-market and enterprise European organisations, which means IT governance is usually the binding constraint rather than technology. 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 Umbraco Commerce order 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

Umbraco to TikTok: adding a channel without another release

Send a generic order payload from the Umbraco Commerce finalization handler to server-side GTM in the first release, saving the ttclid and _ttp cookie as order properties, so adding TikTok's Events API is a container tag. Send CompletePayment with the order number as event_id matching the pixel. Read ttclid in the browser, never into cached HTML.

TikTok is often added after Meta and Google on an Umbraco site, and that is when change control bites. If the first release already sends a generic order payload from the finalization handler to a server-side GTM container, adding the TikTok Events API is a tag in the container rather than a new deployment of the .NET application.

For that to work, the order properties saved at checkout must include the ttclid from the landing URL and the _ttp cookie, even before any TikTok campaign exists. Capturing them costs nothing in the first release and saves a second change request later. Send CompletePayment with the order number as event_id, matching the pixel on the confirmation page.

Check how TikTok landing pages are rendered. If any server code writes the ttclid into the page HTML, a cached copy served from the CDN hands one visitor's ttclid to everyone who loads it. Read the parameter in the browser, store it in a first-party cookie, and pick it up from that cookie at checkout.

Umbraco → TikTok · what breaks

Why this join usually fails — Umbraco → TikTok

  1. 01

    The ttclid never reaches Umbraco

    Output caching and CDN layers sit in front of most Umbraco deployments, and the deployment process itself frequently prevents quick iteration, which means getting the capture right the first time matters more here.

  2. 02

    Change control, not technology

    The build is straightforward and the release cycle is not. Scope the deployment process before committing to a timeline, because in this segment it is the schedule.

  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.

Umbraco → TikTok · the fix

What working looks like — Umbraco → TikTok

  • The ttclid on every order

  • Conversions arriving in TikTok

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

  • Reconciled against the source

Umbraco → TikTok · architecture

How Umbraco and TikTok actually connect

  1. 1

    Umbraco holds the truth

    You own the database. What you may not own is the release process — Umbraco sites in this segment often sit behind change control that adds weeks to any modification.

  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 Umbraco Commerce order.

  4. 4

    The event source decides reliability

    Fire from the .NET notification handler rather than a view, which may be cached at the edge.

  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.

Umbraco → TikTok · normal or broken

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

Normal, not a fault

  • The ttclid present on the order

  • Sent from the Umbraco Commerce order-finalised notification

  • 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

    Output caching and CDN layers sit in front of most Umbraco deployments, and the deployment process itself frequently prevents quick iteration, which means getting the capture right the first time matters more here.

  • Sent from the browser

    The build is straightforward and the release cycle is not. Scope the deployment process before committing to a timeline, because in this segment it is the schedule.

  • 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

Umbraco → TikTok · diagnose

Diagnostic order — Umbraco → TikTok

  1. 01

    Count orders carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 03

    Establish the deployment and change-control process first

    It determines the timeline more than any technical question here.

  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.

Umbraco → TikTok · prove

How it gets proven — Umbraco → TikTok

Source of truth

Umbraco Commerce's order records in your own database, at agreed order states.

  • The ttclid confirmed present on a live order.
  • Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
  • Order data confirmed populated on an order placed through the CDN as an anonymous visitor.

Umbraco → TikTok · free audit

What we check in the free audit

  • Count orders carrying the ttclid
  • Follow one real conversion end to end
  • Establish the deployment and change-control process first
  • Measure ttclid capture rate on TikTok traffic specifically
  • Read the match rate, not the success message

Checked against

Umbraco Commerce's order records in your own database, at agreed order states.

Get my free conversion tracking audit

Free30 minutesNo obligation

Umbraco → TikTok · when not to buy

When you don't need this — Umbraco → TikTok

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the ttclid.
  • If the site is maintained by an internal IT team on a quarterly release cycle, plan the engagement around that rather than around the code.
  • 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.

Umbraco → TikTok · what we deliver

What gets built — Umbraco → TikTok

  • Identifier capture into Umbraco

    Capture the identifier and persist it to the order through a server-side notification handler in the application.

  • Event source: the Umbraco Commerce order-finalised notification

    Fire from the .NET notification handler rather than a view, which may be cached at the edge.

  • 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

    Order state changes to refunded or cancelled are recorded.

Written guarantee

95%+ tracking accuracy

Measured against Umbraco Commerce's order records in your own database, at agreed order states.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Umbraco → TikTok questions, answered

The browser pixel, yes, through a tag manager. Server-side CompletePayment needs the order handler to send a payload you can route to TikTok, which is easiest if it was built into the first release.

Free · 30 min

Get Umbraco and TikTok joined properly

Free30 minutesNo obligation