Why You Are Here
Without campaign tagging, most of your marketing traffic lands in analytics as direct or referral and you have no reliable way to tell which channel actually produced a sale. UTM parameters solve that by carrying the answer in the URL itself.
The parameters are not complicated. What is difficult is CONSISTENCY. UTM data is only as good as the discipline behind it, and the failure mode is quiet: everything looks like it is working, the reports populate, and the numbers are simply wrong. One person writes facebook, another writes Facebook, a third writes FB. Three months later your Facebook traffic is split across three rows and nobody notices until someone tries to calculate return on ad spend.
The first situation is basic campaign tracking. You are running a newsletter, an ad, or a social post, and you need to know what it produced.
The second is comparing channels honestly. The same landing page promoted across email, paid search, and organic social needs three differently tagged links, or the results blur into one undifferentiated number.
The third is enforcing a convention across a team. Multiple people building links by hand is exactly how tracking data degrades, and a generator gives everyone the same starting structure.
What This Tool Does
The UTM Link Generator takes your destination URL and campaign details and assembles a correctly formatted tracking URL.
Enter the landing page, fill in your source, medium, and campaign, add the optional parameters if your campaign needs that level of detail, and copy the finished link. The tool handles the query string syntax, encoding, and parameter order so the URL works in every analytics platform.
The UTM Parameters
|
Parameter |
Required |
What It Records |
Example |
|
utm_source |
Yes |
Where the traffic comes from |
newsletter, google, facebook |
|
utm_medium |
Yes |
The marketing channel type |
email, cpc, social |
|
utm_campaign |
Yes |
The specific campaign |
spring-sale-2026 |
|
utm_term |
No |
Paid keyword |
running-shoes |
|
utm_content |
No |
Which creative or link variant |
hero-cta, sidebar-banner |
|
utm_id |
No |
Campaign ID for cost data import |
spr26-001 |
The first three are the ones that matter. Omit any of them and analytics platforms fall back to guessing, which usually means the visit gets filed under direct traffic and the campaign gets no credit.
https://example.com/spring-sale ?utm_source=newsletter &utm_medium=email &utm_campaign=spring-sale-2026 &utm_content=header-button # The first parameter follows a ? # Every parameter after it is joined with &
utm_id is worth understanding
Almost nobody uses it. It exists so GA4 can join your campaign to imported cost data. If you upload ad spend into GA4 through Data Import, utm_id is the key that links spend to sessions, which is what makes return on ad spend reporting work. If you are not importing cost data, you can safely ignore it.
GA4-Specific Parameters
GA4 recognises three additional parameters that are rarely documented anywhere.
|
Parameter |
Purpose |
Example |
|
utm_source_platform |
The platform that sent the traffic |
Google Ads, Manual |
|
utm_creative_format |
The ad format |
display, video, native |
|
utm_marketing_tactic |
The targeting approach |
remarketing, prospecting |
These populate dedicated GA4 dimensions rather than being lumped into utm_content. They are optional, and useful mainly if you run enough paid media that separating format from tactic actually changes decisions.
Standard Medium Values
This is where most tracking data goes wrong
GA4 uses utm_medium to assign traffic to a default channel group. Use a non-standard value and your traffic can land in Unassigned, where it is effectively invisible in reporting.
|
Channel |
Correct utm_medium |
Common Mistake |
|
Paid search |
cpc or ppc |
paid-search, adwords |
|
Paid social |
paid_social |
paid-facebook |
|
Organic social |
social |
Social, sm |
|
|
|
Email, newsletter |
|
Display ads |
display or banner |
ads |
|
Affiliate |
affiliate |
partner |
|
Referral |
referral |
link |
|
QR code |
qr or offline |
|
Note the email row specifically. newsletter belongs in utm_source, not utm_medium. The medium is email, the source is which email. Getting these the wrong way round is extremely common.
Naming Conventions That Hold Up
|
Rule |
Why |
Example |
|
Always lowercase |
Values are case-sensitive in reports |
facebook, never Facebook |
|
No spaces |
Encode as %20 and break links |
spring-sale, not spring sale |
|
Pick one separator |
Mixing them fragments data |
Hyphens throughout |
|
Include the year |
Campaigns repeat annually |
spring-sale-2026 |
|
Be specific in utm_content |
You will forget which variant |
hero-cta, not link1 |
|
Document your scheme |
Everyone must tag identically |
Shared reference sheet |
Case sensitivity is the one that catches people
Analytics reporting treats Facebook, facebook, and FACEBOOK as three different sources. Your traffic splits across three rows, each showing a third of the real number, and every calculation built on top of them is wrong. Lowercase everything, always, with no exceptions.
Never Tag Internal Links
This is the most damaging UTM mistake and it is almost never mentioned.
UTM parameters are for links that bring people TO your site
Putting them on links WITHIN your own site actively corrupts your attribution data. When GA4 encounters campaign parameters, it treats the visit as a new campaign arrival and starts a new session.
So if a visitor arrives from a Google ad, browses, then clicks an internally tagged link, GA4 ends the original session and starts a fresh one attributed to that internal link. The conversion that follows gets credited to your own homepage banner rather than the paid ad that actually produced it.
The effect compounds. Paid channels look weaker than they are, internal promotions look far stronger than they are, and budget decisions get made on inverted data.
UTM Parameters and SEO
Tagged URLs are still URLs, and search engines can crawl and index them if they appear somewhere public. When that happens, example.com/page?utm_source=newsletter can be indexed as a separate URL from example.com/page: the same content at two addresses, splitting link signals between them.
Canonical tags
Every page should declare a canonical URL pointing at its clean version without parameters. This is the primary defence and most modern CMS platforms handle it automatically. Confirm yours does.
Do not put tagged links in public indexable places
Tagged links belong in emails, ads, and social posts. Keep them out of your sitemap, internal navigation, and anywhere a crawler will follow them.
Use tagged URLs as the destination, not the published link
If you publish a tagged URL in a blog post or press release, other sites will copy it and you accumulate backlinks pointing at the parameterised version rather than the clean one.
Where UTM Tagging Belongs
|
Channel |
Tag It |
Notes |
|
Email campaigns |
Yes |
The clearest use case |
|
Paid search ads |
Yes |
Or use auto-tagging with Google Ads |
|
Paid social ads |
Yes |
Essential for attribution |
|
Organic social posts |
Yes |
Separates organic from paid |
|
Influencer and partner links |
Yes |
Use utm_content per partner |
|
QR codes on print |
Yes |
Only way to attribute offline |
|
Podcast and video links |
Yes |
Use a memorable campaign name |
|
Internal site navigation |
NO |
Breaks session attribution |
|
Your own sitemap |
NO |
Creates indexable duplicates |
|
Google Ads with auto-tagging |
NO |
GCLID handles it; manual tags can conflict |
That last row matters. If Google Ads auto-tagging is enabled, the GCLID parameter already carries richer data than UTMs can. Adding manual UTM parameters on top can override it and give you LESS detail, not more.
Common Mistakes to Avoid
Analytics reports are case-sensitive on parameter values. If one person tags a campaign Spring-Sale and someone else writes spring-sale, the platform records two separate campaigns and neither shows the true total. This is the single most common cause of unreliable UTM data, and it is invisible until someone tries to reconcile the numbers. Standardise on lowercase and write the convention down somewhere the whole team can see it.
UTM values sit in the browser address bar, get copied into messages, appear in referrer headers, and can end up indexed. Never include client names on confidential projects, internal codenames, pricing or budget figures, or anything resembling personal data. Putting personally identifiable information into Google Analytics also breaches its terms of service and can put your property at risk.
utm_source is the specific origin. utm_medium is the channel type. A newsletter is source=newsletter, medium=email, not the reverse. Getting them backwards is common and it breaks GA4's channel grouping, since GA4 reads the medium to decide which channel bucket the traffic belongs in. Reversed values often land the traffic in Unassigned, where it is effectively lost.
Quick Reference
|
Item |
Detail |
|
Required |
source, medium, campaign |
|
Optional |
term, content, id |
|
Casing |
Always lowercase |
|
Separators |
Hyphens, never spaces |
|
|
medium: email, source: newsletter |
|
Paid search |
medium: cpc |
|
Organic social |
medium: social |
|
Internal links |
Never tag |
|
Sitemap |
Never tag |
|
Auto-tagging on |
Skip manual tags |
|
Personal data |
Never in parameters |
|
Duplicates |
Canonical tags prevent them |
