What utm_source, utm_medium and utm_campaign Mean in a URL
utm_source, utm_medium and utm_campaign form the foundation of UTM tagging. Learn what each parameter means, how they work together and which naming mistakes make analytics reports harder to trust.
utm_source, utm_medium and utm_campaign are the three core parameters that help you understand where a user came from, which channel brought them and which campaign the click belonged to.
When a URL contains UTM parameters, the page content does not change. What changes is the information passed to measurement tools such as Google Analytics. Put simply, UTMs work like labels attached to a link. When someone selects it, you can later identify the activity that produced the visit.
The three most common and useful parameters are utm_source, utm_medium and utm_campaign. Anyone learning to read tagged URLs should begin with these parameters because they form the basis of clearer attribution: assigning a visit more accurately to the channel that generated it.
Put simply: source identifies the origin, medium identifies the channel and campaign identifies the promotional activity to which the link belongs.
Why These Three UTM Parameters Matter
Without UTM parameters, many visits may be recorded in a general or less useful way. A click from a newsletter, a link in a social post or a banner on a partner site, for example, may appear as direct, referral or social traffic without revealing the exact activity behind it.
This becomes a problem when you try to assess what actually generates visits, leads or sales. A newsletter may perform well, but its contribution may not be clear in reports if its links do not contain the right UTMs. Two different campaigns may also be grouped together because inconsistent names were used without a defined system.
UTMs are therefore more than a technical detail. They give meaning to data. They help you understand not only that someone visited the site, but which activity brought them and whether that activity justified the time or budget invested in it.
UTM parameters are valuable only when they support better decisions. Used inconsistently, they can create more confusion instead of a clearer picture.
What Is utm_source?
utm_source identifies the source from which you want the click to be recorded. In simpler terms, it answers the question: where did this user come from?
The source value might be the name of a platform, an email list, a partner, a website or any other point of origin that makes sense for the activity. Source should not describe the whole campaign. It should identify the origin that sent the click.
Common utm_source values include:
- newsletter
- partner-site
If a link contains ?utm_source=newsletter, for example, you want the visit to be attributed to the newsletter as its source. That value alone does not show whether the click came through email, a paid placement, a social post or another channel. That information belongs in the medium.
A practical way to think about it: when you complete the source, ask “who or which platform sent the user?”
What Is utm_medium?
utm_medium describes the medium or channel through which the visit occurred. If source answers “where from?”, medium answers “by what method?”
This distinction is particularly important because the same source can be used in several ways. Facebook, for example, can generate visits from an organic post, a paid advertisement or a referral link. If all of them are recorded simply as facebook, the differences between those activities disappear.
Common utm_medium values include:
- cpc
- paid-social
- organic-social
- referral
- banner
If a URL contains utm_medium=email, the click is associated with the email channel. If it contains utm_medium=cpc, it usually refers to a paid click, such as an advertisement charged on a cost-per-click basis. If it contains utm_medium=referral, it generally shows that the visit came through a link on another site.
Medium prevents different promotional methods from the same source being grouped together.
What Is utm_campaign?
utm_campaign names the campaign, offer or organised activity to which the link belongs. If source identifies the origin and medium identifies the channel, campaign identifies the context of the activity.
Campaign is particularly useful when you have more than one link or activity in the same channel. You might send an April newsletter, run a campaign for a new service or promote a seasonal offer, for example. Without a campaign name, those activities may be much less distinct in reports.
Examples of utm_campaign values include:
- spring-sale
- new-services-launch
- black-friday
- april-newsletter
- lead-generation
- content-promo
The campaign value does not need to be long or complex, but it does need to be clear and consistent. If you write black-friday today, black_friday tomorrow and BlackFriday the day after, the data may be split into separate entries and become harder to analyse.
A practical way to think about it: campaign should answer the question “which activity did this link belong to?”
How Do the Three Parameters Work Together?
The three parameters are most valuable when they work together. Each answers a different question and, collectively, they create a clear picture of the click's origin.
| Parameter | What it shows | Question it answers | Example |
|---|---|---|---|
| utm_source | The source of the visit | Where did it come from? | newsletter |
| utm_medium | The medium or channel | How did it arrive? | |
| utm_campaign | The campaign or activity | Which activity did it belong to? | spring-offer |
A URL such as the following therefore says more than the fact that a click occurred. It says that the click came from a newsletter, through email, as part of a particular offer:
https://example.com/offer?utm_source=newsletter&utm_medium=email&utm_campaign=spring-offer
This information is much more useful than a generic visit. It helps you identify which activity generated traffic and, when conversions are measured correctly, which activity produced a meaningful result.
Examples of Real UTM URLs
To make the concept clearer, consider how a few simple UTM URLs are read in practice.
Example 1: Newsletter
https://example.com/services?utm_source=newsletter&utm_medium=email&utm_campaign=april-update
The click is attributed to newsletter as its source, email as its medium and april-update as its campaign. You therefore know that the visit came from a particular newsletter send, rather than from email in general.
Example 2: Social Post
https://example.com/learn?utm_source=instagram&utm_medium=organic-social&utm_campaign=content-promo
The visit is associated with Instagram, through an organic social post, for content promotion. This distinguishes the organic social activity from a potential paid social campaign on the same platform.
Example 3: Paid Advertisement
https://example.com/contact?utm_source=google&utm_medium=cpc&utm_campaign=lead-generation
Here, the link identifies Google as the source, a paid click as the medium and lead-generation as the campaign. If conversions are available, you can examine whether that particular paid activity genuinely produces leads.
Example 4: Partnership
https://example.com/cases?utm_source=partner-site&utm_medium=referral&utm_campaign=feature-article
In this case, the visit is associated with a referral from a partner site and, specifically, with a feature article. Instead of seeing only that traffic came from another site, you can identify the collaborative placement that produced it.
How to Choose the Right Source, Medium and Campaign Values
Choosing the right values matters more than it may seem. UTMs are not merely fields to complete mechanically. They form a naming system. If the system is clear, the data is easy to read. If it is disorderly, reports become difficult to interpret and conclusions become less reliable.
For utm_source, use consistent names for each source. If you decide that Facebook will be written as facebook, use that form everywhere. Do not alternate between Facebook, fb and meta unless there is a specific, documented reason.
For utm_medium, describe the channel using consistent categories. You might use email for email campaigns, cpc for paid search, paid-social for paid social activity and organic-social for organic social posts.
For utm_campaign, choose names you will still understand months later. A campaign name such as spring-offer is more useful than an unclear value such as promo1. The aim is to return to the data and quickly recognise the activity behind each traffic segment.
A useful practice is to use lowercase letters, Latin characters and hyphens instead of spaces so that URLs remain clean and consistent.
Common UTM Mistakes
UTM parameters are useful only when they are applied consistently. The most common problem is inconsistent naming. If some links use Facebook, others use facebook and others use fb, for example, they may appear as different sources or complicate analysis even though they refer to the same platform.
Another common mistake is confusing source with medium. If you use utm_source=email and utm_medium=newsletter, for example, the logic is reversed. utm_source=newsletter and utm_medium=email would usually be clearer because the newsletter is the source of the send and email is the channel.
Other common mistakes include:
- mixing languages without a consistent system
- using different forms of the same campaign name
- mixing uppercase and lowercase letters for the same source
- using UTM parameters on internal links within the same site
- using values that do not clearly describe the channel or activity
- using very generic campaign names such as
test,promoorcampaign1
A common mistake: without a consistent naming convention, the data becomes harder to read and comparisons lose their reliability.
Why You Should Not Put UTM Parameters on Internal Links
One of the most important mistakes to avoid is using UTM parameters on internal links: links from one page of a site to another page on the same site. This may seem harmless, but it can distort the recorded source of the user.
UTMs are intended for links that bring users to a site from external sources. If you use them within the same site, the original source information may be disrupted. A user who arrived through Google Ads or a newsletter could then be recorded as if they came from an internal UTM campaign, causing the real attribution to be lost.
If you want to measure internal clicks, use events or other tracking methods instead of UTM parameters. UTMs should remain on external links that send traffic to the site.
UTM parameters on internal links can confuse attribution and make it harder to understand where a user genuinely came from.
When Do UTM Parameters Genuinely Improve Analysis?
UTMs provide genuine value when they inform decisions. You do not use them merely to make reports look more detailed. You use them to answer practical questions, such as which newsletter produced more leads, which social activity generated high-quality traffic or which campaign justified its budget.
If you run two promotional activities in the same channel, for example, the campaign name helps distinguish between them. If you use organic and paid social activity from the same source, the medium reveals which type performed better. If you work with several sites, the source helps identify which referral generated more useful visits.
The greatest value appears when UTM parameters are connected with accurate conversion measurement. You then see not only which link generated clicks, but which activity brought users who ultimately completed a meaningful action such as a form submission, purchase or enquiry.
Conclusion
utm_source, utm_medium and utm_campaign form the core of UTM tagging. They do not require complex technical knowledge to understand, provided it is clear that each answers a different question: where the user came from, which channel brought them and which activity the click belongs to.
When these three elements are defined correctly, the traffic picture becomes much clearer. You can distinguish more effectively between campaigns, channels, partnerships and promotional activities. When they are used inconsistently, however, they can produce confusing reports and misleading conclusions.
Once you understand what utm_source, utm_medium and utm_campaign mean, the next step is to establish a reliable way to create them. The practical process is explained in detail in our guide to how UTM parameters are created and how to build tagged URLs correctly.
To see how conclusions can be drawn directly from a URL, also read the guide to reading a URL and identifying where a user came from.
Frequently Asked Questions
What Is the Difference Between Source and Medium?
Source identifies the origin of the visit, such as google, facebook, newsletter or partner-site. Medium identifies the channel or method through which the click occurred, such as email, cpc, organic-social or referral.
What Do You Usually Put in utm_campaign?
utm_campaign contains the name of the campaign, offer or promotional activity. The name should be concise, clear and consistent so that it remains easy to recognise later in reports.
Can a URL Contain Only utm_source?
Technically, yes, but the information will be limited. The greatest value comes from using source, medium and campaign together, because this reveals not only where the user came from, but also the channel and the activity behind the click.
Should All UTM Values Be Lowercase?
It is not technically compulsory, but it is a very good practice. Alternating between uppercase and lowercase values can create inconsistencies in reports. For cleaner data, prefer lowercase Latin characters and a consistent naming system.
Can Incorrect UTM Use Distort Data?
Yes. This happens mainly when UTMs are used on internal links, naming is inconsistent or the meanings of source, medium and campaign are confused. In those cases, reports can become less reliable.