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.
Your tagged link
This is a sample tagged link to this page. Paste your own link to start.
Your link is ready. Copy it, or scroll down for its QR code.
Copied.Your browser didn't let us copy. The link is selected, so press Ctrl+C or Cmd+C.
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
- utm_term
- utm_content
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.
Preview
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.
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.
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.
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.
Copy the tagged link
Check the warnings under the link, then click Copy link. Paste it into your email, post or ad.
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.
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.
| Parameter | Always use it? | What it means | Example values |
|---|---|---|---|
utm_source | Always use it?Yes | What it meansWho or what sent the visitor. Google's examples are a search engine, a newsletter and a billboard. | Example valuesgoogle, newsletter4, billboard |
utm_medium | Always use it?Yes | What it meansThe kind of channel the link sits in. Google's examples are paid search, a banner and email. | Example valuescpc, banner, email |
utm_campaign | Always use it?Yes | What it meansThe campaign the link belongs to. Google describes it as a product, slogan or promo code. | Example valuesspring_sale |
utm_term | Always use it?When it helps | What it meansThe keyword you paid for, if the link sits in a search ad. | Example valuesrunning_shoes |
utm_content | Always use it?When it helps | What 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.
| What people see | Why it happens | How to fix it |
|---|---|---|
| The same source shows up twice in reports | Why 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 land | Why 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 tags | Why 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 tagging | Why 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 link | Why 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 scan | Why 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
What is a UTM link?
It's a normal link with tags on the end, like ?utm_source=newsletter&utm_medium=email. The tags don't change the page. They tell your analytics where the visit came from.
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.
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.
Should I tag links between pages on my own site?
Tags are meant for links that bring people in from outside, like emails, ads, posts and posters. Use them where you want to know which campaign sent the visit.
Can I see who clicked a UTM link?
No. A UTM tag says where a visit came from, not who made it. Never put names or emails in tags, because people share and save links.
Does a tagged link or its QR code expire?
No. The tags are plain text in the link, and the QR code holds that link directly. Both work as long as the page or form does.
Is it free, and is my link stored?
It's free, with no signup. Your browser builds the link and the code, so we never see them.
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.