Get a Free Profit Growth Plan

Free tool

UTM builder

UTM parameters tell GA4 where a visit came from. Add a source, a medium and a campaign to the link you share, keep the values lowercase, and use the same names every time.

Start from a preset

Your result

    Want us to check this against your account?

    Book a free Profit Growth Plan call

    How it works

    How to use the builder

    1. Paste the page URL the link should open, starting with https://.
    2. Pick a preset for Google Ads, Meta Ads, email or LinkedIn Ads, or fill the fields yourself.
    3. Fill in source, medium and campaign. Term and content are optional.
    4. Read the warnings. The builder flags capital letters and spaces, the two things that split reports most often.
    5. Copy the link and use it in your ad, post or email.

    Existing parameters on your URL stay, any old utm_ values are replaced, and spaces and symbols are encoded so the link works when pasted. Placeholders in curly braces stay as they are, so the ad platform can fill them in.

    What each parameter means

    Parameter Answers Example
    utm_source Who sent the visit? google, facebook, newsletter
    utm_medium What kind of traffic is it? cpc, paid_social, email
    utm_campaign Which campaign or promotion? spring-offer
    utm_term Which keyword or audience? {keyword}, {{adset.name}}
    utm_content Which ad or link? {creative}, header-button

    Say you send a newsletter promoting a spring offer and link to your pricing page. Enter https://example.com/pricing, source newsletter, medium email and campaign spring-offer. The builder returns:

    https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring-offer

    In GA4 the visit shows under source “newsletter”, medium “email” and campaign “spring-offer”. To tell two links in the same email apart, add a content value such as header-button or footer-link.

    How GA4 uses source and medium

    GA4 sorts every visit into a channel, such as Email, Paid Search or Paid Social, by reading source and medium against fixed rules (Analytics Help: default channel group). Two rules matter most:

    • A medium of email puts the visit in the Email channel.
    • A paid channel needs a paid medium, such as cpc, ppc or anything starting with paid, plus a source GA4 recognizes as a search engine or a social site.

    Make up your own medium and GA4 files the visit in the wrong channel. Paid Facebook clicks tagged with medium facebook-ads count as Organic Social, and a source and medium GA4 doesn’t know land in Unassigned. That’s a common reason paid social traffic goes missing from channel reports.

    Presets for Google Ads and Meta Ads

    Google Ads. With auto-tagging on and Google Ads linked to GA4, you don’t need UTMs for GA4. Add them when a CRM, a form tool or another analytics tool needs to read the source. The preset uses ValueTrack parameters: {campaignid}, {keyword} and {creative}, which Google fills in with the campaign ID, the matched keyword and the ad ID (Google Ads Help: ValueTrack). Put everything after the ? into the Final URL suffix at account or campaign level, so every ad carries it.

    Meta Ads. GA4 doesn’t read Meta’s click ID, so without UTMs a click on a Meta ad looks like an ordinary Facebook or Instagram visit. The preset uses Meta’s dynamic parameters: {{site_source_name}} for the placement’s site, and {{campaign.name}}, {{adset.name}} and {{ad.name}} for your names. Paste the part after the ? into the URL parameters field of each ad (Meta Business Help: URL parameters). Because Meta fills in your campaign names, keep those names lowercase too.

    Email and LinkedIn. Fill in the campaign name yourself. Use the same campaign name across channels for one promotion, so GA4 can show its total.

    A naming convention to copy

    • Lowercase only.
    • Hyphens between words in campaign names: spring-offer, not Spring Offer.
    • One fixed list of sources: google, facebook, instagram, linkedin, newsletter.
    • One fixed list of mediums: cpc, paid_social, email, social, referral.
    • Keep the list in a shared sheet, and build every link from it.

    Common mistakes

    • Tagging internal links. GA4 credits the conversion to your own link instead of the real source.
    • Inventing mediums. Anything outside GA4’s rules lands in the wrong channel or in Unassigned.
    • Mixed case. Facebook and facebook become two rows.
    • Replacing auto-tagging with UTMs on Google Ads. Keep auto-tagging on; UTMs sit on top of it.
    • Tagging links you can’t edit later. Printed QR codes and bios stay live for years. Get the names right before they go out.

    UTMs only help if conversions are tracked too. Our guide to Google Ads conversion tracking covers the other half.

    Rather have it done for you? See our Tracking service.

    FAQ

    Questions about this tool

    Do I need UTMs on Google Ads if auto-tagging is on?

    Not for GA4 attribution: with Google Ads linked to GA4, auto-tagging already reports the campaign. UTMs still help other tools that don't read the gclid, such as a CRM.

    Why keep UTM values lowercase?

    GA4 treats Facebook and facebook as two different sources, so mixed case splits one channel into several rows in your reports.

    What are dynamic parameters like {{campaign.name}}?

    Placeholders that the ad platform fills in when someone clicks. Meta replaces {{campaign.name}} with the campaign's name and Google Ads replaces {campaignid} with its ID, so one tracking template works for every ad.

    Which UTM parameters are required?

    Use utm_source, utm_medium and utm_campaign on every tagged link. utm_term and utm_content are optional: use them for the keyword, the ad or the link within an email.

    Should I put UTMs on links within my own website?

    No. GA4 reads a UTM on an internal link as a new traffic source, so a sale from a Google Ads visitor gets credited to your own banner. Use UTMs only on links that lead to your site from elsewhere.

    Privacy

    Cookie settings