Search tools

UTM Link Builder

Add campaign tags to any link so Google Analytics shows exactly which email, ad or post brought each visitor.

UTM Link Builder tool

    Processing runs in your browser.

    When traffic arrives from a newsletter, a paid social ad or a QR code on a flyer, analytics tools often can’t tell where it came from. Email apps and many mobile apps don’t pass a referrer, so those visits show as “direct” or “unassigned”. UTM parameters fix that by putting the answer in the link itself.

    A worked example

    Say you are sending a spring sale email. Fill in:

    • Source: newsletter
    • Medium: email
    • Campaign: Spring Sale 2026

    You get:

    https://www.example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale-2026

    In GA4, visits from that link appear under Session source “newsletter”, Session medium “email”, and in the Email channel. If the email has a button and a text link to the same page, add utm_content=header-button and utm_content=footer-link to see which one people click.

    Keep a naming convention

    UTM tracking only works if everyone tags links the same way. Agree on a short list of mediums that GA4 understands, such as email, cpc, social, paid_social, display, affiliate and referral, and always use lowercase. The builder warns you when a medium falls outside GA4’s default channel rules, because those visits would land in “Unassigned”.

    Shorten for print

    Long tagged URLs look messy in print or on social posts. Use a link shortener or a QR code. The tags still work, because they are part of the address the short link leads to.

    How to use the UTM Link Builder

    1. Paste the page URL people should land on.
    2. Fill in Source, Medium and Campaign. Suggestions appear as you type.
    3. Optionally add Content to tell apart two links in the same email or ad.
    4. Keep Lowercase values on so reports don’t split by capital letters.
    5. Click Copy link.

    Features

    • Supports utm_source, utm_medium, utm_campaign, utm_content, utm_term and utm_id.
    • Keeps existing query parameters and replaces old UTM values.
    • Lowercases values and turns spaces into dashes, underscores or %20.
    • Warns when a medium won’t match a GA4 default channel group.
    • Shows the GA4 dimension each value appears under.

    Frequently asked questions

    Which UTM parameters are required?

    utm_source, utm_medium and utm_campaign. Analytics tools can work with fewer, but these three answer where the visit came from, what kind of channel it was and which promotion it belongs to.

    What is the difference between source and medium?

    Source is the specific site or sender, such as newsletter, facebook or google. Medium is the type of channel, such as email, social or cpc. Together they make reports like “facebook / paid_social”.

    Should I use UTM tags on internal links?

    No. A UTM tag on a link between your own pages starts a new session and replaces the visitor’s real source, which skews your reports. Use them only on links from outside your site.

    Are UTM values case-sensitive?

    Yes. Facebook, facebook and FACEBOOK show as three different sources in GA4. Stick to lowercase everywhere.

    Written by