Skip to content
epitometool

UTM link builder

SEO & Dev publishing

Build Google Analytics campaign URLs with utm_source, utm_medium, and utm_campaign tags — correctly encoded and existing query strings preserved.

Updated

Destination URL

UTM parameters

Tagged URL

Quick start

How to use the UTM link builder

Enter a URL and campaign fields, copy the tagged link — nothing leaves your browser.

  1. Step 1
    Enter the destination

    Paste the landing-page URL you want clicks to reach.

  2. Step 2
    Fill in UTM fields

    Add source, medium, and campaign (required) plus optional term and content.

  3. Step 3
    Copy the link

    Copy the assembled, correctly-encoded campaign URL.

In-depth guide

Building campaign URLs with UTM parameters

UTM parameters are the standard way to tell analytics where your traffic comes from. Tag a link once and every click is attributed to the right source, medium, and campaign in Google Analytics and most other tools. This builder assembles a correctly-encoded campaign URL in your browser, preserving any query string the destination already has.

The five UTM parameters

  • utm_source — where the traffic originates: newsletter, google, twitter.
  • utm_medium — the channel type: email, cpc, social.
  • utm_campaign — the specific promotion: spring_sale, launch.
  • utm_term — paid-search keyword (optional).
  • utm_content — distinguishes creatives or A/B variants (optional).

When to tag a link

Tag any link where you want to measure the channel separately from organic traffic:

  • Email campaigns — so newsletter clicks do not show up as "direct".
  • Paid ads — to compare networks and creatives.
  • Social posts and partnerships — to attribute referral traffic precisely.

Do not tag internal links between pages of your own site — it overwrites the original source and corrupts your attribution.

Step by step

  1. Paste the destination URL — the page you want people to land on.
  2. Fill in source, medium, and campaign (the required trio); add term and content if relevant.
  3. Read the tagged URL; the builder warns if a core parameter is still empty.
  4. Copy it and use it in your email, ad, or post.

Common pitfalls

UTM values are visible in the URL bar and analytics — never put anything sensitive or personally identifying in them.

  • Inconsistent casing. Email and email are counted separately — pick one casing and stick to it.
  • Tagging internal links. This resets the visitor's original source; only tag inbound links.
  • Spaces in values. They are percent-encoded automatically, but underscores or hyphens read better in reports.

Privacy and how it runs

The builder assembles the URL with the browser's URL API entirely client-side. No link, value, or keystroke is sent to a server or stored — the tool that builds tracking links does no tracking itself. Everything is discarded when you close the tab.

Frequently asked questions

What are UTM parameters?

UTM parameters are tags appended to a URL's query string — utm_source, utm_medium, utm_campaign, utm_term, and utm_content — that analytics tools like Google Analytics read to attribute traffic to a specific campaign, channel, or ad. They do not change the page; they just travel along so your reports know where a visitor came from.

Which UTM parameters are required?

Google Analytics treats utm_source, utm_medium, and utm_campaign as the core trio — source identifies the referrer (newsletter, google), medium the channel type (email, cpc, social), and campaign the specific promotion. utm_term and utm_content are optional, used for paid keywords and A/B variants respectively. The builder flags the core three if left empty.

Does this tool track me or send data anywhere?

No. The URL is assembled in your browser with the standard URL API — nothing is logged or transmitted. Ironically for a tracking-link builder, the builder itself does no tracking; verify in DevTools → Network.

Will it break an existing query string?

No. The builder uses the URL API's searchParams, so if your destination already has parameters like ?ref=abc, the utm_* tags are added alongside them rather than overwriting them. Existing utm_* values, however, are replaced with what you enter.

Should UTM values be lowercase?

It is strongly recommended. Analytics treats utm_source=Google and utm_source=google as two different sources, fragmenting your reports. Pick a casing convention — lowercase is the usual choice — and apply it consistently across every link.

Are special characters handled correctly?

Yes. The URL API percent-encodes spaces and reserved characters in the parameter values automatically, so a campaign name like "spring sale" becomes spring%20sale and decodes correctly in your analytics tool. Underscores or hyphens are common alternatives to spaces.

Keep exploring

More tools you'll like

Hand-picked utilities that pair well with the one you're on — all free, client-side, and zero-signup.