Connecting Shopify Checkout Extensibility to TikTok Events API
Shopify replaced checkout.liquid with a sandboxed extension model, and the thank-you page — where nearly every store put its conversion tracking — was the last thing to go. 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 Shopify 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
Checkout Extensibility to TikTok: CompletePayment after the cutover
If CompletePayment lived in Additional Scripts, it stopped while upper-funnel events continue. Restore it through TikTok's Shopify app, a custom pixel on checkout_completed, or an Events API send from the order webhook, with matching order-ID event_ids across any you use. Capture ttclid into cart attributes at first sight, add hashed email and phone, and exclude TikTok Shop orders.
Stores that pasted the TikTok pixel into the theme and into Additional Scripts now have a lopsided funnel: `ViewContent` and `AddToCart` still arrive from the storefront, and `CompletePayment` stopped at the upgrade. Campaigns optimizing toward Complete Payment lose their signal while upper-funnel events look healthy, so the problem reads as a creative or audience issue rather than a tracking break.
There are three ways back. TikTok's Shopify app can install the pixel as a web pixel and send server events; a custom pixel can subscribe to `checkout_completed` and fire `CompletePayment` with the order ID as `event_id`; or the order webhook can send `CompletePayment` through the Events API with the same order ID. If you use more than one, the `event_id` must match across them, or TikTok counts each order twice.
For the server event, capture the `ttclid` on the storefront the moment it appears, which matters more on TikTok because shoppers move between the in-app browser and their default browser. Write it into cart attributes so it reaches the order, and send hashed email and phone with it. Keep TikTok Shop orders out of this flow; TikTok already has them.
Checkout Extensibility → TikTok · what breaks
Why this join usually fails — Checkout Extensibility → TikTok
- 01
The ttclid never reaches Checkout Extensibility
Custom scripts can no longer run on checkout or the thank-you page. Client-side conversion tags placed there are not blocked — they are simply never loaded.
- 02
Conversion tracking that silently stopped
This is the single most common live tracking failure on Shopify right now. Nothing errors. The tag simply never runs, revenue keeps arriving, and the ad platform reports a collapse that looks like a market problem.
- 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.
- 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.
Checkout Extensibility → TikTok · the fix
What working looks like — Checkout Extensibility → 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
Shopify Checkout Extensibility's own records are the reference, not either dashboard.
Checkout Extensibility → TikTok · architecture
How Checkout Extensibility and TikTok actually connect
- 1
Shopify Checkout Extensibility holds the truth
Additional Scripts and script tags on the order status page are gone. Any tracking that lived there has already stopped firing or will, and the store owner usually finds out from a revenue report rather than an error.
- 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
The identifier is the bridge
The ttclid, captured at the visit and carried into the Shopify order.
- 4
The event source decides reliability
Send orders from the webhook at the paid total. Web Pixels are the supported browser-side path and they run sandboxed, with no access to the page.
- 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.
Checkout Extensibility → TikTok · normal or broken
Working vs. broken, side by side — Checkout Extensibility → TikTok
Normal, not a fault
The ttclid present on the order
Visible on the record itself in Shopify Checkout Extensibility, not merely captured somewhere on the site.
Sent from the Shopify order webhook, server-side
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
TikTok's count and Shopify Checkout Extensibility's records agree within a few percent over a closed window.
Actually broken
The ttclid missing on most records
Custom scripts can no longer run on checkout or the thank-you page. Client-side conversion tags placed there are not blocked — they are simply never loaded.
Sent from the browser
This is the single most common live tracking failure on Shopify right now. Nothing errors. The tag simply never runs, revenue keeps arriving, and the ad platform reports a collapse that looks like a market problem.
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
The dashboard shows a number and no one has compared it to Shopify Checkout Extensibility.
Checkout Extensibility → TikTok · diagnose
Diagnostic order — Checkout Extensibility → TikTok
- 01
Count orders carrying the ttclid
- 02
Follow one real conversion end to end
- 03
Compare Shopify order count against platform-reported conversions for the last 60 days
A sharp divergence with no change in actual sales is the signature. Check what was in Additional Scripts before assuming anything else.
- 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.
- 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.
Checkout Extensibility → TikTok · prove
How it gets proven — Checkout Extensibility → TikTok
Against Shopify Checkout Extensibility's own records, not against either platform's dashboard.
Source of truth
Shopify orders by creation date, read from the order record rather than from anything rendered on a page.
- The ttclid confirmed present on a live order.
- Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
- Orders reconciled from the webhook against imported conversions for a settled week, with no dependence on anything rendered at checkout.
Checkout Extensibility → TikTok · free audit
What we check in the free audit
- Count orders carrying the ttclid
- Follow one real conversion end to end
- Compare Shopify order count against platform-reported conversions for the last 60 days
- Measure ttclid capture rate on TikTok traffic specifically
- Read the match rate, not the success message
Checked against
Shopify orders by creation date, read from the order record rather than from anything rendered on a page.
Free30 minutesNo obligation
Checkout Extensibility → TikTok · when not to buy
When you don't need this — Checkout Extensibility → TikTok
- If TikTok already reports conversions that reconcile against Shopify Checkout Extensibility's records within a few percent, this join is working and there is nothing to buy.
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the ttclid.
- If you were already sending conversions server-side from the order webhook, this migration does not affect your tracking at all — which is exactly why server-side was worth doing before it was forced.
- 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.
Checkout Extensibility → TikTok · what we deliver
What gets built — Checkout Extensibility → TikTok
Identifier capture into Checkout Extensibility
Capture the identifier on your own storefront, persist it into cart or order attributes, and send the conversion server-side from the order webhook rather than from any page.
Event source: the Shopify order webhook, server-side
Send orders from the webhook at the paid total. Web Pixels are the supported browser-side path and they run sandboxed, with no access to the page.
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 from their own webhooks.
Written guarantee
95%+ tracking accuracy
Measured against Shopify orders by creation date, read from the order record rather than from anything rendered on a page.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Checkout Extensibility → TikTok questions, answered
If the event was in Additional Scripts or the old thank-you page, it no longer loads. Reinstall through the TikTok app, a custom pixel, or the order webhook via the Events API.
Yes, by subscribing to the checkout_completed customer event inside the pixel. Use the order ID as event_id so a server-side copy deduplicates.
Almost always because the ttclid never reached the Shopify order. Custom scripts can no longer run on checkout or the thank-you page. Client-side conversion tags placed there are not blocked — they are simply never loaded. Measure coverage before debugging the dispatch.
The ttclid — TikTok's click identifier, appended to your landing page URL and also stored in the _ttp cookie. TikTok additionally matches on hashed email and phone. In-app browser behavior makes ttclid capture more fragile than the equivalents on other platforms, so persisting it server-side as soon as it is seen matters more here than elsewhere.
The Shopify order webhook, server-side. Send orders from the webhook at the paid total. Web Pixels are the supported browser-side path and they run sandboxed, with no access to the page.
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.
More on Checkout Extensibility → TikTok
- Checkout Extensibility → Google AdsConnecting Shopify Checkout Extensibility to Google Ads
- Checkout Extensibility → MetaConnecting Shopify Checkout Extensibility to Meta Conversions API
- Checkout Extensibility → GA4Connecting Shopify Checkout Extensibility to GA4
RELATED GUIDES
Where Checkout Extensibility → TikTok fits in the rest of your tracking
- TikTok · Jewelry ecommerceTikTok Ads conversion tracking for jewelry ecommerce brands
- TikTok · SupplementsTikTok Ads conversion tracking for supplement brands
- TikTok × Ecommerce OrdersHow to reconcile TikTok Ads against your store's order table
- TikTok · Add to cart → purchaseHow to track add to cart to purchase for TikTok Ads
- PrestaShop → TikTokConnecting PrestaShop to TikTok Events API
- Checkout Extensibility → PinterestConnecting Shopify Checkout Extensibility to Pinterest
- Jewelry ecommerceConversion tracking for jewelry ecommerce, measured in settled orders
- WooCommerce → TikTokConnecting WooCommerce to TikTok Events API
Free · 30 min
Get Checkout Extensibility and TikTok joined properly
Free30 minutesNo obligation
