Skip to content

UTM Builder

Short answer

Build a campaign link with UTM source, medium and campaign, see the GA4 channel it will likely land in, and catch the mistakes that leave visits Unassigned.

What it does not do: It builds the link and previews GA4's default channel rules; it does not shorten or track links, and GA4 may group a less common source differently.

Free · No signup · Runs in your browser

Quick fill

Where the visit comes from, e.g. newsletter, facebook, google

The type of link, e.g. email, social, cpc

e.g. spring_sale

Paid search keywords

Tells apart ads or links within the same campaign

Your tagged URL

Enter a website URL to see the tagged link.

Likely GA4 channel: —

Based on GA4's default channel rules. GA4 compares the source with its own lists of search, social, video and shopping sites; this preview knows only the common ones.

  • Fill in utm_source, utm_medium, utm_campaign — GA4 needs source, medium and campaign name to attribute the visit to your campaign.

Everything runs in your browser.

What It Does

Builds a campaign link by adding UTM parameters (source, medium, campaign and the optional GA4 fields) to your URL, and shows which GA4 default channel the visits are likely to fall into. It warns about capital letters, spaces and source/medium pairs that GA4 would leave as Unassigned.

Why It Matters

GA4 uses utm_source, utm_medium and utm_campaign to credit a visit to your campaign, and it sorts visits into channels such as Email or Organic Social based on source and medium. Values are case-sensitive, so "Email" and "email" become two rows, and a medium GA4 doesn't recognise ends up as Unassigned. Consistent tags keep your reports readable.

How It Works

  1. Enter the page URL

  2. Fill in source, medium and campaign name, or start from a quick-fill preset

  3. Add term, content, ID or the other GA4 parameters if you need them

  4. Copy the tagged URL and check the channel preview and warnings

Sample input + output

INPUT
url: https://example.com/pricing
source: Newsletter · medium: email · campaign: spring_sale
OUTPUT
https://example.com/pricing?utm_source=Newsletter&utm_medium=email&utm_campaign=spring_sale

Likely GA4 channel: Email

utm_source contains capital letters. GA4 reports treat "Email" and "email" as different values, so lowercase is safer.

How to read the result

Your tagged URL
Your address with utm_source, utm_medium and utm_campaign added, plus any optional fields you filled in. Other parameters already in the address stay; old utm_ parameters are replaced, with a warning. Spaces are written as %20.
Likely GA4 channel (Email)
The channel GA4's default channel group would most likely put these visits in, worked out from source, medium and campaign. In the sample the medium "email" makes it Email. It is a preview: GA4 compares the source with its own long lists of search, social, video and shopping sites, and this tool knows only the common ones.
The capital-letter warning
In the sample the source is "Newsletter". GA4 values are case-sensitive, so "Newsletter" and "newsletter" show up as two different sources and split your numbers. The link still works.
Required fields
Source, medium and campaign name are marked with an asterisk. Until all three are filled in, the channel shows "—" and a warning names the missing ones.
Optional fields
Campaign ID, term and content are under the main three; source platform, creative format and marketing tactic, which GA4 added later, are under "More GA4 parameters". Use content to tell apart two links in the same email or two versions of an ad.

Who Uses This

  • Email marketer

    Tag every link in a newsletter with the same source, medium and campaign so the visits show up under Email in GA4.

  • Social media manager

    Tell apart visits from a LinkedIn post and from an Instagram bio link in the same campaign.

  • Marketing consultant

    Check that a client's paid social links use a medium that GA4 counts as Paid Social.

Common problems and how to fix them

  1. Visits show as Unassigned

    Use a medium GA4 recognises, such as email, social, cpc, display, affiliate or referral. Invented mediums like "newsletter-link" put the visits in Unassigned, where they are hard to report on.

    https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
  2. One campaign split across several names

    Agree a short naming list and keep to it: lowercase, words joined with underscores or hyphens, no spaces. Copy values from the list rather than typing them each time.

    https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
  3. UTM tags on links between your own pages

    Do not tag internal links. A visitor who clicks one is credited to that made-up campaign instead of the source that really brought them, and your reports lose the real origin.

  4. The link is too long for print or SMS

    This tool does not shorten links. Create a short page on your own domain, such as /go/spring, that redirects with 301 to the tagged URL.

  5. Personal data in the values

    Never put email addresses, names or customer IDs in UTM values: they end up in the URL, in server logs and in analytics reports, and Google Analytics policies forbid sending personal data.

Frequently Asked Questions

Which UTM parameters does GA4 need?
Use utm_source, utm_medium and utm_campaign on every tagged link. utm_id, utm_term and utm_content are optional, and GA4 also accepts utm_source_platform, utm_creative_format and utm_marketing_tactic.
Are UTM values case-sensitive?
Yes. GA4 reports "Facebook" and "facebook" as two different sources, so choose lowercase and stick to it.
Why would my visits show as Unassigned?
GA4 picks a channel from the source and medium. If the pair matches none of its default channel rules, for example medium=newsletter, the visits are Unassigned. Use a medium such as email, social, cpc or referral.
How accurate is the channel preview?
It follows GA4's default channel rules. GA4 also compares the source with its own long lists of search, social, video and shopping sites; the preview knows only the common ones, so GA4 may group a less common site differently.
Does the tool store my links?
No. The link is built in your browser, and nothing is sent or saved.

Sources

The documentation this tool and the explanations on this page are based on.