Connecting Affirm to TikTok Events API
Affirm is longer-term financed BNPL, typically on higher-ticket items, which adds a credit decision between the checkout and the sale. 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 Affirm charge 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
Affirm orders to TikTok: persist the ttclid before financing
Write the ttclid to your server the moment the landing page sees it, before the in-app Affirm verification steps, then send CompletePayment through the TikTok Events API on capture with ttclid, normalized hashed email and phone, and the order number as event_id. Compare Affirm approval rates on TikTok traffic separately, and reconcile against captured charges.
TikTok should get a CompletePayment from your server when the Affirm charge is captured, with the ttclid, hashed email and phone, and an event_id equal to your order number so the pixel and Events API do not both count it. The ttclid has to be written to your server the moment the landing page sees it, because a TikTok shopper who opens Affirm from the in-app browser goes through identity checks and verification codes before any approval, and the webview often does not hold its storage through that.
A higher-ticket financed purchase is a considered decision, and TikTok buyers frequently leave the app and return later on another device or in a full browser. When that happens the ttclid is gone and only hashed email and phone can carry the match, so make sure the order record supplies them in the normalized form TikTok expects.
Look at Affirm approval rates on TikTok-sourced checkouts separately from your other channels. If they differ meaningfully, a CompletePayment count that looks thin is telling you about the audience's financing outcomes rather than about the tracking. Cancelled financing and refunds are not removed from TikTok's reporting, so reconcile against captured Affirm charges rather than against Events Manager totals.
Affirm → TikTok · what breaks
Why this join usually fails — Affirm → TikTok
- 01
The ttclid never reaches Affirm
The shopper leaves for Affirm's flow, is assessed, and returns only if approved. Both the redirect and the decline create paths where nothing fires on your site.
- 02
A credit decision inside the checkout
Declines are real volume that reached checkout and produced nothing. Counting checkout starts rather than captured charges overstates performance by the decline rate.
- 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.
Affirm → TikTok · the fix
What working looks like — Affirm → 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
Affirm → TikTok · architecture
How Affirm and TikTok actually connect
- 1
Affirm holds the truth
Affirm runs a real credit decision, so a shopper who reaches checkout may be declined. The order only exists if the financing was approved and captured.
- 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 Affirm charge.
- 4
The event source decides reliability
Fire on capture after approval, and tag the payment method — Affirm orders skew to higher ticket values that will distort a blended average.
- 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.
Affirm → TikTok · normal or broken
Working vs. broken, side by side — Affirm → TikTok
Normal, not a fault
The ttclid present on the order
Sent from your store's order webhook, on Affirm charge capture
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 leaves for Affirm's flow, is assessed, and returns only if approved. Both the redirect and the decline create paths where nothing fires on your site.
Sent from the browser
Declines are real volume that reached checkout and produced nothing. Counting checkout starts rather than captured charges overstates performance by the decline rate.
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
Affirm → TikTok · diagnose
Diagnostic order — Affirm → TikTok
- 01
Count orders carrying the ttclid
- 02
Follow one real conversion end to end
- 03
Compare Affirm checkouts started, approved and captured
The decline rate is a genuine cost of this payment method and it belongs in the report.
- 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.
Affirm → TikTok · prove
How it gets proven — Affirm → TikTok
Source of truth
Your store's orders financed through Affirm, cross-checked against Affirm'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 approved Affirm order confirmed to report and a declined one confirmed not to.
Affirm → TikTok · free audit
What we check in the free audit
- Count orders carrying the ttclid
- Follow one real conversion end to end
- Compare Affirm checkouts started, approved and captured
- Measure ttclid capture rate on TikTok traffic specifically
- Read the match rate, not the success message
Checked against
Your store's orders financed through Affirm, cross-checked against Affirm's settlement.
Free30 minutesNo obligation
Affirm → TikTok · when not to buy
When you don't need this — Affirm → TikTok
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the ttclid.
- If your average order value is low, Affirm is a poor fit for the payment method and the integration follows that.
- 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.
Affirm → TikTok · what we deliver
What gets built — Affirm → TikTok
Identifier capture into Affirm
Capture the identifier before checkout and store it on the order, so approved financing is attributable regardless of the return journey.
Event source: your store's order webhook, on Affirm charge capture
Fire on capture after approval, and tag the payment method — Affirm orders skew to higher ticket values that will distort a blended average.
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 cancelled financing both exist and should reduce the reported figure.
Written guarantee
95%+ tracking accuracy
Measured against Your store's orders financed through Affirm, cross-checked against Affirm's settlement.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Affirm → TikTok questions, answered
If you want, send it as InitiateCheckout or AddPaymentInfo, never as CompletePayment. Only a captured charge is a sale.
Often because the ttclid was lost in the in-app browser before the order existed. Check ttclid presence on TikTok-sourced Affirm orders before blaming the campaign.
Almost always because the ttclid never reached the Affirm charge. The shopper leaves for Affirm's flow, is assessed, and returns only if approved. Both the redirect and the decline create paths where nothing fires on your site. 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, on Affirm charge capture. Fire on capture after approval, and tag the payment method — Affirm orders skew to higher ticket values that will distort a blended average.
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 Affirm → 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
Using Affirm for bookings? How Affirm bookings get tracked end to end
RELATED GUIDES
Where Affirm → TikTok fits in the rest of your tracking
- TikTok · Financial servicesTikTok Ads conversion tracking for financial services firms
- TikTok · SubscriptionsTikTok Ads conversion tracking for subscription businesses
- TikTok × SubscriptionsHow to reconcile TikTok Ads against your billing system
- TikTok · Free trial → paidHow to track free trial to paid for TikTok Ads
- Square → TikTokConnecting Square to TikTok Events API
- Affirm → NextdoorConnecting Affirm to Nextdoor Ads
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Elavon → TikTokConnecting Elavon to TikTok Events API
Free · 30 min
Get Affirm and TikTok joined properly
Free30 minutesNo obligation
