Skip to content

Affiliate Click ID Journey

Follow the AnyTrack Click ID from your website to the affiliate link, into the network's click record, through the conversion, and back to AnyTrack in the postback. Covers what happens at each hop, how to verify it, and what breaks the chain.

Affiliate conversions happen on someone else’s website. You never see the sale — the network does. The only thing connecting that sale back to the ad you paid for is a single value that has to survive the whole trip: the AnyTrack Click ID.

This page follows that value hop by hop, from the visitor landing on your site to the network’s postback arriving in AnyTrack. Each hop has one job, one way to verify it, and one common way it breaks.

How the Click ID Reaches Your Affiliate Conversion

One identifier, five handoffs, from your landing page to the conversion postback

1
visitor

Visitor Lands on Your Site

The visitor clicks your ad and arrives on your page. The Tracking Tag generates a Click ID for that session and records the traffic data that came with the click — the gclid or fbclid, the UTM parameters, the referrer.

From this moment the Click ID represents this visitor, from this ad.

atclid = IBTO9lOfAMybrKiiB1U9YG91IFjs3Dv9AV
2
visitor

Visitor Clicks Your Affiliate Link

AutoTag appends the Click ID to the outbound URL using the parameter that network expects — tid for ClickBank, subId1 for Impact, sid for CJ, u1 for Rakuten. AnyTrack also fires an OutboundClick event and sends it to your connected ad platforms.

The visitor leaves your site carrying the Click ID in the URL.

https://offer.com/?tid=IBTO9lOfAMybrKiiB1U9YG91IFjs3Dv9AV
3
anytrack

The Network Stores the Click ID

The affiliate network registers the click and stores your Click ID alongside its own click record, in the SubID field. Nothing is sent to AnyTrack at this stage — the value is simply parked on the network’s side, waiting for a conversion.

This is the network's job, not AnyTrack's. Whatever value arrives in the SubID parameter is what the network will hand back later.

4
anytrack

The Visitor Converts on the Merchant's Site

Hours or days later the visitor buys. The sale is recorded by the network against the click record from step 3 — the one holding your Click ID.

Nothing happens on your website, and nothing is visible in your browser. This is why affiliate tracking cannot rely on pixels.

5
anytrack

The Network Fires the Postback to AnyTrack

The network sends a server-to-server postback to your AnyTrack integration URL, returning the stored Click ID in the click_id parameter, along with the commission amount and transaction ID.

Because this is server-to-server, ad blockers, cookie restrictions, and browser privacy settings have no effect on it.

https://t1.anytrack.io/XXXXXXXX/collect/network?click_id=IBTO9lOfAMybrKiiB1U9YG91IFjs3Dv9AV&amount=47.00
6
result

AnyTrack Matches and Sends the Conversion

AnyTrack looks up the Click ID, finds the original session from step 1 — including the ad that produced it — and records the conversion. It then sends the enriched event to your connected ad platforms through the Conversion API, so Meta, Google, and TikTok can optimize on the sale.

You can check every hop yourself. Work down the list and stop at the first one that fails — that is where the chain is broken.

HopWhat to checkWhere
1. Click ID generatedRun AnyTrack('atclid') in the browser console on your landing page. It should return a string.Browser console
2. Link taggedRight-click your affiliate link, choose Copy link address, and paste it somewhere. The SubID parameter should hold a Click ID value, not --CLICK-ID-- and not an empty value.Live page
2. Click recordedThe OutboundClick event appears for the session.Conversions Report
3. Network received itThe network’s own click or SubID report shows your Click ID value.Affiliate network dashboard
5. Postback arrivedThe conversion appears with a click_id value in the payload.Integration Events Log
6. Conversion attributedThe conversion is tied to the original campaign and sent to your ad platforms.Campaign Report

Almost every “my affiliate conversions are not attributed” case is one of these. The symptom in the Events Log is usually the same — a missing or unknown click_id — but the cause sits at a specific hop.

HopWhat goes wrongFix
1The Tracking Tag is not on the page carrying the link, is placed in body instead of head, or is blocked by a privacy extension. No tag, no Click ID.Follow Install the AnyTrack Tag and confirm the tag fires on that exact page
2The link is not a standard a element — it is a button that redirects with JavaScript. AutoTag cannot tag what it cannot see.Convert it to a standard anchor tag, or handle it as a link added after page load
2The link is added to the page after load, for example an offer button revealed when a video ends.See Links Added After Page Load
2The link is rendered inside an embedded video player’s iframe, where AutoTag cannot reach it.Put the Click ID on the page URL with atclidToUrl so the player carries it through
2The network is not in the Integration Catalog, so AutoTag does not know which parameter to use.Add the --CLICK-ID-- token yourself: ?sub1=--CLICK-ID--
2AutoScan matched the link to the wrong integration, or to none — the page shows No elements detected (X found).Open VIEW RESULTS in AutoScan and assign the correct integration
2→3A link shortener, click tracker, or redirect script rebuilds the destination URL and drops the parameter.Remove the shortener, or configure the redirect to pass the full query string through
3The parameter name is right for a different network, so the value lands in a field the network ignores.Check the parameter for your network in Tracking Group ID
5The Postback URL in the network does not match the one AnyTrack generated, or was paused or reset.Copy the current Postback URL from the integration settings and re-save it in the network
5The postback token for the SubID field is wrong, so the network sends an empty click_id.Match the token to your network’s syntax, for example ${sub1}, {clickid}, or #s2#

The Click ID connects a conversion to a click. It does not carry campaign names. Campaign attribution comes from the UTM parameters and the ad platform click ID collected at step 1 — the Click ID is what lets AnyTrack find them again later. Both matter: without the Click ID the conversion is orphaned, and without UTM parameters the campaign is unnamed.


FAQ & Troubleshooting

FAQ was last reviewed on 2026-07-29

Where exactly does the Click ID get added to my affiliate link?
On your own page, in the visitor's browser, before they click. The Tracking Tag writes the Click ID into the link's href, so the visitor navigates to a URL that already carries it. Nothing is added after they leave your site.
My affiliate link already has a SubID value. Will AutoTag overwrite it?
No. If the link already carries a SubID parameter with a custom value, such as sid=mybanner, AutoTag merges the Click ID with the existing value instead of replacing it. Your original value is preserved.
Do I need a postback for every network?
You need a way for the network to notify AnyTrack when a conversion happens. Networks in the Integration Catalog come with a preconfigured Postback URL — you copy it into the network. For anything else, build a Custom Integration and map the tokens yourself.
The conversion shows in my affiliate network but not in AnyTrack. Where do I look?
Open the integration's Events Log. If the conversion is not there at all, the postback never reached AnyTrack — check that the Postback URL is set and active in the network. If it is there but shows a missing or unknown click_id, the chain broke earlier, at hop 2 or 3: the link was not tagged, or something stripped the parameter on the way to the network.
Can I use a link shortener or a pretty link on a tagged affiliate link?
Only if every hop passes the full query string through to the final destination. Shorteners like bit.ly strip tracking parameters and break the handoff. Redirect plugins can work — AutoScan resolves the final destination for plugins such as ThirstyAffiliates — but you must verify by copying the link address and following the redirect chain in your browser's network tab.
How long does the Click ID stay valid?
For the duration of the attribution window configured in your Property Settings — 1, 7, 30 days, or maximum. A postback arriving inside that window is attributed to the original ad click.
Does the affiliate network see which ad my traffic came from?
No. The network only receives the Click ID, which is an anonymous alphanumeric string. Your campaign, ad set, and traffic source data stay in AnyTrack and are re-attached when the postback comes back.