Skip to content

UTM link builder

A UTM link is your web address with a few tags on the end. The tags tell Google Analytics where each visitor came from: which ad, post or email they clicked. Paste the page you want people to land on, pick where the link is going, and copy the tagged link. It is built in your browser, so what you type stays on your device.

  • Free to use
  • No login
  • Runs in your browser

Build your tagged link

Paste the page address, pick a preset or fill in the source, medium and campaign, then copy the link into your ad, post or email.

Where will you share the link?

Pick one to fill in the source and medium, or type your own values below.

The page people land on when they click. Paste it from your browser, query string and all.

Campaign details

Where the visitor came from: the site, platform or list that sent them, such as google, facebook or newsletter.

The kind of marketing: cpc for paid search, paid_social for social ads, email for email. GA4 uses it to sort visits into channels.

The promotion, product or offer this link is for, such as winter_sale. Use the same name on every link in the campaign.

An optional code for the campaign, if you track campaigns by ID or import cost data into GA4. It is kept exactly as you type it, capitals and all, so it matches your other data.

The paid keyword the ad ran on. Mostly for search ads; leave it blank elsewhere.

Tells apart links that share a campaign, such as two buttons in one email or two versions of an ad.

Your tagged link

Paste the page address to start.

Prints the tool as you filled it in, with the notes below.

How to use the builder

  1. 1. Paste the page address

    Use the page you want people to land on, such as your booking page or a special offer, not just your home page. If you leave off https://, the builder adds it.

  2. 2. Pick where the link is going

    Choose Google Ads, Meta ads, email or a Google Business Profile post. The preset fills in the source and medium for you. You can change any value it sets.

  3. 3. Name the campaign

    Give the promotion a short name, such as winter_sale or new_website. Use the same name on every link that belongs to it, so the visits add up in one row.

  4. 4. Copy the link and use it

    Paste the tagged link into your ad, post or email in place of the plain address. Make a new link for each place you share it, so you can compare them later.

What each UTM tag means

The builder fills in six of the tags Google Analytics reads. Google says to always set the first three, source, medium and campaign, and the builder will not make a link without them. If one is missing, your reports show (not set) where the value should be.

The UTM tags the builder fills in
TagWhat it records
utm_sourceWhere the visitor came from: the site, platform or list that sent them, such as facebook
utm_mediumThe kind of marketing, such as cpc for paid search, paid_social for social ads or email
utm_campaignThe promotion, product or offer the link is for, such as winter_sale
utm_idAn optional campaign code, kept exactly as you type it
utm_termThe paid keyword the ad ran on, mostly for search ads
utm_contentTells apart two links in the same campaign, such as two buttons in one email

Source: URL builders: Collect campaign data with custom URLs, Google Analytics Help.

Keep your names the same every time

Google Analytics treats tag values as case sensitive, so Facebook and facebook land in two different rows. Spaces cause the same mess, because one person types "winter sale" and another types "winter_sale". The builder tidies values to lower case with underscores by default, which keeps one spelling for each value.

It also helps to agree on a short list of names before a campaign starts. Write down the sources and mediums you use, and share the list with anyone else who makes links for the business, such as whoever sends your newsletter. A tidy list now saves you adding up split rows in your reports later.

Which channel your visits land in

Google Analytics sorts every visit into a channel, such as Paid Search or Email. For a link you tag yourself, it uses the source and medium on the link. The presets use values that usually put each visit in the right channel under Google's default rules:

  • Google Ads search ads you tag yourself: source google and medium cpc usually land under Paid Search. With Google Ads auto-tagging on, Google Analytics takes the source, medium and channel from Google Ads instead. Your term and content tags still show, as manual term and manual ad content.
  • Meta ads: source facebook and medium paid_social usually land under Paid Social. Change the source to instagram for Instagram-only ads.
  • Email: medium email usually lands under Email.
  • Google Business Profile post: source google and medium organic usually land under Organic Search. The campaign name gbp_post keeps these visits apart from other Google visits. See the Google Business Profile guide for what to post.

The channel rules ignore capital letters, but the values themselves do not. So a mixed-case source can still sit in the right channel while splitting into two rows everywhere else.

Where to see the results

In Google Analytics, open Reports, then Acquisition, then Traffic acquisition. Switch the table to Session source / medium to see where visits came from, or to Session campaign to compare your campaigns side by side. For auto-tagged Google Ads clicks, the source and medium come from Google Ads, not from your tags. The tags do not show in the page path reports: Google leaves them out of the page address there, so use the acquisition reports instead. If Google Analytics isn’t set up on your site yet, our GA4 guide walks through it.

Visits are only half the story. To see which campaigns bring calls, bookings or enquiries, set up conversion tracking too. Our guide to conversion tracking walks through it. Google Analytics then reports the conversions you set up against the same campaign names. If you manage several tracking tags, Google Tag Manager keeps them in one place.

Fair questions

Is the UTM builder free?

Yes. There is no login and no sign-up. The link is built in your browser, so you can use it as often as you like.

Which fields do I have to fill in?

The page address, source, medium and campaign. Google says to always set those three tags. The campaign ID, term and content are optional, so leave them blank unless you need them.

Why does one campaign show up twice in my reports?

Usually because the same value was typed two ways, such as Facebook and facebook. Tag values are case sensitive. Keep tidying switched on and use the same spelling on every link.

What if my link already has UTM tags on it?

The builder replaces the six tags it fills in with the values you enter, and removes any of those six you leave blank. It tells you when it does. Other tags, such as utm_source_platform, and any other part of the address, such as a page anchor, stay as they were.

Get your free marketing check-up

Our Search & AI Visibility Audit, made simple. We check how easy you are to find, then show you what to fix first.

  • Your Google listing and Maps ranking
  • How your website works on a phone
  • Your ads, if you run any
  • What AI says when someone asks about a business like yours

Start here

Step 1 of 2

We use your details to run your check-up and reply to you. See our privacy notice.