Technology and tracking
UTM parameters
Also called UTM tags, UTM codes, Urchin Tracking Module.
Short answer
UTM parameters are 5 standardised fields in a URL – utm_source, utm_medium, utm_campaign, utm_term and utm_content – that analytics tools read to show where traffic came from. They do not affect affiliate attribution; they only label the visit in the statistics.
Definition of UTM parameters.
UTM stands for Urchin Tracking Module – the name comes from Urchin, the analytics system Google bought in 2005 and built Google Analytics on. The parameters are added to the end of a URL after a question mark: ?utm_source=newsletter&utm_medium=email&utm_campaign=august. The analytics tool on the landing page reads the fields and groups the visit by source, channel and campaign.
The 5 fields have fixed roles: utm_source is the specific source (a site name, a newsletter), utm_medium is the channel type (email, social, affiliate), utm_campaign is the campaign name, utm_term is used for keywords in paid search, and utm_content distinguishes variants – for example 2 banners in the same campaign. Source, medium and campaign carry most of the load in practice; term and content are detail fields. GA4 also knows newer fields such as utm_source_platform and utm_creative_format, but the 5 classic ones cover the vast majority of needs.
In affiliate marketing, UTM parameters live alongside the tracking itself. Attribution is decided by the network's click ID – not by UTM fields. The parameters serve 2 other purposes: the store can see affiliate traffic as a channel in its analytics tool, and the affiliate can label their links to see which placements drive clicks. If the parameters are lost along the way, only the statistics disappear – the commission follows the click ID. Stores that want to separate affiliate traffic in their analytics tool often ask affiliates to use utm_medium=affiliate with an agreed source name.
UTM parameters vs. sub-ID
| Aspect | UTM parameters | Sub-ID |
|---|---|---|
| Read by | the analytics tool on the destination page, e.g. Google Analytics | the affiliate network's tracking |
| Who sees the data | the store – and the affiliate in their own tools | the affiliate, in the network's reports |
| Purpose | channel and campaign statistics | linking clicks and commission to a specific placement |
| Affects commission | no | no – but follows the conversion in the report |
Use a sub-ID when the answer should sit in the network's report next to the commission – and UTM when it should sit in an analytics tool.
How it goes wrong
- 01
UTM mistaken for tracking
UTM parameters do not record conversions and do not trigger commission. An affiliate link with perfect UTMs but without working click tracking measures the traffic – and loses the money.
- 02
Inconsistent naming
utm_source=Facebook, facebook and FB end up as 3 different sources in the statistics. Choose lower case and fixed names from the start – cleaning up afterwards means manually merging split data.
- 03
Parameters lost along the way
Redirects can drop or rewrite query parameters. Test the finished link in a browser, and check that both the UTM fields and the tracking parameter itself survive the whole chain to the landing page.
At Affilyflow
UTM parameters in practice
Affilyflow's attribution is decided by the click ID the conversion carries. Commission rate and attribution window are locked at the moment of the click and decided on the server – not in the browser. UTM parameters play no part in that decision: they belong in analytics tools and can neither earn nor cost commission.
Frequently asked questions
What do utm_source, utm_medium and utm_campaign mean?
utm_source is the specific source of the visit, for example a site name or newsletter. utm_medium is the channel type, for example email, social or affiliate. utm_campaign is the name of the campaign, so several links can be grouped under the same effort. Those 3 fields are the core – utm_term and utm_content are optional detail.
Do UTM parameters affect my affiliate commission?
No. Commission is decided by the network's click tracking, not by UTM fields. UTM parameters only determine how the visit is shown in analytics tools such as Google Analytics. Both can be used on the same link without interfering with each other – but only the tracking triggers commission.
Should I use UTM parameters on my affiliate links?
It is optional, but useful if you want to measure yourself which placements send the most clicks. The network's sub-ID gives the same breakdown directly in the reports, linked to the commission – UTM shows it in your own analytics tool. The 2 can be used at the same time.
Why does affiliate traffic show up as direct in Google Analytics?
Because referral data can be lost in the redirect chain from affiliate link to store. If UTM parameters are set on the final landing link, the analytics tool keeps the source even when the visit has passed through several hops.
Read on
- Sub-ID trackingSub-ID tracking lets an affiliate attach their own labels to an affiliate link – for example…
- Click IDA click ID is the unique identifier a tracking system generates for every click on an affilia…
- Affiliate linkAn affiliate link is a URL with a unique code that identifies which affiliate sent the visito…
- Tracking pixelA tracking pixel is a small piece of code – originally an invisible 1×1 pixel image – on an o…
- Deep linkA deep link is an affiliate link that points to a specific product or category page instead o…