Raydar free tools · UTM builder

Email UTM parameters that land in GA4's Email channel

Set utm_medium=email on every link in every send. It's the one value that puts the click in GA4's Email channel whichever platform sent the email. Use utm_source for the list or flow, such as newsletter or welcome-flow, and utm_campaign for the individual send.

The interactive UTM builder loads with this page, pre-filled for Email, and runs entirely in your browser.

The preset

utm_source=newsletter&utm_medium=email&utm_campaign=send-name

GA4's Email channel matches when either source or medium is email, so utm_medium=email is enough on its own and utm_source is free to name the list.

Where to put it

  1. Build one tagged URL per link in the email, and use utm_content to tell two links in the same email apart.
  2. Set the tagged URL as the link target in your email editor.
  3. Send a test to an Outlook mailbox that uses Defender Safe Links, click through, and confirm the tags reach the landing page.
  4. If your own organisation's Safe Links policy gets in the way, an admin can add specific URLs to its do-not-rewrite list.

The link your subscriber clicks isn't always the link you sent. In organisations using Microsoft Defender for Office 365, Safe Links rewrites links in inbound email into a safelinks.protection.outlook.com wrapper, so it can scan them and check them again at the moment of the click. Your original URL, UTMs included, sits inside that wrapper and is released when the reader clicks. Your tags still arrive. What changes is the link in the message, which now belongs to Microsoft, and the referrer your analytics sees.

That is a strong argument for tagging every email link: the query string rides through the rewrite intact, so it's the part of the link that still says where the click came from. To read what a wrapped link really points at, paste it into the URL decoder, which pulls the destination out of a Safe Links wrapper without opening it. Admins can also exclude URLs from rewriting, or use a mode that checks links through the Safe Links API without wrapping them in supported Outlook clients.

Keep email in the medium and use the source for the list. GA4's Email rule accepts email in either field, so you could put email in utm_source and something else in the medium. Don't. Keep utm_medium=email fixed and let utm_source name the list or automation: newsletter, welcome-flow, winback. Then one medium report shows all email, and one source report splits it by list.

One spelling, lowercase. GA4's Email rule accepts email, e-mail, e_mail and "e mail", and channel rules ignore case, so Email and email both reach the Email channel. Your reports do care about case: parameter values are case-sensitive, so a medium report shows Email and email as two rows. Pick email and never type it any other way.

Two links in one email need utm_content. Google's own example for utm_content is two call-to-action links in the same message. Tag the button utm_content=button and the text link utm_content=text-link, and the report shows which one readers use. If one send carries several destinations, the bulk UTM builder tags them all with one spelling. How to track email clicks covers the rest of the setup.

Questions

How do I add UTM parameters to email links?

Add them to each link's URL before you set it as the link target: for example ?utm_source=newsletter&utm_medium=email&utm_campaign=october-update. utm_medium=email is what puts the click in GA4's Email channel.

How many UTM parameters should I use in an email?

Three at minimum, since Google says to always use utm_source, utm_medium and utm_campaign. Add utm_content when an email has more than one link to the same place, which is Google's own example for that parameter.

Do UTM parameters survive Outlook Safe Links?

Yes. Safe Links wraps the link for scanning and time-of-click checks, but keeps the original URL, UTMs included, inside the wrapper and resolves it when the reader clicks. The visible link and the referrer change; your tags don't.

Back to the UTM builder for every platform, or another one: YouTube · Pinterest

Give your bio link a brain.

Build your page, watch who converts, free to start.

Get started free

No card required.