Tracking and static codes
How to track QR code scans with UTM tags
Add utm_source, utm_medium and utm_campaign to the link in the URL tab, make one code per placement, and read the visits in GA4 under Reports → Acquisition → Traffic acquisition. You count visits that arrive from each code rather than raw scans, and it costs nothing.
Open How to Track QR Code Scans for Free Free · runs in your browser · nothing uploaded
Step by step: a tagged code for each placement
- Write down your names first (see the naming plan below).
- In Single code, choose the URL tab and paste the page address into Website URL, for example
https://example.com/spring. - Open Add UTM tags to count scans in Google Analytics (free).
- Fill in utm_source (
flyer), utm_medium (qr) and utm_campaign (spring-sale). The tags are added to the link inside the code. - Type a File name such as
spring-sale-flyerand click Download. - Change only utm_source to
poster, rename the file and download again. You now have two codes for two placements. - Scan each code with your phone and check that the page opens with the tags still in the address bar.
Plan the names before you make any codes
GA4 reports exactly what you type, so decide on a scheme once and reuse it. This one works for most small businesses:
| Tag | Answers | Rule | Examples |
|---|---|---|---|
| utm_source | Where was it printed? | One short name per placement | flyer, poster, receipt, van |
| utm_medium | What kind of channel? | Always qr | qr |
| utm_campaign | Which promotion? | Short, with a season or year | spring-sale, open-day-2027 |
Using the same medium for every QR code lets you see all QR traffic together, then split it by placement. Other schemes work too (the QR code tracking page uses qr / print); what matters is sticking to one. Use lower case and hyphens instead of spaces, and keep the list in a shared spreadsheet so everyone spells things the same way. If you prefer a guided form, Google's Campaign URL Builder builds the same kind of link.
Worked example: flyer or poster?
A bakery runs a spring offer. It hands out 500 flyers at a weekend market and hangs one poster in its own window. Both lead to the same offer page, with different tags:
- Flyer:
https://example.com/spring?utm_source=flyer&utm_medium=qr&utm_campaign=spring-sale - Poster:
https://example.com/spring?utm_source=poster&utm_medium=qr&utm_campaign=spring-sale
Two weeks later, GA4 might show 40 sessions from flyer / qr and 120 from poster / qr. The poster cost a fraction of the flyers, so next season the bakery prints fewer flyers and adds a second poster by the side door. That is what UTM tracking is good at: not exact scan counts, but showing which placement earns its keep.
Where to read the results in GA4
- Open Reports → Acquisition → Traffic acquisition and set the date range to cover your campaign.
- In the table, change the dimension of the first column to Session source / medium. Your rows appear as
flyer / qrandposter / qr. - Switch the dimension to Session campaign to see the whole promotion as one row, such as
spring-sale. - Type
qrinto the search box above the table to hide everything else.
Right after printing, scan a code yourself and open Reports → Realtime: your visit should show up within a minute or so. The standard reports can take up to a day to fill in, so do not worry about empty numbers on day one. GA4 counts visits that reached your page with the tags intact; people who block analytics or close the page before it loads are not included.
Many placements at once: tagged links from a CSV
Ten shops, twenty posters, a code per delivery van? Build the links in a spreadsheet instead of typing them one by one. In Batch from CSV, each row's content is encoded exactly as written, so put the complete tagged link in the second column:
| filename | content |
|---|---|
| poster-main-st | https://example.com/spring?utm_source=poster-main-st&utm_medium=qr&utm_campaign=spring-sale |
| poster-station | https://example.com/spring?utm_source=poster-station&utm_medium=qr&utm_campaign=spring-sale |
A formula saves typing: put the placement name in column A and fill column B with something like ="https://example.com/spring?utm_source="&A2&"&utm_medium=qr&utm_campaign=spring-sale". Save as CSV, drop it onto the batch tool, check the preview and click Generate ZIP. The free version makes 5 codes per batch; a Pro pass raises that to 500. The manifest.csv in the ZIP records which link went into which file. The file layout is covered in CSV bulk QR codes step by step.
Common mistakes
- Redirects that drop the tags. If
http://forwards tohttps://, or the bare domain towww, some setups lose everything after the question mark. Link to the final address and scan to check the tags survive. - Shorteners and page builders that rewrite the address can strip parameters too. Test the real printed code, not just the link.
- Inconsistent capitalization.
Flyer,flyerandFLYERbecome three separate rows in GA4. - Spaces in values. They are encoded as
%20and look messy in reports; use hyphens. - Tagging links inside your own website. Internal UTM links overwrite the real source of the visit. Use tags only on links that arrive from outside, like your QR codes.
- A landing page without GA4. The tags do nothing if the page has no analytics installed.
- Expecting tags on WiFi or vCard codes. Only web links can carry UTM tags.
Frequently asked questions
Can I add utm_content for table numbers or versions?
The tool has fields for source, medium and campaign. For a fourth level, add something like ?utm_content=table-5 to the address yourself before filling the fields, or build the full links in a CSV.
Will I see the number of scans?
No. Static codes have no server in between, so GA4 shows visits that arrived with your tags, not scans. It is still a reliable way to compare placements.
Do UTM tags make the code harder to scan?
They make the link longer and the code denser. Keep the values short and print the code a little larger if needed.
Can I change the tags after printing?
No, they are part of the code. Make new codes for the next print run, or point the code at a page on your own site that you can change.
Sources
Checked against the tool and the cited standards on 2026-11-06.