UTM Builder

Enter the page address and the traffic source: the UTM builder creates a campaign link for an ad, a newsletter or a social post. Below — what each parameter means and how to name it.

  • Free
  • No sign-up
  • Runs in your browser
The Elbuz robot with a magnifying glass looks at a city map with location pins

UTM builder

What UTM parameters mean in a link

UTM parameters are tags added to the end of a link that tell your analytics where a visitor came from: which ad, newsletter or post. The page opens as usual, and Google Analytics assigns the visit to the right source and campaign.

Example: https://yourstore.com/running-shoes?utm_source=facebook&utm_medium=cpc&utm_campaign=black_friday — a click on a Facebook ad from the “black_friday” campaign. Without the parameters, such a visit often blends in with other social traffic in your reports, and campaigns cannot be compared. How much a new customer from a campaign may cost: customer acquisition cost; planning a Google Ads budget: Google Ads costs.

UTM parameters: source, medium, campaign and more

ParameterMeaningExample
utm_sourcesource: the site, service or newsletter the click comes fromgoogle, facebook, newsletter
utm_mediummedium: the type of trafficcpc, email, social, referral
utm_campaigncampaign: promotion, product, coupon codeblack_friday, spring_sale
utm_termpaid search keywordmens_running_shoes
utm_contentad or button variant, to compare themred_banner, top_button
utm_idcampaign ID — used to import cost data into Google Analyticsbf2026

For reports, utm_source, utm_medium and utm_campaign matter most: if they are missing, Google Analytics shows “(not set)”. The order of the parameters in the link does not matter.

UTM parameters for Google Analytics 4: utm_medium values

utm_mediumChannel in Google Analytics 4
cpc, ppc, paid…Paid Search or Paid Social — depending on utm_source
emailEmail
socialOrganic Social — unpaid posts on social networks
referralReferral — links from other websites
affiliateAffiliates — partner programs
smsSMS
display, banner, cpmDisplay — banner ads

GA4 assigns the channel by its own rules from the source + medium pair. With a made-up medium, the visit ends up in the wrong channel or in “Unassigned”, so use the values from the table.

UTM link examples

Where the link goesutm_sourceutm_mediumutm_campaign
Google Adsgooglecpccampaign name
Facebook or Instagram adfacebook / instagramcpcblack_friday
Newsletternewsletteremailnew_arrivals_october
Instagram postinstagramsocialpost_1029
Text messagesmssmscart_reminder

For flyers or package inserts, turn the finished link into a QR code — visits from it show up as a separate campaign.

UTM naming rules: lowercase, no spaces

  • Lowercase only: Google Analytics counts “Google” and “google” as two different sources.
  • No spaces or accented letters: they turn into long codes such as %20 or %C3%A9 in the link. Use _ or a hyphen instead of spaces — spring_sale.
  • One value per source: do not mix fb, facebook and Facebook.
  • Write down a naming convention for the team: who names which campaign and how.

The builder’s lowercase option converts the values to this form automatically: lowercase letters, spaces replaced with “_”.

How to check that UTM parameters work

Open the finished link: the page must load normally, and the parameters must stay in the address bar. In Google Analytics 4 you see the visit in the Realtime report, and later in the acquisition reports under the “Session source / medium” and “Session campaign” dimensions.

If the parameters disappear from the address after the page opens, the site redirected to another address without them. Open the page, copy the final address from the address bar and add the parameters to that one.

How to remove UTM parameters from a link

For a clean address, delete everything from ?utm_ to the end of the link (or up to # if the address has an anchor). If other parameters come before the UTM tags — for example ?sort=price&utm_source=… — delete only the part from &utm_: the page needs the other parameters. The builder always adds UTM parameters after existing ones, so they are easy to find and remove.

Build UTM links in Excel or Google Sheets

For dozens of links a spreadsheet is handy: the address in column A, source, medium and campaign in B, C and D. The formula: =A2&"?utm_source="&B2&"&utm_medium="&C2&"&utm_campaign="&ENCODEURL(D2). ENCODEURL encodes spaces and special characters and works the same way in Google Sheets. If the address already contains ?, replace it in the formula with &.

ENCODEURL is not available in Excel for the web or Excel for Mac. Source: Microsoft Support, “ENCODEURL function”, checked 18 November 2026.

UTM campaigns in Elbuz chat analytics

On a website with the Elbuz smart AI chat, chat analytics shows UTM campaigns in a separate table: source, medium and campaign, how many visitors came, how many of them wrote in the chat and how long they stayed on the page. The table can be exported to CSV — AI chat for your store website.

Use the same UTM links in email and SMS campaigns — email and SMS marketing in Elbuz.

Common mistakes

  • UTM parameters on internal links of your own site: every click overwrites the source of the visit, and the ad “loses” its sales.
  • Different spelling — Facebook and facebook become two sources in the report.
  • Missing utm_medium or utm_campaign — the report shows “(not set)”.
  • A made-up utm_medium such as fb_ads — the visit lands in the wrong channel or in “Unassigned”.
  • A second ? in a link that already has parameters: the correct separator is &. The builder handles this for you.

Did you know?

  1. UTM parameter values are case sensitive: utm_source=google and utm_source=Google are different sources.

    Source: Google Analytics Help, “URL builders: Collect campaign data with custom URLs”, checked 18 November 2026
  2. Google strongly recommends setting utm_source, utm_medium, utm_campaign, utm_id and utm_source_platform; missing parameters show up as “(not set)” in reports.

    Source: Google Analytics Help, “URL builders: Collect campaign data with custom URLs”, checked 18 November 2026
  3. You can add UTM parameters to a URL in any order.

    Source: Google Analytics Help, “URL builders: Collect campaign data with custom URLs”, checked 18 November 2026
  4. GA4 puts a visit into the Email channel when the source or the medium is email, e-mail, e_mail or “e mail”.

    Source: Google Analytics Help, “Default channel group”, checked 18 November 2026
  5. GA4 counts a visit as Paid Social when the source is a social network and the medium contains “cp”, equals ppc or retargeting, or starts with paid.

    Source: Google Analytics Help, “Default channel group”, checked 18 November 2026

Frequently asked questions

What is a UTM link?

A regular link with tags added at the end that tell your analytics where a visitor came from: utm_source — source, utm_medium — medium, utm_campaign — campaign. The page itself stays the same.

How do I create a UTM link?

Paste the page address into the builder and fill in utm_source, utm_medium and utm_campaign: the finished link appears right away and can be copied.

What is UTM source?

The source of the click — a website, a service or a newsletter: google, facebook, newsletter. Write it in lowercase and the same way in every campaign.

What UTM parameters are there?

utm_source, utm_medium and utm_campaign are the main ones; utm_term and utm_content are for keywords and ad variants; utm_id is the campaign ID for data import.

What values can utm_medium have?

Use values that Google Analytics 4 recognizes as channels: cpc, email, social, referral, affiliate, sms, display. With a made-up value the visit lands in the wrong channel or in “Unassigned”.

How do I create a tracking link for Google Analytics 4?

Build the link with utm_source, utm_medium and utm_campaign, open it once and check the GA4 Realtime report: the visit should appear with its source and campaign.

Are UTM parameters case sensitive?

Yes. Google Analytics treats utm_source=google and utm_source=Google as different sources, so keep all values in lowercase.

How do I make a QR code with UTM parameters?

Build the link in the UTM builder, copy it and paste it into the QR code generator — visits from flyers or stickers show up as a separate campaign.

Try Elbuz free