Skip to main content
SureCart → TikTokIntegration guide

Connecting SureCart to TikTok Events API

SureCart runs checkout off-site while the store lives in WordPress, which removes the database load and introduces a handoff where the identifier can be lost. 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 SureCart 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

SureCart to TikTok: in-app shoppers through a hosted checkout

TikTok's in-app browser must hold your WordPress page and SureCart's checkout together, so put ttclid and an event_id into checkout metadata rather than trusting the _ttp cookie. Send CompletePayment from the paid-order webhook with value, currency and hashed email and phone. Fire the confirmation pixel with the event_id read from the order, never one generated on the page.

TikTok shoppers arrive in the in-app browser and are handed from your WordPress page to SureCart's checkout, two contexts the in-app browser has to hold together. Put the ttclid and an event_id into the checkout session as metadata at the handoff, rather than relying on the _ttp cookie surviving the round trip.

Send CompletePayment from the paid-order webhook with value, currency, hashed email and phone, and content IDs matching any TikTok catalog. For subscriptions, send the first payment only, as Subscribe if your TikTok Events Manager lists it as a standard event, and nothing for renewals. TikTok has no retraction for refunds or first-period cancellations, so check whether TikTok-sourced orders refund at a different rate from other channels before trusting TikTok's reported revenue.

The pair-specific break: SureCart's confirmation step returns the shopper to your site in a different browser context, the TikTok pixel fires there without the ttclid and with a freshly generated event_id, and the server event carrying the stored ttclid fails to deduplicate against it. Fire the confirmation pixel with the event_id read from the order, never one generated on the page.

SureCart → TikTok · what breaks

Why this join usually fails — SureCart → TikTok

  1. 01

    The ttclid never reaches SureCart

    Checkout runs on SureCart's infrastructure, so the identifier must be passed at the handoff rather than read from the page.

  2. 02

    Order data living outside the site it belongs to

    Teams used to querying the WooCommerce orders table find nothing in the database, because the orders are not there. Reconciliation has to go through the API, and assuming otherwise wastes a day.

  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.

SureCart → TikTok · the fix

What working looks like — SureCart → 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

SureCart → TikTok · architecture

How SureCart and TikTok actually connect

  1. 1

    SureCart holds the truth

    Because the cart is hosted rather than in WordPress, the order data lives outside your database and must be pulled rather than queried.

  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 SureCart order.

  4. 4

    The event source decides reliability

    Send completed orders at paid value, with subscriptions sending only the first payment.

  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.

SureCart → TikTok · normal or broken

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

Normal, not a fault

  • The ttclid present on the order

  • Sent from the SureCart order webhook

  • 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

    Checkout runs on SureCart's infrastructure, so the identifier must be passed at the handoff rather than read from the page.

  • Sent from the browser

    Teams used to querying the WooCommerce orders table find nothing in the database, because the orders are not there. Reconciliation has to go through the API, and assuming otherwise wastes a day.

  • 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

SureCart → TikTok · diagnose

Diagnostic order — SureCart → TikTok

  1. 01

    Count orders carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm where the order record actually lives before designing reconciliation

    On hosted-checkout plugins it is not in WordPress, and that changes the whole approach.

  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.

SureCart → TikTok · prove

How it gets proven — SureCart → TikTok

Source of truth

SureCart orders by date, split into one-time and subscription purchases.

  • The ttclid confirmed present on a live order.
  • Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
  • Completed orders reconciled from the API against imported conversions.

SureCart → TikTok · free audit

What we check in the free audit

  • Count orders carrying the ttclid
  • Follow one real conversion end to end
  • Confirm where the order record actually lives before designing reconciliation
  • Measure ttclid capture rate on TikTok traffic specifically
  • Read the match rate, not the success message

Checked against

SureCart orders by date, split into one-time and subscription purchases.

Get my free conversion tracking audit

Free30 minutesNo obligation

SureCart → TikTok · when not to buy

When you don't need this — SureCart → TikTok

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the ttclid.
  • If you use a fully in-database cart, you can query directly and this indirection does not apply.
  • 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.

SureCart → TikTok · what we deliver

What gets built — SureCart → TikTok

  • Identifier capture into SureCart

    Capture on your WordPress site and pass the identifier into the checkout session as metadata.

  • Event source: the SureCart order webhook

    Send completed orders at paid value, with subscriptions sending only the first payment.

  • 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 and cancellations reverse.

Written guarantee

95%+ tracking accuracy

Measured against SureCart orders by date, split into one-time and subscription purchases.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

SureCart → TikTok questions, answered

Read it from the landing URL on your WordPress site and add it to the checkout session metadata; the order webhook returns it.

Free · 30 min

Get SureCart and TikTok joined properly

Free30 minutesNo obligation