On this page
What this issue is
UTMs are short tags added to the end of a link, such as ?utm_source=newsletter&utm_medium=email. Analytics tools read them to learn where a visit came from.
Without them, the tool falls back on the browser's referrer, the address of the page the visitor clicked from. If someone reads your email in a webmail site (Gmail in a browser, Outlook.com, Yahoo Mail) and clicks a link, the referrer is that webmail site. GA4 then reports the visit as Referral from a domain like mail.google.com. Desktop and mobile mail apps usually send no referrer at all, so those visits fall into Direct instead (see TRK-329).
- Email sentLink has no UTMs
- Click in webmailBrowser sends mail.google.com as referrer
- GA4 sessionSource: mail.google.com, medium: referral
- ConversionCredited to Referral, not Email
The visit is real, but the source is wrong from the first page view.
Why it costs you leads or sales
The visitor still converts, so the direct loss is small. The cost is in decisions. Email looks weaker than it is, and Referral looks stronger. You may cut email budget or stop a campaign that is working, and you cannot compare one send with another.
Example: of 100 conversions that came from email, only the tagged clicks are credited to the Email channel.
How to check if your site has it
Open the traffic acquisition report
In GA4 go to Reports > Acquisition > Traffic acquisition.
Switch to source and medium
Change the dimension dropdown to Session source / medium.
Look for webmail domains
Search for mail.google.com, outlook.live.com, outlook.office.com, mail.yahoo.com and similar, with medium referral.
Test one of your own emails
Send yourself a campaign, open it in webmail, click each link and check the address bar for utm_ parameters.
How to fix it
The fix is to tag every link in every email. Use the same pattern each time and keep values lowercase (see TRK-319).
https://example.com/offer?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale&utm_content=header-buttonUse your email plugin's setting
Most email plugins and services connected to WordPress have a Google Analytics or UTM tracking option per campaign. Turn it on and set the campaign name. Menu names vary by plugin.
Or tag manually
Add the UTM string to each button and link in the email editor.
Tag Shopify Email links
Shopify Email adds campaign tracking to links by default. If you use another email app, check its link tracking setting.
Tag flows manually if needed
For automated flows, add UTMs to button links in the template editor.
Add UTMs in the email builder
Edit each button or text link in your email and append the UTM string to the URL.
Reuse a template
Save a template with tagged links so each send starts correctly.
Append UTMs when building the HTML
Add the parameters to every href in the email template. Join with & if the URL already has a query string.
Encode special characters
Use hyphens instead of spaces in values to avoid encoding issues (TRK-320).
Pick a naming convention
For example utm_medium=email always, utm_source=newsletter or the list name, utm_campaign=the send name.
Tag every link
Include logo, footer and unsubscribe-adjacent links that go to your site.
Enable the email platform's auto-tagging if it has one
This removes manual work and mistakes.
Optional: add webmail to unwanted referrals
In GA4 go to Admin > Data streams > your web stream > Configure tag settings > List unwanted referrals. This stops old untagged links starting a new referral session when someone moves between your site and a webmail page. It does not recover the lost email source.
How to confirm it's fixed
- Send a test email to a Gmail or Outlook.com address and click every link in the browser.
- Check each landing URL contains utm_source, utm_medium=email and utm_campaign.
- In GA4 Realtime or DebugView, confirm the session shows medium email.
- After a few days, check that new webmail referral rows stop growing for new sends.
- Confirm the redirects on your landing page keep the UTMs (TRK-311).
How to prevent it happening again
- Keep a shared template with tagged links for every email type.
- Turn on automatic link tagging in your email platform.
- Document the UTM naming convention, lowercase only.
- Send and click-test every campaign before launch.
- Review Session source / medium monthly for webmail referrals.
How FunnelGuard handles this
This issue is outside what FunnelGuard checks. It comes from how links inside your emails are written and how your analytics classifies real inbox clicks, which needs a different kind of tool. An email platform's link-tagging feature, a UTM builder with a naming convention, or a review of your analytics acquisition reports fits best.
Questions people ask
Why is my email traffic showing as referral in GA4?
The links in your emails most likely have no UTM parameters. When a reader clicks from a webmail site, the browser passes that site as the referrer, so GA4 reports a referral from a domain like mail.google.com.
How do I make GA4 count clicks as Email traffic?
Add utm_medium=email and a utm_source and utm_campaign to every link in the email. GA4's default channel grouping places traffic with medium email into the Email channel.
Why does email traffic show as Direct instead of Referral?
Mail apps on desktop and phones often send no referrer, so GA4 has nothing to go on and labels the visit Direct. Tagging links with UTMs fixes this too.
Can I fix old email traffic already reported as referral?
Not reliably. GA4 does not let you rewrite past source data. Fix the links for future sends and note the issue when comparing older reports.
Should I add mail.google.com to unwanted referrals?
It can help stop a webmail page from starting a new session mid-journey, but it does not restore the Email source. Tagged links are the real fix.
Do I need UTMs on every link in an email?
Yes, every link that points to your site. One untagged footer or logo link can still show up as a webmail referral.
Do UTMs on email links affect SEO?
No. UTMs are read by analytics tools, and links in emails are not part of search rankings.
Related issues
- TRK-329Direct traffic inflated by missing UTMs on emails/SMSFix guide
- TRK-319UTM values with inconsistent casing (Facebook vs facebook)Fix guide
- TRK-320UTM parameters URL-encoded twiceFix guide
- TRK-311UTMs lost on redirect (http->https, www, trailing slash)Fix guide
- TRK-317UTMs overwritten by internal links with utm tagsFix guide
- TRK-333Shortener/redirect link (bit.ly, Linktree) strips UTMsFix guide