Key takeaways
- Tag three parameters every time: utm_source, utm_medium and utm_campaign. Google recommends setting all three, plus utm_id and utm_source_platform when they apply.
- Lowercase only: utm_source=Google and utm_source=google split into two rows in GA4, because parameter values are case sensitive.
- Never tag internal links: a UTM tag on your own navigation overwrites the visit's real source, so an organic visit can be misreported as email or social.
- Read results in GA4: go to Reports, then Acquisition, then Traffic acquisition, and use Session source / medium and Session campaign as dimensions.
- UTMs measure, they do not rank: the tags change what analytics records, not how Google ranks the page.
What are UTM parameters?
UTM parameters are short labels added to the end of a URL so analytics software can tell where a click came from. UTM stands for Urchin Tracking Module, named after Urchin, the analytics company Google bought in 2005. When someone clicks a tagged link, the labels travel with the visit and appear as source, medium and campaign in your reports.
For SEO tracking, UTM parameters answer the question rankings cannot: which outside link actually sent the visit. A guest post, a directory listing, a podcast show-notes link and a newsletter can all point at the same page.
Without tags, GA4 lumps most of that traffic under referral or direct, and you cannot tell which placement earned its keep. That is why tagged links matter when you track organic traffic sources across many placements at once.
What are the five UTM parameters?
Google Analytics recognises five core UTM parameters, and three of them are required on every tagged link. The other two are optional and only help in specific cases. Two newer parameters, utm_id and utm_source_platform, exist for campaign IDs and ad platforms.
| Parameter | What it records | Required? | Example |
|---|---|---|---|
| utm_source | Where the click came from | Yes | newsletter, google, linkedin |
| utm_medium | The channel or medium | Yes | email, social, cpc, referral |
| utm_campaign | The campaign or promotion name | Yes | spring-sale, q1-webinar |
| utm_term | The paid keyword | No | running-shoes |
| utm_content | Which link or creative was clicked | No | header-button, text-link |
Use utm_term only for paid search, where it records the keyword that triggered the ad. Use utm_content when one page or email holds two links to the same destination, so you can tell which placement won the click.
Google also supports utm_id for a campaign ID and utm_source_platform for the buying platform, while utm_creative_format and utm_marketing_tactic are not currently reported in GA4.
Do UTM parameters help SEO rankings?
No, UTM parameters do not improve rankings, and they do not pass any extra ranking value to the linked page. They are tracking labels, not ranking signals: Google reads the same page whether the URL carries tags or not. Their SEO value is measurement — proving which off-site links send traffic that converts.
That measurement only stays clean if you protect the page itself. Keep the page's canonical tag pointing at the clean URL without parameters, so search engines treat every tagged version as the same page.
And never tag links inside your own site: a tagged internal link tells GA4 the visit came from that tag, not from the organic search that actually brought the visitor. Most SEO tools to use report rankings, not tagged traffic, so pair them with GA4 for the full picture.
Step 1: Agree a naming convention before you tag anything
A naming convention is a short written list of the exact values your team uses for source, medium and campaign. Write it down once, in a shared sheet, and every tagged link follows it. Without one, the same newsletter becomes newsletter, Newsletter, email-newsletter and monthly-mailer, and GA4 reports four campaigns instead of one.
- Lowercase letters only, with hyphens or underscores instead of spaces.
- One source value per platform: linkedin for LinkedIn, not linkedin, LinkedIn and li.
- One medium value per channel: email, social, cpc, referral or organic.
- Campaign names that match the real campaign name exactly, such as spring-sale.
- No personal data in any value: never put an email address or a name in a UTM tag.
- No spaces or special characters: use spring-sale, not Spring Sale!
| Instead of this | Use this |
|---|---|
| Google, GOOGLE, google | |
| Email, e-mail, newsletter | |
| Spring Sale, springsale | spring-sale |
| (blank utm_campaign) | spring-sale |
Step 2: Build the tagged URL
Build every tagged URL the same way, in the same order, and the tags will work in any analytics tool. Start from the clean destination page, then add the three required parameters, then the optional ones. Google's free Campaign URL Builder does the formatting for you if you prefer not to build links by hand.
- Copy the clean destination URL, such as https://www.example.com/pricing/.
- Add a question mark, then utm_source and the platform, such as ?utm_source=linkedin.
- Add an ampersand and utm_medium and the channel, such as &utm_medium=social.
- Add an ampersand and utm_campaign and the name, such as &utm_campaign=spring-sale.
- Add utm_content only when two links share a destination, such as &utm_content=sidebar-banner.
- Paste the finished link into a browser, click it, and confirm the page loads.
https://www.example.com/pricing/?utm_source=linkedin&utm_medium=social&utm_campaign=spring-sale&utm_content=sidebar-banner
If the destination URL already has a question mark, use an ampersand before the first UTM parameter instead. Values are case sensitive, so utm_source=LinkedIn and utm_source=linkedin are different sources in GA4. Keep the order source, medium, campaign every time so anyone on the team can read a tagged link at a glance.
Step 3: Test the link before you publish it
Test every tagged link before it goes live, because a broken tag is invisible until the report comes back empty. Click the link yourself and check that the page loads with the full tagged URL in the address bar. Then open GA4 Realtime and confirm the visit appears with the source, medium and campaign you set.
Check three common failures while you test. A second question mark in the URL breaks everything after it, a space in a value gets encoded and splits the report, and a missing utm_campaign leaves the campaign column as (not set). Fix the tag at the source — editing the link after publication will not repair the visits already recorded.
Step 4: Read the results in GA4
Read tagged traffic in GA4 under Reports, then Acquisition, then Traffic acquisition. That report shows sessions by source, medium and campaign, and you can switch its first dimension to Session source / medium or Session campaign. Add a second dimension, such as Landing page, to see which tagged links sent visits to which pages.
Use First user source / medium when you want to know where new visitors first came from, and Session source / medium when you want to know what started each visit.
If a row shows (not set) for campaign, the link carried a UTM tag but no utm_campaign value, so GA4 had nothing to report. Search Console and GA4 answer different questions: Search Console shows queries and clicks, while GA4 shows what visitors did next. Compare both in the Google Search Console vs Google Analytics guide before you judge a placement.
What mistakes break UTM tracking?
Most UTM problems come from small inconsistencies, not from the tags themselves. One capital letter, one renamed campaign or one tagged internal link is enough to split a report into useless fragments. The table below lists the mistakes that cause the most damage and the fix for each.
| Mistake | What happens | Fix |
|---|---|---|
| Mixed capitals (Google vs google) | Two rows for one source | Lowercase every value |
| Tagging internal links | Organic visits misreported as email or social | Tag only links on other sites, emails and ads |
| Renaming a campaign mid-flight | One campaign splits into several rows | Freeze campaign names before launch |
| Tagging Google Ads links by hand | Manual tags clash with auto-tagging | Leave auto-tagging on and use utm_content only |
| Spaces or special characters in values | Values get encoded or cut off | Use hyphens, such as spring-sale |
| Missing utm_campaign | Campaign shows as (not set) | Always set source, medium and campaign together |
Audit your tags once a month by exporting the Traffic acquisition report and scanning for near-duplicate rows. Merge the spellings you find into the naming convention, and share the updated sheet with everyone who builds links. A convention only works if the whole team uses the same one.
UTM checklist for every link you publish
- Destination URL is the clean page, with no old parameters attached.
- utm_source names one platform, in lowercase.
- utm_medium names one channel, in lowercase.
- utm_campaign matches the campaign name exactly.
- utm_content is set when two links share a destination.
- The link was clicked and checked in GA4 Realtime.
- The canonical tag on the page points at the clean URL.
- No personal data appears in any value.
How we chose
We checked every parameter name, report name and best practice in this guide against Google Analytics Help pages in November 2026. We do not accept payment for placement. This guide covers the tags GA4 reports on; parameters Google lists as not currently reported are flagged as such above.
Frequently asked questions
Do UTM parameters affect SEO rankings?
No. UTM parameters are tracking labels, and they do not change how Google ranks a page or how much authority a link passes. They only change what Google Analytics records about the visit, which is why their value is measurement, not ranking.
Should I add UTM parameters to internal links?
No. Tagging a link inside your own site overwrites the visit's original source in GA4, so an organic search visit can be reported as email or social instead. Reserve UTM tags for links on other websites, in emails, in ads and in social posts.
What is the difference between utm_source and utm_medium?
utm_source names where the click came from, such as linkedin, newsletter or google. utm_medium names the channel or type of traffic, such as social, email or cpc. Every tagged link needs both, because source without medium cannot tell you which channel delivered the visit.
Why does GA4 show (not set) for my campaign?
GA4 shows (not set) when a tagged link carried UTM parameters but no utm_campaign value. Google recommends setting utm_source, utm_medium and utm_campaign together every time, so a missing campaign leaves the report blank. Add the campaign value and republish the link; past visits cannot be repaired.
Can I use UTM parameters on Google Ads links?
You can, but you should not need to. Google Ads auto-tagging already records source, medium and campaign through the GCLID, and manual tags can clash with it. Leave auto-tagging on, and add only utm_content or utm_term by hand when you need creative or keyword detail.
Sources
- Google Analytics Help: URL builders — Collect campaign data with custom URLs — https://support.google.com/analytics/answer/10917952
- Google Analytics Help: Traffic-source dimensions, manual tagging, and auto-tagging — https://support.google.com/analytics/answer/11242870
- Google Analytics 4 — https://analytics.google.com/
- Google Campaign URL Builder — https://ga-dev-tools.google/campaign-url-builder/
Saima Akther is an SEO and AEO enthusiast who writes Serplark’s best-of lists and guides on SEO tools, answer engine optimization and AI search. Published . Spot an error or a missing tool? Tell us and we will check it.