Connecting ShareASale to TikTok Events API
ShareASale is a long-established last-click affiliate network, which means the same voucher-code interception problem as any last-click programme, at the scale of a very large publisher base. 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 ShareASale transaction 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
ShareASale to TikTok: creator publishers vs. your TikTok ads
Send orders to TikTok's Events API as CompletePayment with value net of commission, the order number as event_id shared with the pixel, the stored ttclid, hashed customer data and publisher type. Record both ttclid and affiliate credit on the order, since ShareASale creators on TikTok carry no ttclid, and point Spark Ads at your own URL, not creator links.
Some of your ShareASale publishers are TikTok creators with an affiliate link in their bio. Their traffic comes from TikTok but carries no ttclid, because it is organic, and it is paid by commission. Your TikTok ads drive traffic from the same app with a ttclid. Record both on the order so you can see how much TikTok-originated revenue you are paying for twice: once as ad spend, once as commission.
Send orders as CompletePayment through the Events API with value net of commission, the order number as event_id shared with the pixel, and the stored ttclid and hashed customer data. Add publisher type to the event properties so voucher-intercepted orders can be held out of the event your campaigns optimize on.
If you run Spark Ads on an affiliate creator's post, check which link the ad sends traffic to. If it is still the creator's ShareASale link, every paid click also triggers commission, and the order is claimed by TikTok and the affiliate at once. Point the ad at your own URL, or agree commission terms for paid amplification first.
ShareASale → TikTok · what breaks
Why this join usually fails — ShareASale → TikTok
- 01
The ttclid never reaches ShareASale
The affiliate cookie is set on click and read at checkout, and a voucher-site click seconds before the order will overwrite whatever preceded it.
- 02
Voucher publishers earning on sales your ads produced
A customer arrives from a paid ad, opens a tab to find a code, clicks a voucher site's link and returns to buy. Under last-click the voucher site earns the commission on a sale your advertising created — and your paid reporting counts it too.
- 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.
ShareASale → TikTok · the fix
What working looks like — ShareASale → 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
ShareASale → TikTok · architecture
How ShareASale and TikTok actually connect
- 1
ShareASale holds the truth
Publisher type is the whole analysis. Content publishers introduce customers; voucher and cashback publishers intercept them at the basket. Both are paid the same way and they are not the same thing.
- 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 ShareASale transaction.
- 4
The event source decides reliability
Send orders net of commission, with affiliate-sourced orders marked and publisher type recorded.
- 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.
ShareASale → TikTok · normal or broken
Working vs. broken, side by side — ShareASale → TikTok
Normal, not a fault
The ttclid present on the conversion
Sent from your order 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
The affiliate cookie is set on click and read at checkout, and a voucher-site click seconds before the order will overwrite whatever preceded it.
Sent from the browser
A customer arrives from a paid ad, opens a tab to find a code, clicks a voucher site's link and returns to buy. Under last-click the voucher site earns the commission on a sale your advertising created — and your paid reporting counts it too.
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
ShareASale → TikTok · diagnose
Diagnostic order — ShareASale → TikTok
- 01
Count conversions carrying the ttclid
- 02
Follow one real conversion end to end
- 03
Segment commissions by publisher type and time-from-click to order
Clicks seconds before an order are interception. That segmentation is available and rarely run.
- 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.
ShareASale → TikTok · prove
How it gets proven — ShareASale → TikTok
Source of truth
Orders flagged by affiliate, with commission recorded and the publisher type identified.
- The ttclid confirmed present on a live conversion.
- Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
- Orders reconciled net of commission against imported conversions, with the paid-media overlap measured.
ShareASale → TikTok · free audit
What we check in the free audit
- Count conversions carrying the ttclid
- Follow one real conversion end to end
- Segment commissions by publisher type and time-from-click to order
- Measure ttclid capture rate on TikTok traffic specifically
- Read the match rate, not the success message
Checked against
Orders flagged by affiliate, with commission recorded and the publisher type identified.
Free30 minutesNo obligation
ShareASale → TikTok · when not to buy
When you don't need this — ShareASale → TikTok
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the ttclid.
- No affiliate programme means none of this applies. If you run one, the commission structure by publisher type will change your economics more than tracking accuracy will.
- 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.
ShareASale → TikTok · what we deliver
What gets built — ShareASale → TikTok
Identifier capture into ShareASale
Record the click timestamp alongside the affiliate identifier so late-journey interception is visible.
Event source: your order record with affiliate attribution
Send orders net of commission, with affiliate-sourced orders marked and publisher type recorded.
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 should reverse the commission.
Written guarantee
95%+ tracking accuracy
Measured against Orders flagged by affiliate, with commission recorded and the publisher type identified.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
ShareASale → TikTok questions, answered
Not if their traffic is organic, since it carries no ttclid. Tag creator links so their orders are separable from paid TikTok orders.
Usually not. The paid click would also earn commission, so point the ad at your own URL unless you have agreed otherwise.
Almost always because the ttclid never reached the ShareASale transaction. The affiliate cookie is set on click and read at checkout, and a voucher-site click seconds before the order will overwrite whatever preceded it. 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 order record with affiliate attribution. Send orders net of commission, with affiliate-sourced orders marked and publisher type recorded.
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 ShareASale → 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
RELATED GUIDES
Where ShareASale → TikTok fits in the rest of your tracking
- TikTok · EcommerceTikTok Ads conversion tracking for ecommerce brands
- TikTok · SubscriptionsTikTok Ads conversion tracking for subscription businesses
- TikTok × Ecommerce OrdersHow to reconcile TikTok Ads against your store's order table
- TikTok · Referral → closed saleHow to track referral to closed sale for TikTok Ads
- Rewardful → TikTokConnecting Rewardful to TikTok Events API
- ShareASale → PinterestConnecting ShareASale to Pinterest
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Refersion → TikTokConnecting Refersion to TikTok Events API
Free · 30 min
Get ShareASale and TikTok joined properly
Free30 minutesNo obligation
