Back to blog

How to Create a QR Code With UTM Parameters

Learn how to create a QR code with UTM parameters, use consistent campaign names, test the redirect and measure traffic from posters, packaging, menus and other offline materials.

Desktop monitor: QR-code and scanning icons.
A QR code gives visitors a scannable route to a page.
Published:November 9, 2026Updated:November 9, 2026Reading time:7 min read

Table of contents

Expand or collapse article sections

To create a QR code with UTM parameters, add consistent campaign values to the destination URL, turn that URL into a tracked short link, and generate the QR code from the short link. Before printing, scan it with a phone and check the final URL and query string.

Key takeaways

  • UTM parameters identify the campaign context behind QR traffic.
  • Use lowercase, consistent values for source, medium and campaign.
  • A tracked short link can simplify measurement and future destination changes.
  • Test the scan, redirect, final URL and mobile page before publishing.
  • Recorded clicks are not automatically unique scans, purchases or conversions.

What a QR Code With UTM Parameters Does

A QR code can encode a URL that already includes UTM parameters. When someone scans it, the destination receives values such as utm_source, utm_medium and utm_campaign, helping the destination site's analytics identify the campaign context.

For example, a printed menu might send visitors to a landing page with source set to menu, medium set to qr, and campaign set to summer_offer. These values describe where the visit came from, but they do not prove that a person is unique or that a purchase occurred.

Choose UTM Values for the Campaign

Use a naming convention before creating the code. Lowercase values with underscores are easy to repeat and filter, while changing between “Menu,” “menu” and “restaurant-menu” can split one campaign into several reporting labels.

ParameterPurposeExample for printed materials
utm_sourceIdentifies the placement or sourcemenu
utm_mediumIdentifies the marketing channelqr
utm_campaignNames the wider campaignsummer_offer
utm_termSeparates a relevant term or audience variationlunch
utm_contentDistinguishes creative or placement versionsfront_cover

Most offline campaigns need only source, medium and campaign. Add term or content when you want to compare locations, designs, placements or print versions without creating a confusing set of campaign names.

Smartphone: QR-code and scanning icons.
Connect a QR code to the destination you want to share.

Smart QR Code Generator

Trackable QR codes connected to smart links.

Generate QR codes for URLs, social profiles, messages, calls and media apps. Every scan opens a LinkDirect short link, so the destination remains editable and measurable.

LinkDirect lets you create a short link and add UTM values in the same workflow. In a subscribed LinkDirect workspace, open Links, choose New link, enter the destination URL, then open Advanced: UTM parameters.

Fill in the fields you need, including UTM source, UTM medium and UTM campaign. You can also use UTM term and UTM content for more detailed comparisons. Create the link, then copy the resulting short URL.

A short link is useful for printed campaigns because it keeps the encoded address compact and provides a central redirect. Existing query parameters in the destination remain in place, while non-empty UTM fields set or replace the matching values.

The LinkDirect Free URL Shortener is the public short-link creation form. For an overview of managed QR destinations, see the Smart QR Code service page; the QR creation form is separate.

A general static QR generator can encode the short link you copied. Alternatively, create a managed QR code in LinkDirect from the original destination URL with its UTM values; that form creates a new attached short link automatically, rather than importing the existing link.

This is different from a static QR code that directly encodes a long URL. With a static code, changing the encoded UTM values normally means creating and replacing the code, which can be inconvenient after posters or packaging have been printed.

For a managed code, open QR Codes > New QR code in your eligible LinkDirect workspace, enter a name, choose an available short domain, select URL, and paste the original tagged destination. Choose Create QR code. The resulting image encodes the short link created for this code.

Test the QR Code Before Printing

Testing the image alone is not enough. You need to confirm the scan and redirect, the final destination and the retained UTM query string on a phone.

  1. Scan the QR code with a phone from the distance and angle where people will use it.
  2. Check that the short link redirects to the intended page and that the page loads correctly on mobile.
  3. Inspect the final URL and confirm that the expected UTM values remain present after the redirect.
  4. Repeat the test on another phone or camera app before sending the design to print.

Pay attention to the actual printed size, contrast and surrounding space. A code that works on a large monitor may be harder to scan from a small card or a glossy package.

Measure Results and Interpret the Data

After launch, a QR scan that resolves through a tracked short link can produce recorded link traffic. LinkDirect link details show Total clicks, Browser opens and Stayed in app. In Analytics, the filters are Range, Source, OS and Traffic type when the workspace has access to that view.

Use the UTM values in the destination site's analytics setup to connect visits with the campaign. Adding UTM parameters does not automatically send data to Google Analytics or another platform, and recorded clicks are not the same as unique visitors, sales or conversions.

Review the data against the campaign structure you created. If every restaurant location uses the same source and campaign, you will see the combined result; use separate content or source values when location-level comparison is important.

Laptop: QR-code and scanning icons.
Check the destination before sharing a QR code.

Static Versus Managed QR Codes

A static code can be sufficient for a stable destination that will not change. It is simple, but the encoded address is fixed, so correcting a campaign value later usually requires a new code and new printed material.

A managed QR code attached to an editable short link is better when the destination may change, the campaign will run for a long time, or you want centralized click measurement. LinkDirect can preserve the published QR image when the managed destination changes, subject to the relevant workspace workflow.

Choose separate codes when you need to compare physical placements, such as a poster, package insert and event sign. Give each one a clear UTM source or content value rather than relying on the image filename to identify it.

Common QR and UTM Mistakes

  • Using different capitalization or spelling for the same campaign value.
  • Putting tracking information in the QR image name instead of the encoded destination URL.
  • Printing before checking the final redirected URL and its query string.
  • Using a static code even though the destination or UTM values may change.
  • Assuming every recorded click represents one person, one scan or one purchase.
  • Adding personal or sensitive information to UTM parameters.

Keep the campaign naming sheet with the print files and landing-page details. That small record makes it easier to explain traffic later and prevents a second team member from creating a near-duplicate campaign name.

Use a Clear Next Step

Start with one destination page and a small set of consistent UTM values. Create the tracked short link, generate the QR code, test the complete redirect, and only then place it on printed materials.

Topics

Author

Ethan Brooks — illustrated editorial persona

Ethan Brooks

Editorial persona · LinkDirect

49 articles

Ethan Brooks is LinkDirect’s editorial persona for clear, practical guides to smart links, QR codes, Link in Bio and surveys. Content is created with AI assistance and published by LinkDirect.

View editorial profile

Published by LinkDirect

FAQ

Frequently asked questions

Can a QR code contain UTM parameters?

Yes. The QR code can encode a URL containing UTM parameters, or it can point to a tracked short link whose redirect adds or preserves those values.

Which UTM parameters should I use for a QR campaign?

Start with utm_source, utm_medium and utm_campaign. Add utm_term or utm_content when you need to compare placements, terms or creative versions.

Can I change a QR destination after printing?

A managed QR code attached to an editable short link can retain its published image when the destination changes. A static code generally requires replacement if its encoded URL changes.

Do QR scans count as conversions?

No. Recorded clicks indicate link activity, but they are not automatically unique scans, purchases, revenue or conversions.

How do I check whether UTM parameters survived the redirect?

Scan the code, wait for the final page to load, and inspect the final URL. Confirm that the expected UTM query string is still present.

Smart QR Code Generator

Trackable QR codes connected to smart links.

Generate QR codes for URLs, social profiles, messages, calls and media apps. Every scan opens a LinkDirect short link, so the destination remains editable and measurable.