Skip to main content
Tapfiliate → TikTokIntegration guide

Connecting Tapfiliate to TikTok Events API

Tapfiliate handles affiliate programmes for SaaS and subscription businesses, where the commission recurs and therefore so does the cost of getting the attribution wrong. 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 Tapfiliate conversion 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

Tapfiliate to TikTok: creator affiliates versus paid TikTok clicks

Store the ttclid and Tapfiliate referral with timestamps on the account. Send signups through TikTok's Events API with ttclid and hashed email, as CompleteRegistration for trials or Subscribe for paid starts, with the account ID as event_id, valued net of commission when both exist. Use your own URL on Spark Ads, and usually optimize on trial starts.

TikTok is where affiliate and paid traffic look most alike. Creators post your product with a Tapfiliate link in their bio, and your paid ads run in the same feed. Only paid clicks carry a `ttclid`; organic creator traffic carries the Tapfiliate referral. Store both on the account with timestamps, because the same person often sees both before signing up.

Spark Ads add a trap. If you boost a creator's video as a Spark Ad and use their affiliate link as the destination, you pay for the click and then pay commission on the signup, every month the subscription lasts. Use your own landing URL on Spark Ads unless paying commission on bought traffic is part of the creator deal.

Send the signup through the Events API with the `ttclid` and hashed email, using `CompleteRegistration` for a trial start or `Subscribe` for a paid start, with the account ID as `event_id` to deduplicate against the pixel. For signups where both a `ttclid` and an affiliate referral exist, send the value net of commission. Check your TikTok attribution window against your trial length; a paid conversion after a long trial is unlikely to be credited, so trial starts are usually the event to optimize on.

Tapfiliate → TikTok · what breaks

Why this join usually fails — Tapfiliate → TikTok

  1. 01

    The ttclid never reaches Tapfiliate

    Affiliate cookies and paid identifiers coexist in the same browser through a trial period that can run weeks.

  2. 02

    Commission continuing on cancelled subscriptions

    Most implementations wire the signup and forget the cancellation, so affiliates keep earning on customers who left months ago. This is money leaving the business quietly and indefinitely.

  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.

Tapfiliate → TikTok · the fix

What working looks like — Tapfiliate → TikTok

  • The ttclid on every conversion

  • Conversions arriving in TikTok

    Events appear in TikTok Events Manager, deduplicated against the pixel, and become usable for optimization.

  • Reconciled against the source

Tapfiliate → TikTok · architecture

How Tapfiliate and TikTok actually connect

  1. 1

    Tapfiliate holds the truth

    Recurring commission means an attribution error does not cost you once. It costs you every month until somebody notices, and nobody notices because the amounts are individually small.

  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 Tapfiliate conversion.

  4. 4

    The event source decides reliability

    Send new subscriptions net of commission, with affiliate-sourced ones marked.

  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.

Tapfiliate → TikTok · normal or broken

Working vs. broken, side by side — Tapfiliate → TikTok

Normal, not a fault

  • The ttclid present on the conversion

  • Sent from the subscription record with affiliate attribution

  • 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

    Affiliate cookies and paid identifiers coexist in the same browser through a trial period that can run weeks.

  • Sent from the browser

    Most implementations wire the signup and forget the cancellation, so affiliates keep earning on customers who left months ago. This is money leaving the business quietly and indefinitely.

  • 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

Tapfiliate → TikTok · diagnose

Diagnostic order — Tapfiliate → TikTok

  1. 01

    Count conversions carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether cancellations reach the affiliate platform

    Usually they do not, because only the signup path was interesting to build.

  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.

Tapfiliate → TikTok · prove

How it gets proven — Tapfiliate → TikTok

Source of truth

Subscriptions flagged by affiliate, with recurring commission recorded against recognized revenue.

  • The ttclid confirmed present on a live conversion.
  • Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
  • Commissionable recurring revenue reconciled against active subscriptions, with cancellations proven to reverse.

Tapfiliate → TikTok · free audit

What we check in the free audit

  • Count conversions carrying the ttclid
  • Follow one real conversion end to end
  • Check whether cancellations reach the affiliate platform
  • Measure ttclid capture rate on TikTok traffic specifically
  • Read the match rate, not the success message

Checked against

Subscriptions flagged by affiliate, with recurring commission recorded against recognized revenue.

Get my free conversion tracking audit

Free30 minutesNo obligation

Tapfiliate → TikTok · when not to buy

When you don't need this — Tapfiliate → TikTok

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the ttclid.
  • One-off sales programmes do not have the recurring exposure and need only the signup path.
  • 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.

Tapfiliate → TikTok · what we deliver

What gets built — Tapfiliate → TikTok

  • Identifier capture into Tapfiliate

    Record both identifiers with timestamps on the account and apply a written precedence rule at conversion rather than at click.

  • Event source: the subscription record with affiliate attribution

    Send new subscriptions net of commission, with affiliate-sourced ones marked.

  • 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

    Cancellations must reverse and stop the recurring commission.

Written guarantee

95%+ tracking accuracy

Measured against Subscriptions flagged by affiliate, with recurring commission recorded against recognized revenue.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Tapfiliate → TikTok questions, answered

Whoever your written precedence rule says. Point the Spark Ad at your own landing URL, not the creator's affiliate link, unless you mean to pay commission on traffic you bought.

Free · 30 min

Get Tapfiliate and TikTok joined properly

Free30 minutesNo obligation