Skip to main content
Affirm → TikTokIntegration guide

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

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

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

  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.

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. 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. 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 Affirm charge.

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

  1. 01

    Count orders carrying the ttclid

  2. 02

    Follow one real conversion end to end

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

  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.

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.

Get my free conversion tracking audit

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.

Get my free conversion tracking audit

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.

Free · 30 min

Get Affirm and TikTok joined properly

Free30 minutesNo obligation