A QR code scan is just a visit to a web page. If the page's address carries campaign tags, Google Analytics can tell you which printed code sent the visitor. Without tags, scans from your flyer, menu and shop window all land in "direct" and you cannot tell them apart.
For tracking that needs no analytics setup, see how to track QR code scans. This guide covers the Google Analytics route.
Step 1: Decide what you want to compare
One code per placement. If the same link is on a poster, a flyer and a menu, give each its own tag so you can compare them. Ten placements means ten codes.
Step 2: Add UTM parameters to the destination URL
UTM parameters are short tags added to the end of a link:
https://example.com/offer?utm_source=qr&utm_medium=print&utm_campaign=autumn-menu&utm_content=table-card
| Parameter | What it answers | Example |
|---|---|---|
utm_source |
Where did it come from? | qr |
utm_medium |
What kind of channel? | print |
utm_campaign |
Which campaign? | autumn-menu |
utm_content |
Which placement or version? | table-card |
Google offers a free Campaign URL Builder that assembles these for you.
Naming rules: use lowercase, hyphens instead of spaces and the same spelling every time. QR, qr and Qr are counted as different sources.
Step 3: Turn the tagged link into a QR code
Paste the full tagged URL into the QR code generator, choose URL, and download the code.
A long tagged link makes a denser code that is harder to scan when printed small. Two ways around it:
- Print the code larger. See the QR code size guide.
- Use a dynamic QR code so the code holds a short redirect and the tagged link sits behind it. You can also fix a typo in the tags later without reprinting.
Step 4: Read the results
In Google Analytics 4, look at the traffic acquisition report and break it down by session source / medium or by campaign. Menu names move around between versions, so search the report list for "traffic acquisition" if you cannot find it. Visits tagged qr / print appear there with your campaign names.
Remember that data can take a day to appear, and that analytics counts visits to the page, not scans. Someone who scans but closes the page before it loads will not show up.
Common mistakes
- Tagging a static code, then changing the link. The printed code keeps the old tags. Use a dynamic code if the link may change.
- Inconsistent names.
Autumn-Menuandautumn-menusplit your data. - Tags on the wrong URL. Tag the final address, not a link that redirects elsewhere and drops the parameters. Test by scanning and checking the address bar.
- Not testing. Scan the finished code and confirm the visit appears in the real-time report.
Frequently asked questions
Do I need Google Analytics to count scans? No. A dynamic QR code with built-in scan analytics counts scans without any website tracking. Google Analytics is useful when you also want to see what visitors do on your site.
Do UTM tags work with a static QR code? Yes, they are part of the link, but they cannot be changed after printing.
Can I track offline sales this way? Only if the visitor completes an action online, such as redeeming a coupon code on the page.
