Affiliate tracking markers in ad URLs: how to read them and what they prove
How to read affiliate IDs, sub IDs, click IDs, UTM tags and redirects in a search ad's URL, with example URLs, what each suggests and what it cannot prove.
In this article
The short answer: an affiliate marker in an ad's URL tells you which partner record to open. It shows that a parameter was in that link when the ad was captured, and nothing about who built the ad, whether the partner was allowed to, whether anyone bought anything or whether a commission was paid. Read the URL part by part and keep what it literally says apart from what you infer. Then confirm the rest in your program or network records before you write to anyone.
First, know which URL you have
One ad can have three addresses, and arguments about affiliates often come from people looking at different ones.
The link on the results page. On Google it is often a Google click link (an address on google.com such as /aclk) that hides the destination, so copying it from the page tells you little.
The final URL, plus any suffix. Google sends the visitor here. With parallel tracking, people go straight from the ad to the final URL while the tracking template loads in the background, and Google says parallel tracking is mandatory for Search campaigns (Google tracking). An advertiser's tracking template is therefore usually not in the path you can see.
The page a browser ends on. If the final URL itself redirects, through an affiliate network or a tracker, the visitor lands somewhere else, and parameters can be added along the way.
Parameters can also come from a final URL suffix, which advertisers set at the account, campaign, ad group, ad or keyword level and separately on sitelinks (Google final URL suffix). So check every sitelink: an affiliate ID can sit on a sitelink while the ad's main destination is clean. Write down which of the addresses you have; an ID missing from one of them says nothing about the others.
Read one URL part by part
A fictional ad on "northstar boots" for Northstar Outfitters, whose site is northstar.example:
https://www.northstar.example/boots/trail-mid?aff_id=NS-2291&subid=brand-q4&utm_medium=affiliate&gclid=EAIa-example
Part | In the example | Suggests | Does not prove |
|---|---|---|---|
Host | www.northstar.example | The visitor lands on your own site | Who paid for the ad |
Path | /boots/trail-mid | The product being promoted | That the offer or price was approved |
Affiliate ID |
| Which partner the click credits | That the partner built or ran the ad |
Sub ID |
| A label the partner chose for this placement | Anything, until the partner explains it |
UTM tag |
| How the link builder labeled the traffic | That the label is accurate |
Click ID |
| The click came from a Google Ads ad with auto-tagging | Which account bought the ad |
Common parameters and what they usually mean
Names vary by program and network, so check your own program's documentation for the exact ones. These are the families you will meet most:
Family | Typical names | Usually means | Watch out for |
|---|---|---|---|
Program affiliate ID |
| The partner the click is credited to | Match the value exactly; a change of case can be a different ID |
Sub ID |
| The partner's own label for a site, placement or campaign | Free text the partner chooses; "brand" in it is a hint |
Network click ID |
| The click went through an affiliate network's tracking | It identifies a click, and only the network can map it to a publisher |
Referral code |
| A referral or partner program code |
|
UTM tags |
| Analytics labels written by whoever built the link |
|
Ad click ID |
| Auto-tagging by Google Ads or Microsoft Advertising after an ad click | It says nothing about which account or partner |
Google Ads auto-tagged URLs include gclid, and Microsoft Advertising appends msclkid to the landing page after an ad click when auto-tagging is on (Google Analytics tagging, Microsoft Advertising click ID).
UTM tags need one more warning. Google Analytics reports manually tagged values as they were written, and when the gclid cannot be used and any UTM parameter is present, it derives all its cross-channel traffic-source values from the UTM parameters alone (same Analytics source). A link someone tagged utm_medium=affiliate can therefore show up as affiliate traffic in your reports whether or not an affiliate was involved.
Six URL patterns and what to do with each
Your site with your affiliate ID
https://www.northstar.example/boots?aff_id=NS-2291
Partner NS-2291 is credited for clicks on this ad, which is the classic brand bidding case. A sub-affiliate, or anyone who has the link, could have placed it. Next step: look up the ID, the partner's active dates and your brand bidding clause, then ask the partner.
The partner's own site
https://www.bootdeals.example/northstar-coupons
The ad belongs to a coupon or review site, and your ID only appears on the links inside that page. Whether that is allowed depends on what your terms say about partners advertising their own pages on your brand terms. Next step: open the page, find the onward link and record the ID it carries.
A network or tracker redirect
https://track.affnet.example/c?pid=4471&url=https%3A%2F%2Fwww.northstar.example%2Fboots
The destination is a tracking host with your page nested, percent-encoded, in the url parameter. Decode it once to read the target. Only the network can tell you who holds publisher ID 4471. Next step: ask the network (a message is below).
UTM tags and nothing else
https://www.northstar.example/boots?utm_source=partner&utm_medium=affiliate&utm_campaign=fall
This could be your own agency, a partner or a template someone copied. Next step: ask your own paid search team first, because an internal campaign with a borrowed template is a common answer.
A clean destination with a tagged sitelink
https://www.northstar.example/boots, with a sitelink to https://www.northstar.example/sale?aff_id=NS-0917
Advertisers can set URLs and suffixes per sitelink, so the main link can be clean while a sitelink carries the ID. Next step: read every sitelink before you record the ad as untagged.
Nothing anywhere
The ad may still be a partner's, through a redirect you did not follow or tracking that runs later on the page, or it may be an unrelated advertiser. Next step: follow the redirect if you can and otherwise leave the question open. A missing parameter does not show that no partner was involved.
Follow a redirect without fooling yourself
Record every hop: its URL, how it passed you on (an HTTP redirect, a refresh or a script) and the hop where the ID first appears.
Decode a nested URL once. Decoding twice can change it.
Note where you followed it from. A redirect can depend on country, device, cookies or a real browser, so a chain followed from a laptop in Denver may differ from what a phone in Chicago gets, and a site may answer an automated visit differently from a person.
Treat a final domain that differs from the ad's domain as a reason to look closer. On its own it does not show cloaking.
Keep three columns
For every marker, keep the raw value apart from your interpretation and from what would confirm it:
What the URL says | What we think it means | What would confirm it |
|---|---|---|
| Partner "Trail Deals" in our program | Network record for NS-2291 with its active dates |
| The partner labeled this placement as brand traffic | The partner's explanation, in writing |
| The link was labeled as affiliate traffic | Who built the link, and when |
Final host bootdeals.example | The ad sends visitors to a coupon page first | Our terms on coupon sites and brand search |
If the network later says NS-2291 belongs to a different partner, you change the middle column and leave the first one alone. Note who gave you each mapping and on what date.
What you need before you act
The program or network record for the ID: business name, registered sites and active dates.
The version of the terms the partner accepted, with its clause on brand bidding. Google's unfair advantage policy lists affiliates that advertise against the applicable affiliate program rules as an example of what it does not allow (Google unfair advantage policy), so write the rule down where the partner accepted it.
The observations: search, place, device, time, ad text and URL, each with its own timestamp. Repeated sightings justify follow-up; they do not show the ad ran continuously.
If money is at stake, the click and order records from the network. A URL shows neither a sale nor how a commission was credited.
When only the network can map an ID, send it something like this:
Hi, we're reviewing a paid search ad on "northstar boots" (Google, Chicago, desktop, Saturday, November 14 at 2:40 p.m. CT). Its destination went through your tracking link with publisher ID 4471 and landed on northstar.example. Can you tell us which publisher holds 4471, which sites are registered to that account and whether clicks from that link were credited on November 14? We would like to resolve this with the publisher directly.
Doing this in Ads Lighthouse
Set your affiliate URL parameter in the project, such as aff_id, and optionally list your IDs with partner names. Ads Lighthouse then reads that parameter from the destination and sitelinks of saved Google ads and matches values exactly, so NS-2291 and ns-2291 are different IDs; IDs missing from your list stay visible as unknown. Before you set a parameter, common affiliate parameters in destination URLs are already flagged for review (identify affiliate IDs).
Redirect-chain tracing follows eligible destinations hop by hop from Ads Lighthouse servers and records status codes, the final page and any affiliate IDs in the chain, with a downloadable web archive of the visit. It runs once a day for destinations with your parameter, an affiliate network link or a known marker, and you can start one yourself within a daily number of traces set by your plan. It does not run from the searcher's country or device, does not run scripts and stops after 10 hops or 20 seconds (trace a redirect chain). Non-compliant affiliates lists IDs whose ads used your brand name, and an Affiliate ID observed alert can reach the affiliate manager by email, Slack or webhook. None of it shows who placed an ad.
Frequently asked questions
Can someone else use my affiliate's ID in an ad?
Yes. An affiliate link is a URL, and anyone who has it can paste it into an ad, for example a sub-affiliate or a site that copied it from a coupon page. That is why the first message to a partner asks whether the campaign is theirs and leaves room for "no".
Does utm_term tell me which keyword the affiliate bid on?
No. It holds whatever the link builder typed or a template inserted. If you need the keyword, ask the partner for the search terms report from their ad account for that date, which lists the searches that triggered their ads.
The ID is not in our network at all. What now?
Check for a typo or a change of case first, then an old ID from an earlier program, then another brand's program, since partners often belong to several. If nothing fits, keep it as an unknown ID with the date you first saw it and ask the network. Do not attach a partner name until someone with the records confirms it.
Why does the same ID show up on ads from different domains?
A partner can run several sites, sites change hands and an ID can be copied onto a site the partner has never heard of. Group your sightings by ID and by domain, then ask the network which sites are registered to that account. A domain that is not on the list is a question for the partner before it is a finding against them.
Related reading
Sources
Sources and claims last reviewed on November 21, 2026.
See which ads appear on your brand searches.
Ads Lighthouse checks the searches you choose on Google and Bing, by location and device. It saves each ad with the time, the place and the page it links to.