Find a guide
Menu
Email Marketing

How to Set Up UTM Tracking for Email Links in Five Steps

Tag your email links with clean UTM parameters so Google Analytics 4 attributes every click to the right campaign instead of dumping it into direct traffic.

In this article
  1. Key Takeaways
  2. Why does untagged email traffic show up as direct?
  3. What are the five UTM parameters you need for UTM tracking for email?
  4. Step 1: How do you set naming conventions?
  5. Step 2: What value belongs in utm_medium?
  6. Step 3: How should you define source, campaign, and content tags?
  7. Step 4: How do you assemble the destination URL?
  8. Step 5: How do you automate UTM tracking in your email platform?
  9. How do you verify UTM traffic in GA4?

UTM tracking for email means adding short text snippets to the links in your newsletters so Google Analytics 4 credits your sales and traffic. Without these tags, GA4 dumps most email clicks into direct traffic because mail apps strip referrer data.

Key Takeaways

  • Set utm_medium=email every time so GA4 routes the click into the predefined Email default channel group.
  • Stick to lowercase text and hyphens across all parameters to avoid splitting one campaign into multiple rows.
  • Desktop clients like Outlook and native mobile apps do not send referrer headers, which dumps untagged clicks into (direct) / (none).
  • Most email service providers let you configure automated UTM defaults once so you do not have to write manual URLs for every broadcast.

The Core Guide to Email UTMs

Why does untagged email traffic show up as direct?

Untagged email links show up as direct traffic because email clients strip referrer headers before passing clicks to a browser. When a subscriber clicks a link inside Apple Mail, Microsoft Outlook, or the Gmail mobile app, the browser opens without passing an HTTP referrer.

No referrer means Google Analytics cannot determine where the user came from. GA4 flags that incoming visit as (direct) / (none). You might run a major sale, spot a huge spike in direct revenue, and assume shoppers simply typed your store address into their browser bars. In reality, your subscribers bought through your promotion, but your reports cannot prove it. Setting up tags solves this gap entirely. For a deeper look at the server mechanics behind missing headers, read our guide on how Google search referrer values work.


What are the five UTM parameters you need for UTM tracking for email?

Standard UTM parameters tell your analytics tool where a click came from, how it arrived, and which specific message triggered it. Google built this taxonomy, and Google's Campaign URL Builder documentation defines the role of each tag.

Parameter Required by GA4? Purpose Email Example
utm_source Yes Identifies the platform sending the traffic newsletter, klaviyo, activecampaign
utm_medium Yes Identifies the high-level marketing channel email
utm_campaign Yes Identifies the specific send or promo theme black-friday-launch, weekly-digest-42
utm_content No Distinguishes links pointing to the same page hero-cta-button, footer-text-link
utm_term No Distinguishes target audience or segment vip-buyers, cold-subscribers

Two parameters are optional. Medium tells GA4 how to classify the traffic, source pinpoints the sender, and campaign connects the session to a specific broadcast.


Step 1: How do you set naming conventions?

Pick a standard naming format and write it down before you build your first tagged URL. UTM parameters are case-sensitive. If you label one link utm_medium=Email and another utm_medium=email, GA4 treats them as two separate channels.

Follow these rules to keep your reports clean:

  1. Use only lowercase letters across every parameter.
  2. Separate words with hyphens instead of spaces or underscores.
  3. Keep campaign names short and predictable.

For example, use spring-clearance instead of Spring Clearance 2026!. Spaces turn into %20 or + in URL strings, creating unreadable reports that cause headaches when exporting data.


Step 2: What value belongs in utm_medium?

Set your utm_medium to email. Do not use newsletter, e-mail, or marketing-email.

Google Analytics 4 relies on strict rules to populate its standard channel definitions, as outlined in the Google Analytics default channel group rules. Under standard GA4 rules, incoming traffic belongs to the Email channel group only if the medium matches email exactly. If you enter newsletter, GA4 dumps your visitors into the Unassigned bucket. That single spelling choice breaks channel reports. It clouds your true return on investment.


Step 3: How should you define source, campaign, and content tags?

Assign values to the remaining parameters based on what you need to track inside your business.

For utm_source, enter your publication name or your software tool. If you send a weekly newsletter called The Weekly Dispatch, utm_source=weekly-dispatch works well. If you manage automated flows, using your platform name like utm_source=klaviyo or utm_source=mailchimp keeps system-generated messages clear.

For utm_campaign, name the specific send. If you deploy a sequence to salvage lost customers, label the link utm_campaign=winback-sequence. Pairing clean tags with a dedicated sequence, like our guide on how to build a customer win-back email sequence, makes it obvious whether older subscribers actually convert.

Use utm_content to differentiate two links pointing to the same destination inside one email. Tag the hero button with utm_content=hero-cta and the text link with utm_content=body-link. This reveals whether subscribers click early or read to the end.


Step 4: How do you assemble the destination URL?

Combine your website page address and the UTM string using a question mark and ampersands. The question mark signals the start of query parameters, while ampersands separate each tag.

Here is a finished, production-ready link:

https://example.com/products/planner?utm_source=weekly-dispatch&utm_medium=email&utm_campaign=spring-launch&utm_content=hero-button

If your base destination page already contains a question mark, do not add a second one. Join subsequent UTM tags using ampersands.

The catch is that links with anchor fragments behave differently. If your link scrolls to a specific section on the page using a hash symbol like #reviews, put the UTM string before the hash. A URL ending in #reviews?utm_source=email drops tracking parameters completely because many web servers stop parsing query strings once they hit an anchor tag.


Step 5: How do you automate UTM tracking in your email platform?

Stop writing manual links for every regular send by turning on the built-in tracking controls inside your email software.

Major platforms automate parameter insertion across outbound links:

  • In Mailchimp, check the Google Analytics tracking box in the Settings and Tracking section of your campaign builder.
  • In Klaviyo, open Account, go to Settings, select UTM Tracking, turn tracking on, and set your default values.
  • In ConvertKit, open your email settings and turn on link tracking defaults across your broadcast templates.

Test your setup by sending a preview draft to your own inbox. Click the link and check your browser address bar. The full URL should load with your tags clearly visible and without redirect errors. If you track conversions on the other side, pair this workflow with our tutorial on how to track newsletter signups in GA4 to see both sides of your subscriber funnel.


How do you verify UTM traffic in GA4?

To verify your tags, send a live test email to yourself, click the link, and open the Realtime report inside Google Analytics 4.

Go to Reports > Realtime in your GA4 property. Scroll down to the Users by First User Source / Medium card. You should immediately see your test visit registered with the exact values you defined, such as weekly-dispatch / email.

For historical reporting across past days, go to Reports > Acquisition > Traffic Acquisition. Switch the primary dimension dropdown from Session default channel group to Session source / medium or Session campaign. Tracked email clicks appear alongside their attributed engagement rate, conversion events, and generated revenue. Standard GA4 processing takes anywhere from 24 to 48 hours to fully settle batch metrics, but the Realtime view confirms your UTM tracking for email functions within 30 seconds of clicking.

Frequently asked questions

Why does untagged email traffic show up as direct in GA4?
Untagged email links lack browser referral headers, so Google Analytics 4 cannot tell where the visitor came from. Because desktop apps and webmail clients do not pass referrer headers, GA4 assigns those clicks to the Direct channel group.
Should utm_medium be email or newsletter?
Always use email as your utm_medium parameter. Google Analytics 4 relies on a strict default channel group rule where utm_medium must equal email to sort visits into the Email channel.
Are UTM parameters case sensitive?
Yes, UTM tags are completely case sensitive in analytics tools. If you tag one link with Email and another with email, GA4 splits them into two separate rows.
Can I use spaces in UTM parameters?
No, you should never put raw spaces in UTM strings. Spaces get encoded as %20 or plus signs, which breaks data readability, so use hyphens or underscores instead.
Will UTM tags break my website URLs?
UTM tags will not break standard URLs if added after a question mark and joined with ampersands. Sites using fragment identifiers like hash symbols must place UTM tags before the hash mark.

Sources and further reading

  1. Google Analytics default channel group rules support.google.com

Keep reading

What Does It Mean to Scrub an Email List?

What Does It Mean to Scrub an Email List?

Email Marketing 5 min read
What Does It Mean to Scrub an Email List?

What Does It Mean to Scrub an Email List?

Email Marketing 5 min read
How Many Emails in a Welcome Series for New Leads?

How Many Emails in a Welcome Series for New Leads?

Email Marketing 6 min read