TikTok tracking
TTCLID and TikTok affiliate tracking: setup and troubleshooting
A practical TikTok affiliate tracking guide: preserve incoming ttclid, pass the Tracked offer-click ID to your network, and separate sale attribution from TikTok feedback.
TTCLID is TikTok’s click ID: the ttclid query parameter appended to a landing URL after an ad click. For affiliate tracking, preserve that ad context, then use a separate offer-click ID to match the network’s sale.
Tracked can capture an incoming ttclid when the configured parameter reaches its request and analytics policy permits storage. It can also receive the network’s conversion callback. Neither establishes native TikTok Events API delivery, account reporting, campaign discovery, or spend sync.
What is TTCLID used for?
ttclid is TikTok’s click ID, appended to the landing URL after an ad click. Each value is unique to one click, and TikTok uses it to match later website events back to that click.
TikTok’s click ID documentation explains that ttclid connects an ad click with subsequent events. Events shared through Pixel or Events API can use it for matching, subject to the configured click-through attribution window. An ID alone is not a conversion event or a guarantee of attribution.
An illustrative landing URL looks like this:
https://landing.example/offer?utm_source=tiktok&ttclid=TT-EXAMPLE-A
The shortened ID is illustrative, not a real TikTok value. Preserve the incoming value; do not generate a replacement.
Keep the three identifiers separate
A broken ID handoff can leave you with revenue in the network and no matched sale in your tracker.
| Identifier | Where it belongs | What it must not replace |
|---|---|---|
TikTok ttclid | Incoming ad-request context, when present | Tracked’s offer-click ID in the inbound callback |
| Tracked offer-click ID | Offer URL, network sub-ID storage, and callback click_id | TikTok’s click identifier |
| Network order or conversion ID | The network’s transaction record; optionally a separately configured callback field | The saved Tracked click ID |
UTMs organize traffic; they do not replace click-level IDs. See click IDs vs. UTM parameters.
Build the affiliate sale path
1. Check the actual landing request
Use your intended campaign URL as the ad destination. During your own setup review, inspect the incoming URL and each redirect before Tracked receives the request.
- Keep
ttclidin the query string through redirects and page handoffs before capture. - Check that redirect rules and URL builders retain its value alongside existing parameters.
- Confirm the configured provider click parameter is
ttclid, Tracked’s TikTok default. - Check analytics collection policy and query minimization if the URL contains the ID but it is not stored.
TikTok documents appending ttclid after an ad click. A preview, organic visit, or manually opened URL may not reproduce that path. Tracked cannot recover an identifier absent from its request.
Do not rename ttclid to click_id to make the callback look complete. Those values identify different stages.
2. Choose the page before the offer
A hosted prelander is optional. If you use one, keep the offer action connected to a Tracked click slot, such as /click/1. That handoff creates the offer click used for sale attribution.
For route setup, use the affiliate campaign tracking guide.
3. Put the offer-click ID in the network’s sub-ID field
Pass {{click.id}} into the network’s stored sub-ID field. A hypothetical network using subid might accept:
https://offers.example/offer?subid={{click.id}}
subid is not a universal parameter. Confirm the field name, accepted format, and callback macro with your network. {{click.id}} resolves at the outgoing offer click.
4. Have the network return the saved value
An illustrative primary-sale callback is:
https://tracking.example/postback?click_id={saved_subid}&payout={payout}
Use your configured tracking domain. {saved_subid} represents the network’s macro for the saved Tracked ID; {payout} represents its payout macro. Both are explanatory placeholders, not confirmed network syntax.
Keep the primary sale callback untyped. Explicit type or conversion_type values represent secondary signals in the current receiver and carry zero payout. Adding type=purchase does not turn this callback into a TikTok purchase event.
The free postback URL builder can help assemble the URL. It does not send the network callback for you.
Follow one hypothetical sale
These shortened example IDs are not customer data or production formats.
| Stage | Illustrative value | Responsibility |
|---|---|---|
| TikTok landing request | ttclid=TT-EXAMPLE-A | Retain incoming provider context if present |
| Tracked offer click | TR-CLICK-B | Create the tracked offer-click record |
| Network receives offer URL | subid=TR-CLICK-B | Save that value with the visitor’s offer activity |
| Network records a sale | Order NET-ORDER-C, payout $24 | Associate the transaction with the saved sub-ID |
| Network calls Tracked | click_id=TR-CLICK-B&payout=24 | Return the tracked ID, not the TikTok or order ID |
| TikTok feedback | Not established by this callback | Requires a separate supported event-delivery mechanism |
Return TR-CLICK-B. Keep NET-ORDER-C separate; never put it in click_id.
Where Tracked is today
TikTok coverage is partial as of October 26, 2026:
- The provider definition defaults to
ttclid. Capture requires the ID to reach Tracked and the analytics policy to allow storage. - Affiliate callbacks can record conversions against Tracked offer clicks, subject to the configured analytics collection policy.
- TikTok is marked unavailable in the native integration catalog. Native account reporting, campaign discovery, and spend sync are not available.
- Built-in outbound TikTok delivery is disabled; there is no native TikTok Events API adapter. A generic custom postback does not establish Events API compatibility.
If you require purchase feedback to TikTok, resolve that requirement before choosing the setup. Click-ID capture does not complete that loop.
Pixel measurement is a different connection
TikTok’s Pixel setup guide describes creating a Web data connection in Events Manager. Pixel shares browser-side website events.
A Pixel on a prelander observes configured events on that page. Its presence does not establish affiliate checkout measurement on a site you do not control. A page visit or offer-button click is not evidence of a completed sale.
Events API is a separate server-to-server connection. TikTok’s Events API setup guidance recommends pairing it with Pixel for web measurement. That recommendation does not mean Tracked provides the connection.
Check account-specific requirements in Ads Manager, including any domain requirements. These guides do not establish a universal domain-ownership verification requirement for every setup.
The TikTok click ID page was rechecked October 26, 2026; the other linked TikTok sources were reviewed October 16, 2026. This article reflects documentation review, not firsthand account trials.
Review consent, privacy disclosures, and shared event data. TikTok cautions against sharing sensitive information. Keep personal and sensitive values out of tracking URLs. Review TikTok ad policies and network offer restrictions: working tracking does not guarantee approval or legal compliance.
Troubleshoot the missing boundary
| Symptom | First place to look | Avoid this shortcut |
|---|---|---|
No ttclid in the landing URL | Whether the visit followed an ad click, plus redirects before the landing page | Inventing a TikTok ID or treating a preview as the ad-click path |
ttclid arrives but is not stored | Configured provider parameter, analytics policy, and query minimization | Assuming URL presence guarantees storage |
| Sale exists only in the network | Outgoing sub-ID field and the saved value | Sending the network order ID as click_id |
| Callback says click not found | Whether it returned the exact Tracked offer-click ID | Substituting ttclid |
| Sale has zero payout | Payout macro and whether the callback includes an explicit type | Typing the primary sale to imitate a TikTok event |
| Callback returns OK but no stored conversion | Analytics collection policy and the matched journey | Treating an HTTP response alone as proof of storage |
| Tracked sale is absent from TikTok | Separate TikTok event-delivery setup | Assuming the inbound network postback reached TikTok |
Review the full path before traffic
Use this checklist for your own authorized setup review. These are suggested checks, not tests performed for this article:
- Follow the intended ad-to-page route and inspect the actual incoming query context.
- Follow the offer action and confirm the outgoing URL contains a resolved Tracked click ID.
- Confirm the network stores that exact value in its documented sub-ID field.
- Use the network’s supported verification process to return the saved ID and expected payout.
- Inspect the matched conversion and journey in Tracked, not only the callback response.
- Check TikTok feedback separately if it is required. Do not count Tracked storage as that check.
Frequently asked questions
What is ttclid?
ttclid is TikTok’s click ID: a unique tracking parameter TikTok appends to the landing URL when someone clicks a TikTok ad. When Pixel or Events API events include it, TikTok matches them to the ad click within the attribution window set in Attribution Manager (TikTok Ads Help, checked October 26, 2026). Tracked captures it as the TikTok click ID but does not send it back to TikTok.
Why is ttclid missing after a redirect?
A redirect or URL builder may have dropped the query parameter. Compare the URL before and after each handoff. If it reaches Tracked but is not stored, review parameter configuration, analytics policy, and query minimization.
Can Tracked track affiliate sales from TikTok Ads?
Yes, through the Tracked offer-click ID and network callback, subject to collection policy. Native TikTok feedback and spend sync are not part of this workflow.
Should I send ttclid in the callback’s click_id field?
No. Send the Tracked offer-click ID saved by the network. Keep TikTok’s identifier as provider context; it is not interchangeable with the ID the receiver looks up.
Does a TikTok Pixel replace the network postback?
No. Website event measurement and a network-confirmed affiliate sale are different observations. A Pixel on your page does not establish access to the advertiser’s checkout events.
Can a custom postback guarantee TikTok Events API delivery?
No. Generic requests do not prove provider compatibility or event acceptance. Verify a separate supported workflow using current TikTok account guidance.
Start with a traceable offer click
Start free with Tracked early access to set up the page, offer handoff, and affiliate callback. TikTok coverage remains partial; confirm your ad-platform feedback requirement separately.
Compare the connection types in native integrations vs. postbacks vs. conversion APIs.