How to Build UTM Tracking URLs for Google Analytics 4 (GA4) Without Breaking Attribution
Master all 5 UTM parameters so your email newsletters, social links, and ad campaigns stop showing up as Direct traffic.
When someone clicks a link to your website from an email newsletter, PDF, WhatsApp message, or social bio without tracking parameters, Google Analytics 4 (GA4) often misclassifies that visit as (direct) / (none). Adding standard UTM parameters tells GA4 the exact source, medium, and campaign that drove every click. You can generate properly encoded tracking URLs in seconds with our free UTM Link Builder.
The 5 Standard UTM Parameters Explained
| Parameter | Required? | What It Tracks | Examples |
|---|---|---|---|
utm_source | Yes | The specific platform or referer sending traffic | google, newsletter, linkedin, reddit |
utm_medium | Yes | The marketing channel category | cpc, email, social, referral |
utm_campaign | Yes | The promotion, product launch, or campaign name | black_friday_2026, weekly_digest |
utm_term | Optional | Paid search keyword or audience segment | stripe+fee+calculator |
utm_content | Optional | Differentiates A/B ad creatives or button links | header_cta, footer_link |
3 Golden Rules for Clean UTM Tagging
- Always Use Lowercase: GA4 is case-sensitive—
utm_source=LinkedInandutm_source=linkedinwill split into two separate rows in your reports. - Use Underscores or Hyphens Instead of Spaces: Spaces turn into
%20in URLs. - Never Use UTMs on Internal Website Links: Clicking an internal link with UTM tags overwrites the visitor’s original traffic source in Google Analytics!
Build and inspect your marketing URLs using our UTM Builder, URL Parser, URL Encoder, and QR Code Generator.
Frequently asked questions
Why should I never put UTM parameters on internal links on my own site?
When a visitor clicks an internal link containing UTM tags, Google Analytics ends their original session and starts a new session attributed to that internal UTM—erasing whether they originally came from Google Search or a paid ad.
Do UTM parameters affect Google SEO rankings?
No. Google Search understands UTM query parameters, and as long as your page has a self-referencing canonical tag (which 100FreeTools automatically includes), UTM links do not cause duplicate content issues.