Connecting Afterpay to TikTok Events API
Afterpay is pay-in-four buy-now-pay-later, which means the shopper is approved elsewhere and the merchant is paid up front by the provider. 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 Afterpay 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
Afterpay orders to TikTok when checkout starts in the in-app browser
Save the ttclid on the order the moment checkout starts, because Afterpay login inside TikTok's webview pushes some shoppers to another browser. Send CompletePayment through the TikTok Events API from the order webhook with ttclid, hashed email and phone, full order value and the order ID as event_id, matched by any pixel event.
TikTok adds a step to the Afterpay hop that the other platforms don't. The shopper is in TikTok's in-app browser, taps Afterpay at checkout, and may need to log in to Afterpay inside that webview, where saved passwords and the Afterpay app are not available. Some give up, some copy the link into Safari and finish there. The ones who finish in another browser never return to your confirmation page in the session that holds the ttclid.
So the ttclid has to be saved on the order the moment checkout starts, not read on the thank-you page. Send CompletePayment from the order webhook with the ttclid, hashed email and phone from the order, the full order value and the order ID as event_id. If the TikTok pixel also fires CompletePayment for shoppers who did return, it must use the same event_id or TikTok counts the order twice.
Measure this pair on TikTok traffic alone: Afterpay checkouts started from TikTok sessions against Afterpay orders that carry a ttclid. If the gap is large, the cause is the webview login step, and moving capture earlier in checkout is the only fix. TikTok has no retraction for returned Afterpay orders, so keep the net revenue view in your store's reporting.
Afterpay → TikTok · what breaks
Why this join usually fails — Afterpay → TikTok
- 01
The ttclid never reaches Afterpay
The shopper is redirected to Afterpay for approval and a meaningful share never return to the confirmation page. The order exists and no pixel fired.
- 02
The approval redirect that ends the session
Approval happens on Afterpay's side. The customer is committed, the merchant is paid, and the confirmation page is optional from the shopper's point of view.
- 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.
Afterpay → TikTok · the fix
What working looks like — Afterpay → 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
Afterpay → TikTok · architecture
How Afterpay and TikTok actually connect
- 1
Afterpay holds the truth
Afterpay pays the merchant in full and collects instalments from the shopper itself, so your revenue arrives at once even though the customer pays over time. The store's order record is the money event, not the instalment schedule.
- 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 Afterpay order.
- 4
The event source decides reliability
Fire from the order record, which exists whether or not the browser came back, and tag the payment method so BNPL performance is visible.
- 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.
Afterpay → TikTok · normal or broken
Working vs. broken, side by side — Afterpay → TikTok
Normal, not a fault
The ttclid present on the order
Sent from your store's 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
The shopper is redirected to Afterpay for approval and a meaningful share never return to the confirmation page. The order exists and no pixel fired.
Sent from the browser
Approval happens on Afterpay's side. The customer is committed, the merchant is paid, and the confirmation page is optional from the shopper's point of view.
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
Afterpay → TikTok · diagnose
Diagnostic order — Afterpay → TikTok
- 01
Count orders carrying the ttclid
- 02
Follow one real conversion end to end
- 03
Count Afterpay checkouts started against confirmation-page loads
The gap is the share of BNPL revenue a browser-side setup cannot see, and it is usually larger than merchants expect.
- 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.
Afterpay → TikTok · prove
How it gets proven — Afterpay → TikTok
Source of truth
Your store's orders paid with Afterpay, cross-checked against Afterpay's settlement.
- The ttclid confirmed present on a live order.
- Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
- An Afterpay order abandoned at the return step, confirmed to still report.
Afterpay → TikTok · free audit
What we check in the free audit
- Count orders carrying the ttclid
- Follow one real conversion end to end
- Count Afterpay checkouts started against confirmation-page loads
- Measure ttclid capture rate on TikTok traffic specifically
- Read the match rate, not the success message
Checked against
Your store's orders paid with Afterpay, cross-checked against Afterpay's settlement.
Free30 minutesNo obligation
Afterpay → TikTok · when not to buy
When you don't need this — Afterpay → TikTok
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the ttclid.
- If BNPL is a very small share of your orders, measure that share before commissioning anything.
- 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.
Afterpay → TikTok · what we deliver
What gets built — Afterpay → TikTok
Identifier capture into Afterpay
Capture the identifier before checkout and store it on the order in your own system, so the conversion does not depend on the shopper completing the return journey.
Event source: your store's order webhook
Fire from the order record, which exists whether or not the browser came back, and tag the payment method so BNPL performance is visible.
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
Returns on BNPL orders run higher than card in many stores, so the reversal matters more here than elsewhere.
Written guarantee
95%+ tracking accuracy
Measured against Your store's orders paid with Afterpay, cross-checked against Afterpay's settlement.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Afterpay → TikTok questions, answered
The shopper often completes Afterpay approval outside TikTok's in-app browser and never comes back to your confirmation page with the ttclid. Store the ttclid on the order at checkout and send CompletePayment server-side.
The full order total. Afterpay pays you up front, so the instalments are irrelevant to the conversion value.
Almost always because the ttclid never reached the Afterpay order. The shopper is redirected to Afterpay for approval and a meaningful share never return to the confirmation page. The order exists and no pixel fired. 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.
Your store's order webhook. Fire from the order record, which exists whether or not the browser came back, and tag the payment method so BNPL performance is visible.
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 Afterpay → TikTok
- TikTok · Lead → booked callHow to track lead to booked call for TikTok Ads
- TikTok · Booked call → closed wonHow to track booked call to closed won for TikTok Ads
- TikTok · Free trial → paidHow to track free trial to paid for TikTok Ads
RELATED GUIDES
Where Afterpay → TikTok fits in the rest of your tracking
- TikTok · SubscriptionsTikTok Ads conversion tracking for subscription businesses
- TikTok · Financial servicesTikTok Ads conversion tracking for financial services firms
- TikTok × SubscriptionsHow to reconcile TikTok Ads against your billing system
- TikTok · Free trial → paidHow to track free trial to paid for TikTok Ads
- Splitit → TikTokConnecting Splitit to TikTok Events API
- Afterpay → LinkedInConnecting Afterpay to LinkedIn Ads
- Financial servicesConversion tracking for financial services, built for the compliance review
- Zuora → TikTokConnecting Zuora to TikTok Events API
Free · 30 min
Get Afterpay and TikTok joined properly
Free30 minutesNo obligation
