Skip to content

Rather pay once? Lifetime deals start at $129. See lifetime deals

UTM link builder with QR code

Add UTM tags to any link, copy it, and get a QR code for the tagged link in the same place. It's free, with no signup. It also tells you which hidden fields your form needs to keep the tags with each response.

Quick start

Pick a starting point to fill in the source and medium. Then name your campaign.

Campaign tags

Where the click comes from, like newsletter, facebook or poster.

The kind of channel, like email, social, cpc or qr.

The campaign or promotion, like spring_sale or open_day_2026.

The keyword you paid for, for search ads. Leave it empty otherwise.

Tells two links in the same place apart, like header_button and footer_link.

Clean-up turns capitals into lower case and spaces into underscores when you leave a box. Turn it off if you need the exact text.

Your tagged link

This is a sample tagged link to this page. Paste your own link to start.

Your link never leaves your browser. This page builds the link and the code on your device and uploads nothing.

Hidden field names to add

  • utm_source
  • utm_medium
  • utm_campaign

A QR code for your tagged link

The code below always holds the link you built above. Style it, then download a PNG, an SVG or a PDF for print.

Build a tagged link above to make its code.

Style

Contrast 21:1. Good for scanning.

Error correction lets a phone read a code that is a bit dirty, torn or covered. Higher levels survive more damage but make the code denser. Level L can rebuild about 7% of the code, M about 15%, Q about 25% and H about 30%. M suits most links.

Preview

Sample QR code that opens this page

This is a sample code for the sample link above. Build your own link to make your code.

Your link and logo never leave your browser. This page makes the code on your device and uploads nothing.

Download

The PDF puts the code on one page at the size above, as sharp vector squares that print cleanly at any size.

Print size helper

Print the code at least 5 cm (2 in) wide. Each square will be about 1.1 mm.

This is a common rule of thumb, not part of the QR standard: make the code at least one tenth of the scan distance, and never smaller than 2 cm. The size is the code itself, so add the blank border around it.

Before you print

  • Scan the code and check the tags are still in the address bar.
  • Send one test response or visit and find it in your reports.
  • Print one test copy at the final size.
  • Scan the test copy from where people will stand.

How to build a UTM link and a QR code

It takes about a minute. You need the link people should land on and a name for your campaign.

  1. Paste your link

    Paste the page or form people should land on into the builder. For a form, use the link you share with respondents. The builder warns you about editor links.

  2. Pick a starting point

    Click a preset like Email newsletter or Printed QR code. It fills in the source and medium. You can change both.

  3. Name the campaign

    Type a short campaign name in lower case, like spring_sale. Add a term or content value only if you need it.

  4. Copy the tagged link

    Check the warnings under the link, then click Copy link. Paste it into your email, post or ad.

  5. Make the QR code

    Scroll down to the QR code. It already holds your tagged link. Style it and download a PNG, an SVG or a PDF for print.

  6. Catch the tags in your form

    If the link opens a form, add hidden fields or URL parameters with the same names as your tags. Then send one test response and check the values arrived.

Want a step-by-step guide with a free UTM naming sheet? How to capture UTM parameters in a form (free template)

What each UTM parameter means

UTM tags are plain name and value pairs added to the end of a link. Google Analytics' help says "you should always use utm_source, utm_medium, and utm_campaign." The other two are there when you need them.

What each UTM parameter means
utm_sourceAlways use it?YesWhat it meansWho or what sent the visitor. Google's examples are a search engine, a newsletter and a billboard.Example valuesgoogle, newsletter4, billboard
utm_mediumAlways use it?YesWhat it meansThe kind of channel the link sits in. Google's examples are paid search, a banner and email.Example valuescpc, banner, email
utm_campaignAlways use it?YesWhat it meansThe campaign the link belongs to. Google describes it as a product, slogan or promo code.Example valuesspring_sale
utm_termAlways use it?When it helpsWhat it meansThe keyword you paid for, if the link sits in a search ad.Example valuesrunning_shoes
utm_contentAlways use it?When it helpsWhat it meansTells apart two links that share the rest of their tags, such as two buttons in one email.Example valuesheader_button, footer_link

Google's help also lists utm_id, utm_source_platform and a few more. Add them to the end of the link by hand if your reports use them. One rule matters most: Google says "parameter values are case sensitive", so utm_source=google and utm_source=Google count as two sources.

Keep the tags with each form response

A tagged link tells your analytics where a visit came from. To keep the tags next to the answers, the form itself has to catch them. Here's how that works in a few form tools.

  • HornetForms

    Add hidden fields named utm_source, utm_medium and utm_campaign. A hidden field fills in from the URL parameter with the same name, and its export column uses that name too. The built-in analytics also show UTM source, medium and campaign, on every plan.

  • A HornetForms form on your own site

    Use the embed script, not a plain iframe. The script passes the page's utm_ parameters into the form, so a tagged link to your page still reaches the response.

  • Typeform

    Add URL parameters with the same names in your form (Workflow, then Pull data in). Typeform's help shows these values after a # sign, so the builder puts the tags there for typeform.com links.

  • Google Forms

    Google Forms has no hidden field type. A common workaround is a short-answer question like "How did you hear about us?" and a pre-filled link for each campaign.

  • Your own website

    Your analytics tool reads the tags from the address. In Google Analytics they show up as session source, medium and campaign in the Traffic acquisition report.

Naming rules that keep reports clean

Tags only help if everyone writes them the same way. A few house rules save a lot of tidying later.

  • Use lower case everywhere. Analytics treats Email and email as two different values.
  • Use underscores or hyphens instead of spaces, and pick one style for the whole team.
  • Keep a shared list of the sources and mediums you use, and add to it instead of making up new spellings.
  • Use utm_medium=qr for printed codes, so you can see how much traffic print brings in.
  • Give each poster or placement its own utm_content value, like poster_lobby or poster_cafe, and make one code per value.
  • Keep values short. Every extra character makes a longer link and a denser code.
  • Don't put names, emails or other personal details in tags. Links get shared, forwarded and saved in browser history.

When UTM tags don't show up

Most of the time the link is fine and the tags get lost somewhere along the way. Here are the usual causes and fixes.

When UTM tags don't show up
The same source shows up twice in reportsWhy it happensThe values differ in case or spelling, like Email and email. Analytics counts them as two sources.How to fix itKeep clean-up on, write everything in lower case and use a shared list of names.
The tags are missing after people landWhy it happensThe link redirects somewhere else, and the redirect drops everything after the question mark.How to fix itTag the final address, not a link that redirects. Open the tagged link and check the tags are still in the address bar.
The form doesn't record the tagsWhy it happensThe form has no hidden fields with matching names, or the form sits on your page in a plain iframe.How to fix itAdd hidden fields named exactly like the tags. On your own site, use the form's embed script instead of a plain iframe.
A Typeform link stopped working after taggingWhy it happensThe tags went after a question mark, or the URL parameters aren't set up in the form.How to fix itPaste the plain Typeform link here, so the builder puts the tags after the # sign. Add matching URL parameters in Typeform and publish.
The builder refuses the linkWhy it happensThe link opens a form editor or an admin page, which respondents can't use.How to fix itCopy the respondent link from your form tool's share options instead.
The QR code is hard to scanWhy it happensTags make the link longer, so the code gets more squares, and each one gets smaller.How to fix itShorten the tag values, skip utm_term and utm_content if you don't need them, and print the code bigger.

Catch every tag in a form

HornetForms keeps the campaign with the response. Add a hidden field per tag, share the tagged link, and each response carries its source.

  • Hidden fields and URL prefill on every plan.
  • A "Copy parameter" button in each hidden field's settings.
  • UTM source, medium and campaign in the built-in analytics and on each response.
  • Unlimited responses on every plan, within fair use.

Questions people ask about UTM links

Which UTM parameters do I need?

Google Analytics' help says to always use utm_source, utm_medium and utm_campaign. Add utm_term for search ad keywords and utm_content to tell apart two links in the same place.

Are UTM values case sensitive?

Yes. Google's help says "utm_source=google is different from utm_source=Google." Use lower case everywhere so one source doesn't split into two rows.

Can I add UTM tags to a QR code?

Yes. Build the tagged link here and the QR code below holds it. Use utm_medium=qr for printed codes, so print traffic is easy to spot.

How do I tell two posters apart?

Give each one its own utm_content value, like poster_lobby and poster_cafe. Build the link once per poster and download a code each time.

Why does the builder put Typeform tags after a

Typeform's help shows URL parameters after the # sign, like #first_name=Fran&source=twitter. The builder follows that pattern for typeform.com form links.

This page and its tools are not affiliated with, endorsed by or sponsored by Google, Microsoft or Typeform. Google Analytics and Google Forms are trademarks of Google LLC. Microsoft Forms is a trademark of the Microsoft group of companies. Typeform is a trademark of Typeform S.L. QR Code is a registered trademark of Denso Wave Incorporated.

Google Analytics guidance last checked on November 16, 2026.