How to track QR code scans, free and paid
Learn how to track QR code scans for free with UTM tags and Google Analytics 4, what that misses, and when a dynamic code with scan counts is worth it.
A static QR code can’t count its own scans. It holds a fixed address and nothing else, so no one is told when it is read. You can still track the visits it sends you, for free, by adding UTM tags to the link before you make the code and watching Google Analytics 4 (GA4) on your own site. If you need counts for a page you don’t own, or scan numbers by day with no website work, you need a dynamic code instead.
Which one fits depends on where the code points. The rest of this guide shows the free route end to end, what it costs in code size, and where it falls short. For the basics of making any code, see our guide to making a QR code.
Why a static code can’t report anything
The code on a flyer is only text: an address, printed as squares. When a phone reads it, the phone goes straight to that address. There is no middle step where a counter could sit. The only party that learns about the visit is the website at the other end.
That gives you the free method: make the website notice. If the page that opens can tell Google Analytics “this visitor came from the Diwali flyer”, you have your tracking, with no extra service between the code and the page. A dynamic code does the reverse. It points to a short address on a provider’s server, which logs the scan and then forwards the visitor, so the count exists even if the final page has no analytics at all. Our guide to static versus dynamic codes covers the trade-offs of that redirect.
The free method: UTM tags on a static link
UTM tags are labels you add to the end of a link. Google’s help page on URL builders says to always use utm_source, utm_medium and utm_campaign and gives this example for an email campaign:
https://www.example.com/?utm_source=summer-mailer&utm_medium=email&utm_campaign=summer-sale
For a printed flyer, you would put the tags on the page you want people to reach:
https://example.com/offer?utm_source=qr&utm_medium=print&utm_campaign=diwali-flyer
Then you make a static code from that whole string with the free generator on a Link code. The tags are part of the address. When someone scans the code and the page loads with GA4 installed, GA4 records the session with source qr, medium print and campaign diwali-flyer. You read them in Reports, Acquisition, Traffic acquisition, which Google says shows session source, medium and campaign.
Three rules from Google’s page that save grief:
- Values are case sensitive.
utm_source=qrandutm_source=QRare different rows in your report. Pick lowercase and stick to it. - Use one name per campaign.
SpringSaleandSpring_Saleare counted separately. - Don’t mix tagging styles. Google says manual tagging and auto-tagging can’t be used together, so don’t add them by hand to links you also run through Google Ads auto-tagging.
One code per placement
One tagged link on every flyer tells you the flyers worked. It can’t tell you whether the counter tent card brought more visits than the window poster. Add utm_content to separate them:
https://example.com/offer?utm_source=qr&utm_medium=print&utm_campaign=diwali-flyer&utm_content=counter-tent-01
Now each placement has its own code and its own line in the report. You make as many static codes as you have placements, which is a spreadsheet job. Our guide to bulk QR codes shows the layout.
What tags cost you in code size
Tags make the address longer, and a longer address makes a denser code. We measured the same landing page with growing tag sets at error correction M:
| Link | Bytes | QR version | Modules per side |
|---|---|---|---|
https://example.com/offer |
25 | 2 | 25 |
| plus source, medium, campaign | 82 | 5 | 37 |
plus utm_content=counter-tent-01 |
110 | 7 | 45 |
plus utm_id and utm_source_platform |
156 | 9 | 53 |
The plain link is a 25 by 25 grid. The version with three tags is 37 by 37, and with a placement label it is 45 by 45. Count the quiet zone (4 modules each side) and the grids are 33 and 53 squares wide. On a 3 cm print, a module of the first is about 0.9 mm wide and a module of the second about 0.6 mm. That still scans on a good print, but it is less forgiving on rough paper, a curved bottle or a quick glance from a metre away.
The fix is to keep tags short, not to skip them. utm_campaign=diwali is enough. Our measured version with just qr, print and diwali is 76 bytes: version 5, 37 by 37. And if the longer link still crowds the code, set up a short path on your own site, like example.com/d/tent1, which redirects to the tagged page. That one is a 27-byte link and a version 3, 29 by 29 code. Our guide on what size to print a QR code explains how module size and scanning distance trade off.
Where UTM tracking falls short
The method is free and it works, but be honest about its limits.
- You must own the page. The tags only help if the destination runs GA4. A link to a Google Maps listing, a PDF or someone else’s site records nothing for you.
- It counts visits, not scans. Someone who scans and closes the page before it loads, or who scans three times, isn’t a clean number. Treat the figure as visits that arrived from the code.
- There is no map of where scans happened and no device split by scan. You get what GA4 knows about visitors to your page, not what a scanner app knows about the scan.
- Someone else’s tags can break it. If a team member edits a link in the sheet and changes the case of a value, one campaign becomes two rows.
When a dynamic code is the better answer
If the destination isn’t yours, or if you want a scan count without touching a website, a dynamic code is the right tool. It sends scans through a redirect that counts them, and you can change the destination later without reprinting.
QR Gen is the paid sister product to this site for that job. As of November 2026, its free plan includes 2 dynamic codes with daily scan totals kept for 7 days. Pro keeps 12 months of history, adds device types and CSV export, and allows 100 dynamic codes, at ₹199 a month or ₹1,499 a year. It doesn’t record the names or locations of the people who scan.
Whether that is worth paying for depends on the job. A café with one menu code and a website doesn’t need it; UTM tags are enough. A shop that prints 40 shelf labels pointing to supplier PDFs it doesn’t host probably does.
A note on privacy
A scan is a page visit, and a page visit gets tracked like any other. Canada’s Cyber Centre notes that a site reached through a code may use cookies to follow online activity and collect device details, IP address and location. If your page runs GA4, say so in your site’s privacy notice. If you use a dynamic-code service, ask the same question of it: what does it store about a scan, and for how long?
Your next ten minutes
- Pick the one page you want people to reach.
- Write the tags in lowercase: source, medium, campaign, and a placement label if you print more than one version.
- Paste the full link into the generator, download the code, and scan it with two phones before printing.
- Open GA4, go to Traffic acquisition, and look for your campaign after the first scan.
Ready to try it? Free, no sign-up, made in your browser.
Make this code now