Paste your page URL, add a source, medium and campaign, and copy the tagged link. This UTM builder warns you about spaces, capital letters and URLs that already have a query string or a # fragment, so one campaign does not split into several rows in GA4. Save the tags you reuse as presets in your browser.
How GA4 reads the tags
UTM parameters are tags at the end of a link that tell Google Analytics where a visit came from. GA4 reads them when someone lands on your page and stores them as the session's source, medium and campaign. Google says to always set utm_source, utm_medium and utm_campaign. Missing tags show as (not set).
| Parameter | What to put in it | Where it shows in GA4 | Use it? |
|---|---|---|---|
utm_source | The site, sender or partner: linkedin, google, partner-name | Session source, Session manual source | Always |
utm_medium | The channel type: email, cpc, social, referral | Session medium, Session manual medium | Always |
utm_campaign | The campaign name: spring-sale, webinar-2026-11 | Session campaign, Manual campaign name | Always |
utm_id | A campaign ID that matches cost data you upload | Used to join imported campaign data | If you import data |
utm_term | The paid keyword | Manual term | Paid search |
utm_content | Which link or ad: header-cta, video-a | Manual ad content | More than one link per campaign |
Source: Google Analytics Help, Collect campaign data with custom URLs and Traffic-source dimensions, manual tagging and auto-tagging (checked 7 Nov 2026). Google also lists utm_source_platform, utm_creative_format and utm_marketing_tactic. It says the last two are not currently reported in GA4, so this builder leaves them out.
Two more points from the same Google pages are worth knowing. First, values are case sensitive: Google and google are two different sources in your reports. Second, if a Google Ads link has auto-tagging (gclid) and UTM tags, GA4 uses the auto-tagged values for source and medium. So you rarely need UTM tags on Google Ads links if auto-tagging is on.
Medium values that work
GA4 sorts visits into default channels using your source and medium. Use email for email, social for unpaid posts, cpc or paid_social for paid social, and referral for partner links. A made-up medium such as newsletter or linkedin matches no rule, so the visits end up in Unassigned.
| GA4 channel | Medium values that match | Also needs |
|---|---|---|
email, e-mail, e_mail, e mail | Nothing else (or the same word as source) | |
| Organic Social | social, social-network, social-media, sm | Or any medium if the source is a known social site |
| Paid Social | Contains cp, or ppc, retargeting, or starts with paid | Source must be a known social site |
| Paid Search | Same paid pattern as above | Source must be a known search site |
| Display | display, banner, expandable, interstitial, cpm | Nothing else |
| Referral | referral, app, link | Nothing else |
Source: Google Analytics Help, Default channel group (checked 7 Nov 2026). Google notes the channel rules are not case sensitive. GA4 checks the channels in a set order, so a known social source can win over an email medium. The builder's "likely channel" box uses a short list of common social and search sites, not Google's full list.
utm_source=linkedin&utm_medium=social lands in Organic Social. utm_source=newsletter&utm_medium=linkedin lands nowhere useful. If your tracking is already messy, talk to us and we will tell you what to fix first.Naming convention
Write every value in lowercase, use hyphens inside a value, and agree a short list of sources and mediums before anyone builds a link. Keep that list in one shared sheet. Most messy GA4 reports we audit come from three people tagging the same channel three different ways, not from missing tags.
pricing-launch-2026-11 or webinar-crm-2026-q4. The date in the name stops this year's "webinar" from merging with last year's in reports.hero-button and the footer link footer-link. You then see which spot gets clicks without creating a second campaign.trial-users, not the person's address.PII rule source: Google Analytics Help, Best practices to avoid sending personally identifiable information (checked 7 Nov 2026).
Edge cases
If your URL already has a ?, the builder keeps those parameters and adds the UTM tags after them with &. Old UTM tags in the URL are removed so each tag appears once. If the URL has a # section, the tags go before the #, and the section moves to the end.
https://example.com/demo?plan=pro becomes …/demo?plan=pro&utm_source=…. Adding a second ? would break the first parameter.…/pricing#faq becomes …/pricing?utm_source=…#faq. Tags placed after the # are usually not read as campaign data, because the part after # stays in the browser.&, = and # inside a value are encoded (a space becomes %20). The link still works, but encoded values are hard to read in reports. Click "Clean values" to swap spaces for hyphens.Common questions
?utm_source=linkedin&utm_medium=social. When someone clicks the link, Google Analytics reads the tags and records where the visit came from. The builder saves you typing the tags by hand and catches mistakes before the link goes out.Related
We set up UTM rules, GA4 channels and CRM source fields so every lead traces back to the campaign that brought it in.
We reply within one business day.