Home / Blog / How to create UTM links

How to create UTM links (step-by-step)

Add UTM parameters to any URL in five minutes — with a builder or by hand — and get clean campaign data in GA4.

A UTM link is a normal URL with a few extra tags at the end that tell Google Analytics where the click came from. You don't need code, a plugin or a paid tool to create one — just the page you want to send people to and five minutes to decide how you'll name things. This guide shows how to create UTM links step by step, how to add UTM parameters to a URL by hand, and how to avoid the mistakes that quietly break your reports.

What a UTM link looks like

Here is a finished UTM link for a spring newsletter:

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

Everything before the ? is your normal page address. Everything after it is a set of key=value pairs joined with &. The page loads exactly the same — the tags are only read by your analytics. If any of the five parameters are new to you, start with What are UTM parameters? and come back.

How to create a UTM link in 5 steps

1. Start with the exact landing page

Open the page you want people to land on and copy its final URL from the browser bar. Use the real destination, not a redirect or a shortened link — some redirects drop query parameters and your UTM tags disappear before analytics ever sees them (here's why).

2. Decide source, medium and campaign

These three answer the questions every report asks:

  • utm_source — who sent the click: newsletter, facebook, linkedin, google.
  • utm_medium — what kind of channel: email, paid_social, cpc, qr.
  • utm_campaign — which initiative: spring_sale_2026.

Add utm_content when you need to tell two links in the same campaign apart (a header button and a footer link, ad A and ad B). Add utm_term only if you have a real keyword or targeting value to record.

3. Fill in a UTM builder

Paste the URL into a UTM builder and fill the fields. A builder does the boring parts for you: it adds the ? and & in the right places, encodes spaces and special characters, and lowercases values so Facebook and facebook don't end up as two rows in GA4.

BestUTM campaign URL builder with website URL, source newsletter, medium email, campaign spring_sale_2026 and content hero_button filled in
Fill the URL plus source, medium and campaign. Presets fill common source/medium pairs in one click.

4. Copy the generated link

The tagged link updates as you type. Check that it reads the way you expect, then copy it. If the link will be printed or shown on a screen, download the QR code from the same panel so the QR and the link carry identical tags.

Generated UTM link with copy button and QR code in the BestUTM builder
The generated UTM link, ready to copy — with a matching QR code for print and offline.

5. Test it before you publish

Open the link in a private window and confirm the page loads and the UTM tags are still in the address bar after any redirects. Then open GA4's Realtime report and look for your source and medium. For a quick sanity check without opening analytics, paste the link into the UTM checker — it flags capital letters, spaces, typos in parameter names and missing fields.

How to add UTM parameters to a URL manually

You can also type UTM tags by hand. The rules are short but strict:

  1. If the URL has no ? yet, add ? and then your first parameter: /pricing?utm_source=linkedin.
  2. If the URL already has a ? (for example /shop?color=blue), join your tags with & instead: /shop?color=blue&utm_source=linkedin.
  3. Separate every following parameter with &.
  4. Put UTM tags before any #anchor — anything after # is never sent to analytics.
  5. Replace spaces with underscores or hyphens, and keep values lowercase.
https://www.example.com/pricing?utm_source=linkedin&utm_medium=paid_social&utm_campaign=q4_demo#plans

Manual tagging works for a single link, but it's where most typos come from — utm_souce, a stray space, a second ?. For anything more than one or two links, a builder is faster and safer.

Creating many UTM links at once

Launching one campaign across several pages or channels? Use the bulk UTM builder to tag a whole list of URLs (or a CSV) with the same source, medium and campaign in one go, or the campaign matrix to generate every channel × variation combination. Both apply the same clean-up rules as the single builder, so the whole set stays consistent.

Real examples

  • Email newsletter: utm_source=newsletter&utm_medium=email&utm_campaign=nov_digest_2026
  • Paid Facebook / Instagram ad: utm_source=facebook&utm_medium=paid_social&utm_campaign=black_friday_2026&utm_content=video_a
  • LinkedIn post: utm_source=linkedin&utm_medium=social&utm_campaign=webinar_q4
  • QR code on a flyer: utm_source=flyer&utm_medium=qr&utm_campaign=store_opening

Platform-specific patterns are covered in Meta Ads, LinkedIn, Google Ads and newsletter examples.

Common mistakes when creating UTM links

  • Mixed capitalisation — Email and email become two mediums.
  • Tagging internal links — UTMs on links inside your own site overwrite the real source (why).
  • Inventing new values every time — agree on a short list and write it down.
  • Forgetting the medium — without it GA4 can't place the visit in the right channel group.

For the full list, see our UTM best practices checklist.

FAQ

Which UTM parameters are required?

Technically none, but always set utm_source, utm_medium and utm_campaign. GA4 needs source and medium to assign a channel, and campaign lets you group results.

Do UTM links work with GA4?

Yes. GA4 reads standard UTM tags automatically — no setup needed. Tagged visits appear under Acquisition → Traffic acquisition. More in UTM parameters in GA4.

Can I shorten a UTM link?

Yes. Build the full UTM link first, then shorten it. The shortener redirects to the full URL with the tags intact — just test it once to make sure they survive the redirect.

Do UTM parameters affect SEO?

Not when used on external links (ads, emails, social posts). Avoid them on internal links and in your sitemap, and keep a canonical tag on your pages.

Ready to try it? Open the free UTM builder — your first tagged link takes about ten seconds.

Back to all articles