Skip to main content
ReferralCandy → TikTokIntegration guide

Connecting ReferralCandy to TikTok Events API

ReferralCandy serves smaller stores where the referral programme is often the second-largest acquisition channel and is almost never measured against paid media properly. 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 ReferralCandy referral 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

ReferralCandy and TikTok: organic shares versus paid ttclids

Customers post ReferralCandy links in TikTok bios, arriving without a ttclid; a ttclid means a paid click. When an order carries both, apply your precedence rule, and if referral wins exclude it from CompletePayment in both the TikTok pixel and Events API, using the order ID as event_id. Send value net of the friend's discount.

TikTok is where referral programmes go public. Customers post their ReferralCandy link in TikTok bios and videos, and those clicks arrive from tiktok.com without a ttclid, because they are organic. Read the difference at the order: a ttclid means a paid TikTok click, and a referral link from TikTok means the programme did the work. Neither should be credited to the other.

When an order carries both a ttclid and a referral, apply the same precedence rule you use everywhere else and record both on the order. If referral wins, exclude those orders from CompletePayment in both the TikTok pixel and the Events API, keeping the order ID as event_id for everything that is sent. Excluding them server-side alone leaves the pixel event standing.

Send value net of the friend's discount. Watch the reward cost for referrals that come through TikTok content. A customer with a following can generate referral volume that looks like a viral ad, and comparing reward cost per order with TikTok's cost per CompletePayment shows which is the cheaper TikTok channel: paid placements, or customers posting their link.

ReferralCandy → TikTok · what breaks

Why this join usually fails — ReferralCandy → TikTok

  1. 01

    The ttclid never reaches ReferralCandy

    Referral links land with their own parameters on a store that may already hold a paid identifier.

  2. 02

    Referral and paid competing for the same orders

    Without a precedence rule the credit goes to whichever parameter was written last, which means your reported channel mix is an accident of browsing order.

  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.

ReferralCandy → TikTok · the fix

What working looks like — ReferralCandy → TikTok

  • The ttclid on every referral

  • Conversions arriving in TikTok

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

  • Reconciled against the source

ReferralCandy → TikTok · architecture

How ReferralCandy and TikTok actually connect

  1. 1

    ReferralCandy holds the truth

    At small-store scale the referral programme can rival paid acquisition in volume. Pooling them means neither channel's true cost per acquisition is knowable.

  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 ReferralCandy referral.

  4. 4

    The event source decides reliability

    Send orders net of rewards, with referral orders marked and excluded from paid conversion imports.

  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.

ReferralCandy → TikTok · normal or broken

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

Normal, not a fault

  • The ttclid present on the referral

  • Sent from your order feed with referral 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

    Referral links land with their own parameters on a store that may already hold a paid identifier.

  • Sent from the browser

    Without a precedence rule the credit goes to whichever parameter was written last, which means your reported channel mix is an accident of browsing order.

  • 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

ReferralCandy → TikTok · diagnose

Diagnostic order — ReferralCandy → TikTok

  1. 01

    Count referrals carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 03

    Count orders carrying both a referral and a paid parameter

    It is usually a meaningful share, and every one of them is currently credited by luck.

  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.

ReferralCandy → TikTok · prove

How it gets proven — ReferralCandy → TikTok

Source of truth

Store orders flagged by referral, net of both rewards.

  • The ttclid confirmed present on a live referral.
  • Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
  • Non-referral orders reconciled against imported conversions, with referral volume and reward cost stated.

ReferralCandy → TikTok · free audit

What we check in the free audit

  • Count referrals carrying the ttclid
  • Follow one real conversion end to end
  • Count orders carrying both a referral and a paid parameter
  • Measure ttclid capture rate on TikTok traffic specifically
  • Read the match rate, not the success message

Checked against

Store orders flagged by referral, net of both rewards.

Get my free conversion tracking audit

Free30 minutesNo obligation

ReferralCandy → TikTok · when not to buy

When you don't need this — ReferralCandy → TikTok

  • Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the ttclid.
  • No referral programme, no conflict.
  • 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.

ReferralCandy → TikTok · what we deliver

What gets built — ReferralCandy → TikTok

  • Identifier capture into ReferralCandy

    Set precedence explicitly and record both identifiers on the order.

  • Event source: your order feed with referral attribution

    Send orders net of rewards, with referral orders marked and excluded from paid conversion imports.

  • 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 reverse and reclaim rewards.

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by referral, net of both rewards.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

ReferralCandy → TikTok questions, answered

They come from customers sharing referral links organically in bios or videos, not from paid ads. Credit them to the referral programme.

Free · 30 min

Get ReferralCandy and TikTok joined properly

Free30 minutesNo obligation