SEO · Campaign Tracking

UTM link builder.

Add campaign tags to any URL, and catch the naming slips that split one campaign into several rows in your reports: capital letters, spaces and mediums that are not on your list.

Source: Google Analytics Help Checked 2026-09-30 · nothing leaves your browser

Advertisement

Inputs

Presets fill example values you should change. They are naming suggestions, not platform requirements.
Who sends the traffic: google, newsletter4, billboard.
The marketing medium: cpc, banner, email.
The campaign name, slogan or promo code.
Paid search keyword, if you tag keywords by hand.
Tells apart links in the same ad or email.
Separate with spaces or commas. A medium outside this list gets a warning. Clear it to turn the check off.

Campaign URL

Enter a URL and the three required tags, then press Build link.

Session history

No links built yet.

History stays in this browser only (local storage). Clear it any time.

Advertisement

How campaign URL tags work

A UTM link is your normal URL plus a query string. Google Analytics Help lists utm_source (the referrer), utm_medium (the marketing medium) and utm_campaign (product, slogan or promo code) alongside utm_term (paid keyword), utm_content (to tell apart creatives, such as two links in one email) and several newer parameters. This builder treats source, medium and campaign as required, because links without them are hard to read in reports, and term and content as optional.

Worked example. Linking https://www.example.com/ from a summer newsletter, with source summer-mailer, medium email and campaign summer-sale, gives https://www.example.com/?utm_source=summer-mailer&utm_medium=email&utm_campaign=summer-sale. That is the example in Google's own help page, and this tool produces it exactly. A #fragment stays at the end and any query string already on the URL is kept.

Why the checks matter. Google states that Analytics is case sensitive, so utm_source=google and utm_source=Google are different values. Spaces turn into %20, which is hard to read in reports. The warnings here (capitals, spaces, odd characters, a medium outside your allowed list) are naming conventions this tool applies for consistency. They are not rules published by Google, and the default medium list is only a starting point you should replace with your own.

Campaign tags are for links you place elsewhere (email, ads, social posts, print), so that reports show which campaigns refer traffic to your site. Avoid tagging links between your own pages.

Source

What each UTM parameter is for

The table follows the parameter list in Google Analytics Help. This builder generates the first six rows; the remaining parameters are optional additions you can append by hand if your reporting uses them.

UTM parameters listed in Google Analytics Help
ParameterWhat Google says it isIn this builder
utm_sourceReferrer, for example google, newsletter4, billboardRequired
utm_mediumMarketing medium, for example cpc, banner, emailRequired
utm_campaignProduct, slogan or promo code, for example spring_saleRequired
utm_termPaid keywordOptional
utm_contentDifferentiates creatives, such as two call-to-action links in one emailOptional
utm_idCampaign ID, matching the IDs used when uploading campaign dataNot generated
utm_source_platformThe platform directing traffic, such as a buying platformNot generated
utm_creative_format, utm_marketing_tacticCreative type and targeting criteria; Google notes these are not currently reported in Google Analytics propertiesNot generated

Naming rules that keep reports clean

Google's UTM best practices come down to one idea: every distinct thing gets exactly one name, spelled the same way every time. It recommends one unique utm_source per platform, one utm_medium per channel (its examples are paid_social and organic_search), one campaign name that matches the exact campaign name, and a strict case-sensitive convention with lowercase as the standard. Its own example is that SpringSale and Spring_Sale are treated as distinct values, as are Meta and meta. When values drift like that, one campaign splits into several report rows and nobody sums them.

A practical way to apply this is a one-page naming sheet kept next to the allowed-medium box in this tool: list your sources (newsletter, partner names), your mediums (email, cpc, social, qr), and the pattern for campaign names (for example season_offer_year). The medium check in the builder then warns when someone types a value that is not on the list. Because the list is yours, the warning is a team convention and not a Google rule.

Worked examples

Newsletter link

Page URL https://www.example.com/pricing/, source newsletter, medium email, campaign spring_sale, content header_button produces https://www.example.com/pricing/?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale&utm_content=header_button. A second link in the same email would use utm_content=footer_link, which is exactly the use Google describes for telling two links in one message apart.

Printed poster with a QR code

For a poster, use a source that names the placement (poster_union_station), a medium that groups all print (qr) and the same campaign name you use online. Reports then show all print under one medium while still separating each placement.

A link that already has a query string

If the page URL is https://www.example.com/shop/?color=red#reviews, the builder keeps color=red, appends the UTM tags after it with an ampersand, and leaves #reviews at the end. In a URL the query string comes before the fragment, as RFC 3986 defines, so a tag placed after the fragment is not sent to the server.

Where the data shows up

Google's help page says that when a user clicks a link carrying these parameters, they are sent to Analytics and the values are visible in the Traffic acquisition report. It also notes that UTM parameters are omitted from the Landing page + query string and Page path + query string dimensions and are shown in the Page location dimension instead, so do not be alarmed if you look for them in the wrong report.

Common mistakes

What this builder does not do

It assembles and checks a URL; it does not shorten links, create QR codes, confirm a campaign exists in any ad platform, or check that your analytics property records the visit. For a short link or QR code, build the tagged URL here first, then shorten it. To tidy values before you paste them, the URL Slug Generator makes clean hyphenated text and the Case Converter lowercases a list. To see how the tagged page looks when shared, use the Social Preview Checker.

Frequently asked questions

Are all five parameters needed?

No. This builder needs source, medium and campaign; term and content are optional. Google's help page also lists extra optional parameters such as utm_id that this tool does not generate.

Does Google Ads need these tags?

This tool does not make a claim either way. The Google Ads preset is for links you tag by hand; check Google Ads Help for how your account handles tagging.

Is my history uploaded?

No. Links are built in your browser and the history is kept in local storage on this device until you clear it.

What should I use for utm_source and utm_medium?

Use source for who or where the traffic comes from (newsletter, a partner name, a platform) and medium for the type of channel (email, cpc, social, qr). Google's examples include google, newsletter4 and billboard for source, and cpc, banner and email for medium. The exact words matter less than using the same ones every time.

Are UTM values case sensitive?

Yes. Google's Analytics Help says to maintain a strict, case-sensitive naming convention and to use lowercase as a standard practice, because values such as Meta and meta are treated as different, and SpringSale and Spring_Sale are distinct.

Does the order of the UTM parameters matter?

No. Google's help page says you can add parameters to a URL in any order. A fixed order such as source, medium, campaign, term, content still makes links easier to read and compare, which is the order this builder uses.

Should I put UTM tags on links to my own pages?

Generally no. Campaign tags are meant for links placed outside your site, such as email, ads, social posts and print, so that reports show which campaigns refer traffic. For clicks between your own pages, use analytics events rather than campaign parameters.

Sources

Each source was opened and checked against the statements above in October 2026. Standards and vendor documentation change; follow the links for the current text.

Scope of this builder

This tool only assembles and checks a URL. It does not confirm that a campaign exists in any ad platform or that your analytics property will record it.

Advertisement