UTM Links for QR Codes: A Practical Campaign Guide

UTM parameters label a web visit so analytics can attribute it to a source, medium and campaign. Give each printed placement a consistent link before generating its QR Code.

What a UTM link tells you

A UTM link is an ordinary URL with query parameters appended. When a visitor opens it, analytics software such as Google Analytics 4 (GA4) can use those values to categorise the session, provided tracking is installed, consent settings permit it and the destination retains the parameters. UTMs do not count the instant a camera recognises a code. They describe a visit that reaches the tagged website and is recorded.

The common fields are utm_source, utm_medium, utm_campaign and utm_content. Source identifies where traffic came from, medium identifies its channel, campaign names the promotion, and content distinguishes a particular creative or placement. Decide what each field means for your own reporting, then keep that meaning consistent. Use lower-case values; QR and qr can appear as separate labels.

A naming convention you can maintain

ParameterWhat to recordCafé exampleConsistency tip
utm_sourceWho or what distributed the linktable_card or windowChoose one level of detail for all placements
utm_mediumChannel typeqrUse the same medium value for QR traffic
utm_campaignPromotion, event or periodautumn_menuUse a stable name, not ad hoc spellings
utm_contentSpecific creative or placementtable_03 or front_windowAdd it when a comparison will help a decision

There is no universal rule that every business must use source for the same physical object. The useful practice is to agree what each field means, write it down and avoid inconsistent labels. Do not put “poster” in source for one link and medium for another if you expect to compare them.

Two worked examples

A café could compare a table card with a window poster during one seasonal menu campaign using these links:

The destination page and campaign stay the same; source and content distinguish the print placements. A charity could use utm_campaign=winter_appeal, source collection_box, and content for a branch or box identifier. An event organiser might use the event as campaign and a handout location as source. These are examples rather than compulsory names. Choose values staff will understand months later.

Build and test the final address

  1. Start with the final HTTPS landing page on your website.
  2. Add only parameters that answer a reporting question. At minimum, set source, medium and campaign; use content where placement comparison matters.
  3. Use ampersands between parameters and avoid spaces. Underscores or hyphens make readable values; keep case consistent.
  4. Open the full link on a phone. Confirm it loads, works at mobile width and that any redirects preserve the query string.
  5. Generate the static code from this exact address; scan the exported image and a printed proof.

Keep URLs as short as your measurement needs allow. Each parameter adds characters to the data encoded in the QR Code, which can make its module pattern denser. Do not remove a placement label you need, but avoid long descriptions, unnecessary fields and duplicate tags. A concise page path and compact values help. If print space is especially tight, read about short links for QR Codes and the control trade-offs.

Find visits in GA4

In GA4, open Reports > Acquisition > Traffic acquisition. Inspect session source / medium and session campaign dimensions. With the example names above, you might look for table_card / qr, then compare sessions and the engagement or key-event measures relevant to your business. Report layouts and available dimensions can vary with property setup and customisation.

If campaign data is missing, confirm GA4 is installed on the landing page, the link was visited after tracking was configured, the date range includes the visit and redirects preserve the query string. Check that you are looking at a session dimension rather than a first-user dimension. Consent choices, browser settings and measurement blockers can stop a session being recorded. Analytics is therefore not a complete scan count. Our guide to tracking QR Code scans explains the distinction.

Make a small tracking plan

QRCodeBarn makes free static QR Codes and does not provide dynamic redirects or scan analytics. You can use a tagged address in our QR Code generator, but measurement takes place in the analytics property on your website. If a URL changes, create and test a replacement image; the printed static code remains unchanged.

Frequently asked questions

What should I use for utm_medium on a QR Code?

Use a consistent value such as qr for QR traffic, then use utm_source to identify the source or publisher and utm_campaign to name the campaign.

Should every placement have a different UTM link?

Use a different utm_content value when you need to compare placements, such as a table card against a window poster.

Where can I find UTM campaign traffic in GA4?

Open Reports, then Acquisition, then Traffic acquisition, and inspect session source and medium or campaign dimensions.

Related QR resources