Skip to content

UTM parameters vs sub IDs: which to use in affiliate links

What UTM parameters and sub IDs are, who reads each one, and how to combine them in affiliate links so both the advertiser's analytics and the affiliate's reports work.

Updated on 19 Nov 2026

Affiliate links often carry two kinds of labels: UTM parameters and sub IDs. They look similar but serve different people.

UTM parameters

utm_source, utm_medium, utm_campaign, utm_content, utm_term. They are read by the advertiser's analytics (Google Analytics and similar) on the landing page. They tell the advertiser that a visit came from the affiliate channel, and from which campaign.

Sub IDs

sub1, sub2, sub3… They are read by the tracking platform and stay with each click and conversion. They tell the affiliate which of their sources, campaigns or ads produced each sale. They can also be sent back to the affiliate's own tracker by postback.

Which to use

Both, for different jobs:

  • Use sub IDs for anything the affiliate needs to optimise: traffic source, campaign, ad, placement, or the click ID of their own tracker.
  • Use UTMs so the advertiser's analytics attributes visits correctly. Many networks add them to the destination URL once, for all affiliates.

Example

https://track.rastroaff.com/click/AbC123xY?sub1=facebook&sub2=video_3&utm_source=affiliate&utm_medium=cpa

The affiliate sees conversions grouped by facebook and video_3. The advertiser's analytics shows the visit as affiliate traffic.

In RastroAff

Each click stores up to five sub IDs and the UTM parameters. Reports can be grouped by sub1, sub2 and sub3, and sub IDs can be sent back in the affiliate's postback. See tracking links.