UTM Parameters Explained: How to Track Your Marketing Links in GA4

You share links in newsletters, social posts, ads and QR codes – but which ones actually bring visitors and sales? Without tracking, Google Analytics lumps many of them into “direct” or “referral”. UTM parameters fix this. They are small tags added to the end of a link that tell analytics exactly where a visitor came from.

Free tool
Build a UTM link
Enter your URL, source, medium and campaign to get a clean tracked link – with presets for email, social, ads and QR codes. Free.
Open UTM Link Builder →

What a UTM link looks like

https://example.com/sale/?utm_source=newsletter&utm_medium=email&utm_campaign=black_friday

Everything after ? is tracking. The page is the same; Google Analytics simply records the extra information.

The parameters

ParameterAnswersExamples
utm_sourceWho sent the visitor?newsletter, facebook, google, flyer
utm_mediumWhat kind of channel?email, social, cpc, qr, referral
utm_campaignWhich campaign?black_friday_2026, spring_launch
utm_contentWhich version or link?header_button, video_ad_b
utm_termWhich paid keyword?running+shoes
utm_idCampaign IDUsed for data import in GA4

Always use at least source, medium and campaign.

Naming rules that keep reports clean

  • Use lowercase – GA4 treats “Facebook” and “facebook” as different sources.
  • Use underscores or dashes, not spaces.
  • Use standard mediums – GA4 assigns traffic to channel groups (Email, Organic Social, Paid Search…) based largely on utm_medium. Use values like email, social, cpc, display, affiliate, referral.
  • Keep a shared spreadsheet of the names your team uses.
  • Be specific with campaigns – include a season or year.

Examples

Where the link is usedsourcemediumcampaign
Monthly newsletternewsletteremailmarch_2026
Instagram bioinstagramsocialprofile
Facebook paid adfacebookcpcsummer_sale
QR code on a flyerflyerqrstore_opening
Partner blogpartnernamereferralguest_post

For QR codes, create the tagged link first and then make the code with our QR Code Generator.

Where to see UTM data in GA4

Go to Reports › Acquisition › Traffic acquisition and change the primary dimension to Session source / medium or Session campaign. You can also explore it in Explore reports.

Mistakes to avoid

  • Tagging internal links – UTMs on links within your own site start a new session and break attribution.
  • Inconsistent names – “email”, “Email” and “e-mail” split one channel into three.
  • Personal data in UTMs – never put email addresses or names into parameters.
  • Very long links – shorten them for print and social, or use a QR code.

FAQ

Do UTM parameters affect SEO?

No, if used on external marketing links. Do not add them to internal links, and use canonical tags on your pages.

Which UTM parameters are required?

utm_source is required for tracking; use source, medium and campaign together for useful reports.

Are UTM parameters case-sensitive?

Yes. Always use lowercase.

Can I use UTMs in app store links?

Google Play supports referrer parameters for install tracking; App Store links use their own campaign tokens.

Why do my UTM visits show as direct?

The link may redirect and lose the parameters, or the tags have typos.

Free tool
Try the free UTM Link Builder
No signup and nothing uploaded – it runs right in your browser. Browse all 74 free tools on our Free Tools page.
Open UTM Link Builder →

Need a website or app for your business? Talk to Techpass Master – we design and build websites and apps for clients worldwide.

WhatsApp us📞 Call now