Skip to content
Everything else

UTM parameters for QR codes

2 min read · Updated · By the Reveata team

Short answerPut UTM tags in the URL before you generate the QR code, for example utm_source=trade-show-stand&utm_medium=qr&utm_campaign=expo-2026. Reveata records the scan as a visit from that source in the Referral channel, so it no longer lands in Direct.

A QR code is a link with no referrer. When someone scans it, their phone opens the URL directly, so an untagged scan is indistinguishable from someone typing your address: it lands in Direct. The only way to know a visit came from a QR code is to put that information in the URL the code points to.

The values to use

text
https://example.com/expo?utm_source=trade-show-stand&utm_medium=qr&utm_campaign=expo-2026
Parameter Value Why
utm_source where the code is: trade-show-stand, packaging, menu The source you will see in reports
utm_medium qr Lets you filter all QR scans at once
utm_campaign the event or print run Compare one run with the next
utm_content optional: poster-a, flyer-back Which version of the code

Which channel QR scans land in

Reveata has no offline or QR channel. qr is not one of the mediums it maps to a channel, and your source is not a known website, so a tagged scan lands in Referral, with your utm_source as the source name.

That is honest: the visit was referred by something, and you named what. To see every scan together, open the Campaign tab, switch to utm_medium, and look at the qr row, or add a filter on utm_medium = qr.

If you would rather use a short code, ?ref=menu-qr also works. Unknown ref values land in Referral with the value as the source.

Keep the code scannable

More characters make a denser code that is harder to scan, especially when printed small. Two ways to keep it short:

  • Short values. utm_source=stand&utm_medium=qr&utm_campaign=expo26 instead of long names.
  • A short path that redirects. Print example.com/expo and have it redirect to the tagged URL. Check that the redirect keeps the query string: open it in a private window and look at the address bar.

A worked example

A café prints two codes, one on table cards and one on takeaway bags:

text
https://example.com/menu?utm_source=table-card&utm_medium=qr&utm_campaign=autumn-menu
https://example.com/menu?utm_source=takeaway-bag&utm_medium=qr&utm_campaign=autumn-menu

After a month, filter on utm_medium=qr: the source breakdown shows which placement brings more visits, and with online ordering connected to a payment provider, which brings orders.

Common mistakes

  • Generating the code first and tagging later. Once printed, the URL cannot change. Tag before you generate.
  • One code for every placement. You see QR traffic in total but not which poster or package worked.
  • A dynamic QR service whose redirect drops parameters. Test the printed code with a phone before the print run.

Frequently asked questions

Why do QR code visits show as Direct?

A scan opens the URL with no referrer. If the URL has no tags, Reveata has nothing to identify it by. Tag the URL before generating the code.

Can Reveata count scans that did not open the page?

No. Reveata records visits to your site. A scan that never loads the page, for example because the phone was offline, leaves no trace.

Should I use utm_medium=qr or offline?

Either works the same way: both land in Referral. qr is more specific, so you can tell QR scans from other offline sources such as printed URLs that people type.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
UTM guideUTM parameters for print ads and direct mailFor print, use a short URL people can type, such as example.com/?ref=mag-nov, or a vanity path that redirects to a URL tagged utm_source=<publication>&utm_medium=print. Reveata records those visits in the Referral channel with the source you chose.UTM guideUTM parameters for podcast sponsorships and show notesTag show-note links with utm_source=<show-name>&utm_medium=podcast&utm_campaign=<episode>, and give host reads a short spoken code such as example.com/?ref=showname. Reveata records both in the Referral channel with the show as the source.UTM guideUTM parameters for affiliate and partner linksGive each affiliate a link such as example.com/?via=anna, or tag partner links with utm_source=<partner>&utm_medium=affiliate. Both put the visit in Reveata's Affiliate channel with the partner as the source, so you can rank partners by revenue.UTM guideUTM parameters for influencer and creator linksGive each creator their own link, for example utm_source=instagram&utm_medium=social&utm_campaign=creator-anna, or ?via=anna if you pay them per sale. The first lands in Organic social, the second in Affiliate, and both let you compare creators by revenue.UTM guideUTM parameters for SMS and text message linksTag SMS links with utm_source=<your-sms-tool>&utm_medium=sms&utm_campaign=<message>. Reveata has no SMS channel, so these clicks land in Referral with your tool as the source; filter on utm_medium=sms to see all text-message traffic together.