Skip to content
ConvertMyStuff
Resource

What Are UTM Parameters?

UTM tags are query-string labels (utm_source, utm_medium, utm_campaign, utm_term, utm_content) that tell GA4 and other analytics which campaign, creative, and channel drove each visit.

Marketing ToolsRelated tool: UTM Parameter Parser

Quick answer

UTM parameters are added to URLs as query strings—typically utm_source, utm_medium, utm_campaign, and optionally utm_term and utm_content—so analytics tools attribute traffic to specific campaigns. Consistent lowercase naming and a team style guide prevent duplicate rows and make GA4 acquisition reports trustworthy.

Use the tool

Convert or calculate with our free utm parameter parser.

Overview

Without UTM tags, traffic from email newsletters, paid social ads, partner sites, and QR codes often collapses into generic referral or direct buckets in analytics. UTM parameters label each link so Google Analytics 4 and other platforms report which source, medium, and campaign drove sessions and conversions. Consistent naming turns campaign reporting from guesswork into auditable channel performance data. Poor tagging is worse than no tagging—it creates false confidence in split reports and sends budget toward channels that look busy in session counts but never convert on revenue or pipeline goals.

All five UTM parameters explained

utm_source identifies where traffic originates: newsletter, google, facebook, partner_acme, qr_flyer. utm_medium identifies the marketing medium: email, cpc, social, display, referral, affiliate. utm_campaign names the initiative: spring_sale_2026, product_launch_q2, webinar_may. Together they answer who sent the visitor, through which channel, and for which initiative.

utm_term is optional—traditionally paid search keywords; still useful for ad group or keyword theme labels in non-search channels. utm_content distinguishes creatives or links within the same campaign: hero_banner, text_link_footer, variant_a. All values append to the URL query string after ? or & and are case-sensitive in reporting—lowercase consistency prevents duplicate rows. Never put PII in UTM values; tags appear in URLs users can share and in analytics exports visible to broad teams.

How GA4 reads UTM tags

Google Analytics 4 maps UTM parameters to default channel grouping and traffic source dimensions. utm_source populates Source; utm_medium populates Medium; utm_campaign populates Campaign name. Session start captures UTMs from the landing page URL; subsequent pageviews in the session inherit that attribution until a new campaign tag appears.

GA4 also supports auto-tagging for Google Ads (gclid)—do not manually UTM over auto-tagged Google Ads URLs unless you know the interaction rules. For email, social, and offline QR campaigns, manual UTMs remain essential. Verify in GA4 Realtime and Traffic acquisition reports within minutes of a test click—mis-tagged links show up immediately as wrong source/medium pairs. Link GA4 to Google Ads and Search Console where possible, but keep manual UTMs on non-Google properties so Looker Studio dashboards inherit clean dimensions.

Naming conventions and team hygiene

Use lowercase, underscores or hyphens consistently (never mix spaces and underscores in the same org). Document a living UTM style guide: allowed sources, medium vocabulary (cpc vs ppc vs paidsearch—pick one), and campaign naming pattern including year or quarter. Example pattern: utm_campaign=2026_spring_sale.

Avoid tagging internal navigation links—UTMs on header menus pollute campaign reports with false sessions every time users browse. Reserve UTMs for external campaign URLs: email CTAs, social bios, partner placements, print QR codes, and paid ad destination URLs. Share full tagged URLs with agencies via the style guide, not ad hoc Slack messages with inconsistent spelling. Review the guide quarterly when new channels launch (TikTok, podcasts, AI referral traffic). Assign one owner to approve new utm_source values before campaigns go live.

Building and validating campaign URLs

Start with the clean landing page URL without existing query parameters when possible. Append ?utm_source=value&utm_medium=value&utm_campaign=value for the first parameter; use & for additional parameters. URL-encode spaces and special characters—raw spaces break links in some email clients.

Use a UTM parser or builder to inspect final URLs before launch. Test one link yourself and confirm GA4 attributes the session correctly. Store tagged URLs in a campaign spreadsheet with columns for source, medium, campaign, content, destination page, and owner—future you will not remember what utm_content=btn2 meant. Include a shortened preview column for Slack sharing while keeping the full tagged URL canonical for email and ads.

Reporting and optimization

Compare campaigns by conversion rate and revenue, not just sessions—high session counts with zero conversions signal wrong landing page or audience mismatch. Slice by utm_content to retire underperforming ad creatives. Slice by utm_source to reallocate budget toward partners and channels that actually convert.

UTM data does not persist forever in user bookmarks—if someone bookmarks a tagged URL, future direct visits may still carry stale campaign parameters until the URL is cleaned. For long-lived assets, consider landing page canonicals and periodic audits of public indexed tagged URLs in Search Console. Align UTM campaign names with names in your ad platforms so weekly standups compare apples to apples across GA4, Meta, and LinkedIn exports without manual spreadsheet joins.

Attribution limits and cross-platform tracking

UTMs depend on the landing URL surviving redirects intact. Broken redirect chains, app deep links, and in-app browsers (Instagram, LinkedIn) sometimes strip query parameters before GA4 fires. Supplement UTMs with platform-native analytics (Meta Ads Manager, LinkedIn Campaign Manager) when in-app behavior dominates.

iOS privacy changes and cookie restrictions reduce cross-session attribution quality but do not eliminate value from well-tagged campaign links. First-touch UTMs on landing pages still explain which email or QR code started a session. Combine UTM discipline with consent-mode configuration in GA4 for GDPR and CCPA compliance rather than tagging blindly. Server-side tagging can supplement browser UTMs for apps, but web campaigns still rely on query parameters at click time—document which channels use which method.

Examples

  • Email newsletter link

    https://example.com/landing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2026&utm_content=hero_cta — appears in GA4 as source newsletter / medium email / campaign spring_sale_2026. Compare hero_cta versus footer link variants using utm_content.

  • Paid social ad

    https://example.com/product?utm_source=facebook&utm_medium=paid_social&utm_campaign=retargeting_q2&utm_content=carousel_v2 — separates paid social from organic facebook.com referral traffic in acquisition reports. Match utm_content to ad creative name in Ads Manager.

  • Partner referral

    https://example.com/?utm_source=partner_acme&utm_medium=referral&utm_campaign=integration_launch — attributes co-marketing traffic without relying on referrer headers alone. Include partner slug in source for multi-partner programs and mirror the same slug in your partner portal reporting.

Common mistakes and edge cases

  • Changing campaign names mid-flight, splitting one campaign into duplicate report rows in GA4.
  • Using spaces in values without URL encoding—links break or truncate in email and SMS clients.
  • Mixing case (Email vs email) so identical campaigns appear as separate sources in reports.
  • Tagging internal site navigation links, inflating campaign sessions with organic browsing.
  • Omitting utm_medium or using vague values like "link" that prevent meaningful channel grouping.
  • Letting agencies invent their own source names without updating the master UTM spreadsheet—reports fragment across synonyms.
  • Using shortened bit.ly links without preserving UTM query strings through the redirect chain—test the final landing URL, not just the short link.
  • Renaming utm_campaign every week for the same ongoing initiative—use consistent campaign slugs for always-on programs and date-stamp only for true one-off promos.
  • Publishing tagged URLs on the public web that include internal codenames—anyone can read query strings in browser history and shared links.

Related tools

Last reviewed: 2026-05-23