Free & unlimited

UTM Builder: Campaign URL Generator

Generate properly tagged campaign links in seconds. Our most-used tool.

Google Analytics treats UTM values as case sensitive (Email and email are different values) and recommends lowercase.

What UTM parameters do

A UTM parameter is a labeled tag added to the end of a link. When someone clicks that link and lands on your site, your analytics tool reads the tags and records them against the visit. Without tags, a click from your email newsletter, a partner's blog and a social post can all collapse into vague buckets like “direct” or “referral”. With tags, you can open a report and see that the spring-launch email brought 412 sessions and the partner post brought 38, then follow each group through to sign-ups or purchases.

Google Analytics 4 reads these parameters from the landing page URL and places them in its traffic-source reports: utm_source becomes Source, utm_medium becomes Medium and utm_campaign becomes Campaign. This UTM builder (also called a UTM URL generator or UTM link creator) assembles the link in your browser, so the URLs you type are not sent anywhere while you work.

How to use the builder

1Paste the full landing page URL, including https://. If it already has a query string (for example ?plan=pro), that is fine; the tags are appended with &.
2Enter a Source: the specific place the link will live, such as newsletter, linkedin or partner-acme.
3Enter a Medium: the channel category, such as email, social, cpc or referral. Keep this list short.
4Enter a Campaign name that you will recognize in a report three months from now, such as spring-launch.
5Only if it helps, add Term (the paid keyword) and Content (a label for this particular creative or link position).
6Copy the result and use it exactly as generated. Build one link per placement; do not reuse a single tagged link across channels.

Annotated example

Here is a complete tagged link, then each piece explained.

https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring-launch&utm_term=utm-builder&utm_content=header-cta
Each part of the example URL
PartMeaningNeeded?What it does
https://example.com/pricingBase URLRequiredThe landing page. Not a UTM parameter.
utm_source=newsletterSourceRequiredWhere the click came from: a site, a list, a platform. Reported as Source in GA4.
utm_medium=emailMediumRequiredThe channel type, such as email, cpc, social or referral. Reported as Medium in GA4.
utm_campaign=spring-launchCampaignRequiredThe promotion or initiative the link belongs to. Reported as Campaign in GA4.
utm_term=utm-builderTermOptionalThe paid keyword. Feeds the manual term dimensions in GA4.
utm_content=header-ctaContentOptionalTells apart creatives or link positions that share a campaign. Feeds manual ad content.

The ? starts the parameters, each one is a name=value pair, and pairs are joined with &. Order does not matter. Google's documentation says to always include source, medium and campaign; if one is missing, that dimension shows as “(not set)” in your reports. Google also lists utm_id and utm_source_platform as recommended extras for linking with imported campaign data. This builder covers the five standard parameters (source, medium, campaign, term and content) and does not add those two extras.

Naming conventions that keep reports clean

The tool will happily build whatever you type; the discipline has to come from you. Google states that parameter values are case sensitive: utm_source=google and utm_source=Google are different values. That one rule causes most messy reports. A short written convention, shared with everyone who builds links, fixes it.

  • Use lowercase for everything.
  • Choose a separator and stick to it. Hyphens (spring-launch) read cleanly and survive copy and paste; underscores work too. Mixing them splits one campaign into two.
  • Keep a fixed vocabulary for medium (for example email, social, cpc, referral, affiliate) and a per-platform list for source. Add a new value only when none of the existing ones fits.
  • Put dates or versions in the campaign name only if you will want to compare them later, such as 2026-q2.
  • Avoid spaces and special characters. They get percent-encoded and make links harder to audit.
  • Keep personal data out entirely: no email addresses, names, phone numbers or customer IDs. URLs end up in browser history, server logs, referrer headers and shared screenshots.
Inconsistent values versus a clean convention
AvoidUseWhy
Newsletter, newsletter, NewsLetternewsletterValues are case sensitive, so the first three show up as three separate rows.
Spring Sale 2026spring-sale-2026Spaces become %20 or + in the URL, which is ugly in reports and easy to mangle.
fb, Facebook, facebook.comfacebookPick one name per platform and keep it forever.
email / e-mail / EmailemailSame medium, three spellings, three rows.
campaign=jane.doe@acme.comcampaign=spring-launchNever put names, emails or IDs of real people in a URL. See the FAQ below.

If naming is the part you dread, the Campaign Name Generator produces consistent campaign names you can paste straight into the builder, and the UTM tracking setup guide walks through writing the convention document and a tracking spreadsheet.

When to use term and content

Most links only need the three required tags. utm_term was designed for paid search keywords, so it earns its place when you build links by hand for keyword-level reporting. In practice, platforms such as Google Ads can pass keywords for you, so many teams leave it blank.

utm_content is the more useful of the two. It separates links that share a source, medium and campaign. Say your launch email has a button near the top and a text link in the footer: tag them utm_content=header-button and utm_content=footer-link and you can see which position drives clicks. The same works for A/B tests of banner images or ad copy: utm_content=headline-a versus headline-b. Change only one thing between variants, or you will not know what made the difference.

Common mistakes

  • Tagging internal links. UTM tags on links between your own pages record that click under your internal campaign values instead of the channel that originally brought the visitor, which muddies your acquisition reports. Use tags only on links that bring people to your site from elsewhere.
  • Mixed capitalization. See the table above. Audit existing links before adding to them.
  • Putting parameters after a # fragment. Everything after # belongs to the fragment, which browsers do not send to the server. The tags must come before it: /page?utm_source=x#section, never /page#section?utm_source=x.
  • Redirects that drop the query string. If the link bounces through a redirect or a link shortener that does not carry parameters over, the tags never reach the landing page. Click your finished link and check the address bar on arrival.
  • Clashing with Google Ads auto-tagging. Auto-tagging adds a gclid to ad clicks. Google's documentation says Analytics uses the auto-tagged values for source, medium and similar dimensions when both are present, and that mixing manual and auto-tagging can cause discrepancies. For Google Ads traffic, leave auto-tagging on and do not hand-tag the same links with a different source and medium.
  • Tagging links you want counted as organic or direct. A tagged link is attributed to whatever you wrote, so tagging a link to your homepage in your own Google Business Profile or an unpaid post will move that traffic out of organic search and into your custom source. Tag deliberately.

Related tools

Printing a tagged link on a flyer or poster? Turn it into a scannable code with the UTM QR Code Generator. Once traffic is tagged and you have spend numbers, the ROAS Calculator turns campaign revenue and cost into a return figure.

FAQ

Which UTM parameters are required?
Google's guidance is to always use utm_source, utm_medium and utm_campaign. Term and content are optional. If a required one is missing, that dimension appears as (not set) in GA4 reports.
Do UTM parameters hurt SEO or create duplicate pages?
A tagged URL is a different address for the same page, so it can show up as a duplicate. The usual way to handle duplicate variants is a rel=canonical link pointing at one preferred version, so declare a canonical URL without the parameters on the page. Avoid tagging internal links, which would also spread tagged URLs around your own site.
Are UTM values case sensitive in GA4?
Yes. Google's documentation states that parameter values are case sensitive, so utm_source=Google and utm_source=google are reported as different values. Pick lowercase and stick to it.
Can I use UTMs on links to my own site, such as a banner on another page?
You can, but you should not. Tagging a link between your own pages attributes that click to your internal campaign values rather than the channel that brought the visitor in, which makes your acquisition reports less accurate. Use an event, a click ID or a distinct URL path to measure internal promotions instead.
What if my ads are already auto-tagged with gclid?
Keep auto-tagging on for Google Ads. Google's help says Analytics prefers auto-tagged values for source and medium when both exist, and that mixing the two can produce mismatched data. Use UTM tags for channels Google does not tag for you, such as email, social and partner links.
Is it safe to include a user's email or name in a UTM value?
No. UTM values travel in the URL, which is stored in browser history, server logs and referrer data, so anything personal in it can spread far beyond your analytics. Use an anonymous list or segment name, like newsletter-segment-b, instead.

Sources

  1. Google “Collect campaign data with custom URLs.” Analytics Help. support.google.com/analytics/answer/10917952 — Source, medium and campaign are the parameters to always use; term and content are optional; values are case sensitive and lowercase is recommended.
  2. Google “Traffic-source dimensions, manual tagging, and auto-tagging.” Analytics Help. support.google.com/analytics/answer/11242870 — How manual tags and auto-tagging interact in Analytics.
  3. Google “About auto-tagging.” Google Ads Help. support.google.com/google-ads/answer/3095550 — Auto-tagging adds a gclid to ad clicks.

Last reviewed: October 2026