Rokas Mickevicius

Rokas is the founder and editor of Unseen Founder, a platform dedicated to sharing real stories of entrepreneurs building companies from the ground up.

How to Use UTM Parameters for Affiliate Tracking

affiliate marketing for businesses, Build, Grow, Start

*post may include affiliate links, view our Disclaimer for more info.

Your affiliate tracking platform tells you which affiliate drove a sale. Google Analytics tells you how visitors behave on your site. UTM parameters are the bridge between the two. Without them, your analytics data shows affiliate traffic as a single blob with no way to distinguish which affiliate, which campaign, or which piece of content sent each visitor.

Most affiliate programs skip UTM tracking entirely and rely solely on their affiliate platform’s dashboard. That works for basic commission tracking, but it leaves you blind to what happens between the click and the sale. You cannot tell which affiliates send visitors who browse five pages before buying versus ones whose traffic bounces in eight seconds. You cannot compare campaign performance across affiliates or see which content format drives the highest average order value. UTM parameters fill that gap by pushing affiliate data into Google Analytics where you can cross-reference it with everything else you already track.

This tutorial covers what UTM parameters are, how to structure them for affiliate programs, how to build and distribute UTM-tagged links, and how to read the data in Google Analytics once traffic starts flowing.


What UTM parameters actually are

UTM parameters are tags you append to the end of a URL. When someone clicks a URL with UTM tags, Google Analytics reads those tags and records where the visit came from, what campaign it belongs to, and any other details you included. The visitor sees a longer URL but their experience is identical. The only difference is what shows up in your analytics.

A UTM-tagged URL looks like this:

yoursite.com/product-page?utm_source=affiliate&utm_medium=blog&utm_campaign=spring-sale&utm_content=review-post&utm_term=partner-name

Everything after the question mark is UTM data. Five parameters exist, and each one answers a different question about the traffic.

utm_source

Where the traffic comes from. For affiliate tracking, set this to “affiliate” for all affiliate traffic. This lets you filter all affiliate visits in Google Analytics with a single click, separate from organic, paid, email, and social traffic.

utm_medium

The type of channel. Use this to distinguish between affiliate content types: “blog” for blog post links, “email” for newsletter mentions, “social” for social media posts, “video” for YouTube descriptions. This tells you which format drives the best traffic.

utm_campaign

The specific campaign or promotion. Use this for seasonal campaigns (“black-friday-2026”), product launches (“new-plan-launch”), or evergreen tracking (“general”). This lets you measure which campaigns drove the most affiliate traffic and revenue.

utm_content

Differentiates between specific links or creative assets within the same campaign. If an affiliate has three links in one blog post (intro paragraph, mid-article, and conclusion), tag each differently: “intro-link,” “mid-link,” “closing-link.” This shows you which placement within the content gets the most clicks.

utm_term

Originally designed for paid search keywords, but you can repurpose it for affiliate tracking. Use it to identify the specific affiliate: “partner-jane-smith” or “affiliate-id-4827.” This lets you see individual affiliate traffic behavior inside Google Analytics without needing to cross-reference your affiliate platform.

Only utm_source, utm_medium, and utm_campaign are required. The other two are optional but worth using because they add the granularity that makes the data actually actionable.


A naming convention you will not regret

UTM parameters are case-sensitive. “Affiliate” and “affiliate” show up as two different sources in Google Analytics. “Blog” and “blog-post” are two different mediums. This sounds minor until you have 50 affiliates and 200 UTM-tagged links with inconsistent naming, at which point your analytics data is a mess that takes hours to untangle.

Set your naming convention before you generate a single link and document it somewhere your team (and your affiliates, if they build their own links) can reference.

Naming rules that save you pain later

All lowercase, always. No exceptions. “affiliate” not “Affiliate.” “blog” not “Blog.” This prevents the most common data fragmentation issue.

Hyphens between words, no spaces or underscores. “spring-sale” not “spring sale” or “spring_sale.” Hyphens are the cleanest separator in URLs and the easiest to read in analytics reports.

Keep values short but descriptive. “partner-jsmith” is better than “partner-jane-smith-from-tech-review-blog.” You need to recognize it in a report, not reconstruct someone’s full biography from the URL.

Use affiliate IDs from your platform when possible. If your affiliate platform assigns each partner a numeric or short-code ID, use that in utm_term. It makes cross-referencing between Google Analytics and your affiliate dashboard fast. “partner-4827” in GA maps directly to affiliate #4827 in your platform without any guessing.


Building UTM links in practice

You can build UTM-tagged URLs manually (just append the parameters to any URL), but that gets tedious and error-prone. Google’s free Campaign URL Builder does the job. You type in the base URL and each parameter value, and it spits out the full tagged URL. Bookmark it. You will use it often.

For affiliate programs with more than 10 to 15 partners, build a spreadsheet. One row per affiliate, columns for each UTM parameter, and a formula column that concatenates everything into the final URL. This becomes your link library. When a new affiliate joins, you add a row, generate their UTM link, and hand it over during onboarding. When a seasonal campaign launches, you update the campaign parameter for all affiliates and regenerate the links in bulk.

Some affiliate platforms generate UTM-tagged links automatically when you create affiliate tracking links. Tapfiliate, Trackdesk, and most major platforms support this. If yours does, use the built-in feature instead of maintaining a separate spreadsheet. Less manual work means fewer errors. Check your platform settings before building a custom system you might not need.

One important note: UTM-tagged links work alongside your affiliate tracking links, not instead of them. The affiliate link handles commission attribution (who gets paid). The UTM tags handle analytics attribution (how the traffic behaves on your site). You need both. The standard approach is to append UTM parameters to the affiliate’s tracking URL so that a single click triggers both systems. If your platform’s tracking integration uses redirect-based links, make sure the UTM parameters survive the redirect. Test this before rolling it out.


Reading the data in Google Analytics

Once UTM-tagged affiliate traffic starts hitting your site, the data shows up in Google Analytics under the Acquisition reports. In GA4, navigate to Reports, then Acquisition, then Traffic Acquisition. You can filter by source (“affiliate”), then drill down by medium, campaign, content, or term to see exactly how each affiliate, each campaign, and each piece of content performs.

The questions this answers that your affiliate dashboard alone cannot:

Engagement quality. Which affiliates send visitors who actually browse your site versus ones who land and leave? Average session duration and pages per session by utm_term (affiliate ID) tells you this instantly.

Content format comparison. Does blog traffic (utm_medium=blog) convert better than social traffic (utm_medium=social) from the same affiliate? This data helps you advise affiliates on where to focus their effort.

Campaign effectiveness. Did your Black Friday campaign (utm_campaign=black-friday-2026) drive higher average order values than your evergreen traffic? Did the spring sale underperform? Campaign-level data shows which promotional pushes are worth repeating.

Landing page behavior. Which pages do affiliate visitors land on, and what do they do next? If most affiliate traffic lands on your homepage but your product page converts five times better, you know to update affiliate links to point directly to the product page.

This kind of analysis turns your program from reactive to proactive. Instead of waiting for monthly revenue numbers and hoping the trend is up, you can see within days whether a new campaign is driving engaged visitors, whether a specific affiliate’s traffic quality has changed, and whether your landing pages are converting affiliate traffic at the rate they should. Your affiliate platform tells you who drove the sale. UTM data in Google Analytics tells you everything about the journey that led to it. Together, they give you the full picture you need to make smart decisions about tracking affiliate performance.


Common mistakes that ruin your UTM data

Inconsistent capitalization. Already mentioned, but it causes more data headaches than any other single issue. One person tags “Affiliate” and another tags “affiliate” and suddenly your GA reports split the same traffic source into two rows. Enforce lowercase from day one.

Using UTM tags on internal links. UTM parameters should only be used on links that bring visitors to your site from external sources. If you tag internal links (like a banner on your own blog linking to your product page), you overwrite the original source attribution. A visitor who arrived through an affiliate link and then clicks an internal UTM-tagged link will show up in GA as coming from whatever the internal UTM says, not from the affiliate. This is a common and costly mistake that makes your affiliate data unreliable.

Putting sensitive information in UTM parameters. UTM values are visible in the URL bar and get stored in analytics logs, browser history, and server access logs. Never put anything in a UTM parameter that you would not want to be publicly visible. Affiliate IDs are fine. Affiliate email addresses or real names are not, for both privacy and security reasons.

Changing conventions midstream. If you start with “blog” as a medium and six months later switch to “blog-post,” your historical data and current data will not match. Pick your conventions at the start and stick to them. If you absolutely must change something, document the change date so you can account for the split in reporting.


Start simple, expand as you need to

You do not need to use all five parameters from day one. Start with the three required ones: utm_source=affiliate, utm_medium set to the content type, and utm_campaign set to “general” or the current promotion name. That alone gives you affiliate traffic segmentation in Google Analytics that you did not have before.

Add utm_term (affiliate ID) once you have 10 or more affiliates and want per-partner analytics. Add utm_content when you start testing different link placements or creative variations within the same campaign. Each parameter you add increases the granularity of your data, but also increases the work of generating and managing links. Find the level that gives you actionable insight without turning link management into a full-time job.

When you distribute UTM-tagged links to affiliates, do not ask them to build the links themselves. Even with a naming convention document, some will get it wrong. Capitalization errors, misspelled campaign names, forgotten parameters. Generate the links centrally and hand each affiliate their pre-built URL. If your affiliate platform handles UTM generation automatically, even better. The fewer people manually typing parameter values, the cleaner your data stays.

Finally, review your UTM data at least monthly. Build a simple GA4 exploration report filtered to utm_source=affiliate and look at sessions, engagement rate, conversions, and revenue by utm_term (affiliate) and utm_medium (content type). Ten minutes of analysis per month will surface patterns that no amount of staring at your affiliate dashboard would reveal. The first time you discover that an affiliate’s blog traffic converts at 6% while their social traffic converts at 0.3%, you will understand why UTM tracking is worth the setup effort.

Your affiliate platform tracks who gets paid. UTM parameters track what actually happened. You need both to run a program based on data instead of guesswork.

af book cover

How To Start Affiliate Marketing Program

The Complete Launch Framework

eBook by Unseen Founder

How to Start an Affiliate Marketing Program is a structured, no-fluff framework for companies that want to design, validate, and launch a profitable affiliate program from scratch. It is not a collection of tips.

It is a complete operational blueprint built for founders, marketing leaders, and affiliate managers to launch a profitable affiliate program from zero.

Support Unseen Founder

If you enjoy founder stories like these and want to help us continue creating meaningful content, you can show your support by contributing to the project.

Related Posts

Affiliate Marketing for Subscription Boxes

Subscription boxes sit in an interesting spot for affiliate marketing. They combine elements of ecommerce ...

KEEP READING

Affiliate Marketing for Digital Products and Online Courses

Digital products and online courses are built for affiliate marketing in a way that physical ...

KEEP READING

Affiliate Marketing for Service-Based Businesses

Affiliate marketing for service businesses gets overlooked because most affiliate content out there focuses on ...

KEEP READING
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments