Skip to main content
Afterpay → TikTokIntegration guide

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

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

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

  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.

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

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

  1. 01

    Count orders carrying the ttclid

  2. 02

    Follow one real conversion end to end

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

  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.

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.

Get my free conversion tracking audit

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.

Get my free conversion tracking audit

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.

Free · 30 min

Get Afterpay and TikTok joined properly

Free30 minutesNo obligation