How to Track QR Code Scans (and Tell Them From Clicks)
A QR code can't count anything by itself. Point it at a short link that logs every visit, give each placement its own code, and read scans apart from taps on the same link.
To track QR code scans, make the code open a link that records every visit, and give every placement its own link. A QR code is only a picture of a URL; it can't count anything. The counting happens at the short link the code opens, which logs the scan and then redirects the phone to your page.
This guide is the hub of the QR and print handbook. It covers the method, what is free, how SendURL tells a scan from a tap on the same link, what scan data can and can't tell you, and how Google Analytics files QR traffic. For sizes and printer settings, see QR code size for print; for naming the links, see how to name a custom short link.
Step 2: download the QR code and put it on a poster, a menu, a slide or a package.
Step 3: sign up free to keep the code and see each scan's country and device.
How QR code tracking works
A QR code stores text, usually a URL. When someone scans it, the phone opens that URL. If the URL is a redirect link, the service behind it sees the request, writes a record (time, country, device, browser) and sends the phone on with an HTTP redirect. That record is the scan.
So "dynamic QR code" platforms and URL shorteners do the same thing: the code encodes a link they control. On SendURL every short link already has a QR code, on every plan, and the free QR code with scan tracking is just that link drawn as a code.
Track scans in 4 steps
- Download the code. The link's QR card has Download PNG (1024 px) and Download SVG. Use the SVG for anything printed. The QR Codes page shows the card and both downloads. To make the code outside the console, paste the short link into the free QR code generator and make the code there; add
?qto the link so scans are still marked as scans. - Print and place it. Test a proof at final size with two or three phones before the full run. The print size guide has the numbers.
- Read the scans. The link's QR card shows a line such as "120 clicks, 34 from QR", the Analytics page counts QR scans, Events lists each scan with "QR scan" as its referrer, and the API returns
qrScansand asourceon every click.
Is QR code scan tracking free?
Yes. Every SendURL link has a QR code on every plan, and its scans are counted on every plan, apart from taps on the same link. The Free plan holds 25 links and lists 7 days of analytics history in the console. Free codes carry a small SendURL wordmark over their bottom-right corner.
Starter and above adds what print jobs tend to need later: codes without the wordmark, changing the destination behind a printed code, the scan's city, and unique visitors (distinct IP addresses, an approximation); an end date is Pro and above. Pricing lists every plan.
Tell scans from clicks on the same link
The same campaign often uses one link in two ways: printed as a QR code on a poster, and posted as a tappable link on Instagram. You want one link (so the destination is managed once) and two numbers.
SendURL does this with a flag in the URL. The QR code encodes the short link with ?q on the end:
https://snu.to/menu-window?q ← what the QR code encodes
https://snu.to/menu-window ← what you paste into a post or an emailWhen a request arrives with ?q, the click is stored with source: "qr"; without it, source is null. Either way the phone is sent to the same place (the destination, or the link's iPhone or Android target if it has one), and the ?q is dropped: your page never sees it.
Here is a real click record for a scan, as GET /links/:id/clicks returns it (trimmed):
{
"id": "a4c6e8f0-1b3d-4e5f-9a7b-2c4d6e8f0a1b",
"clickedAt": "2026-10-14T08:03:11.482Z",
"source": "qr",
"country": "DE",
"city": null,
"device": "mobile",
"os": "iOS",
"browser": "Mobile Safari",
"referer": null
}The city field is filled on Starter and above; on the Free plan it is always null.
And the link itself, from GET /links/:id, carries both totals:
{ "slug": "menu-window", "totalClicks": 42, "qrScans": 9 }Scans are a subset of clicks, not a separate count: 42 visits, 9 of them through the code. The API docs document every field of the click object.
One code per placement
A single code on every poster, flyer and table card tells you the campaign worked, not which piece of paper did. Give each placement its own short link, all pointing at the same page:
| Placement | Short link | What you learn |
|---|---|---|
| Shop window poster | snu.to/menu-window | Passers-by, mostly outside opening hours? |
| Table cards | snu.to/menu-table | Diners, during service |
| Takeaway bag insert | snu.to/menu-bag | Scans at home, days later |
| Trade-show banner | snu.to/booth-hall3 | Should spike during the show; if not, the stand or the offer isn't working |
| Product packaging | snu.to/box-insert-2026 | A slow trickle over months |
| A5 flyer, October drop | snu.to/flyer-oct-a5 | One door-to-door round, compared with the next |
The timing is often as useful as the total. A banner that gets nothing during the event, or a bag insert that peaks the same evening, tells you something about where people actually had the phone out. At an event, the scan is only the start: the trade show QR code lead handoff template covers the form behind the code and who follows up.
Put the placements of one campaign in their own folder so they sit together (see folders and tags). Naming patterns for larger campaigns are in the slug guide.
To compare two landing pages behind one printed code, run an A/B test on the link: scans are split between the variants the same way taps are (A/B testing with short links).
What scan data shows, and what it doesn't
| Shown for every scan | Not shown |
|---|---|
| Date and time (UTC in the API, your local time in the console) | Who scanned it. No name, email or account |
| Country on every plan; an estimated city on Starter and above (both from Cloudflare's geolocation) | Region or GPS position |
| Device type, vendor and model where the browser says (e.g. Apple iPhone) | Which camera app was used |
| Browser and OS with versions | Whether the person bought anything after landing |
| Full user agent | Unique people: two scans by one person are two scans (Unique visitors on Starter and above is an approximate count) |
| Referrer, when the browser sends one (scans usually send none) | Scans of the same code made in another QR generator |
The console shows the same records per link, with charts by time; see per-click link analytics. Location stops at the city. It is worked out from the network, not the person, and VPNs, mobile carriers and corporate networks can put a scan in the wrong country. Treat the country column as a good guess.
The last row matters if you made codes elsewhere: only a code that encodes the ?q link labels its scans. A code from another generator that encodes snu.to/menu-window without ?q still counts every visit, but they show up as plain clicks.
Can you track location with a QR code?
Only roughly, and only where the scan came from on the network, never where the person is standing. A scan opens a web address, and that request arrives from a network address, from which the country (and on Starter and above an estimated city) is worked out. A code cannot read a phone's GPS: a page could ask the browser for a position after it loads, the person would have to allow it, and SendURL never asks.
To check where a code is scanned, open the link's Analytics page and read the Countries card, or read the country field of each click from the API. To know which poster was scanned, geography is the wrong tool: give each placement its own code.
Static vs dynamic QR codes
A static code encodes the final destination directly. Nothing sits in between, so nothing can count scans, and the destination can never change without reprinting.
A dynamic code encodes a redirect link. The provider counts scans at the redirect and lets you change where the redirect points.
A SendURL code is static in the strict sense: the pattern always encodes the same short URL. It behaves like a dynamic code because the redirect behind it is yours to manage:
- Change the destination on Starter and above, in the console (the link's Destination row) or with
PATCH /links/:idin the API. Every printed copy follows within seconds; see change where a short link points. - Turn it off without deleting it, so a scan shows "Link not found" while the slug and history stay yours: disable a short link.
- Set an end date (Pro and above) for an offer, after which a scan shows "Link expired" and isn't counted: expiring links.
What you can't change is the slug. It's printed into the pattern, so choose it before the print run.
Don't delete a link that's on paper. After DELETE /links/:id (paid plans only) the link can't come back: the slug stays reserved, but every printed code shows "Link not found" for good. Disable it instead.
Can you track a QR code that is already printed?
Not by changing the code: the pattern is fixed, and so is the address inside it. What you can still do depends on that address.
- It is a short link, or another redirect you control. Scans have been counted all along; open the link's Analytics.
- It is your own page's URL. Nothing counted the scans, and nothing can be added to the code now. Your site's analytics see the visits to that page; if the address is printed nowhere else and linked from nowhere, those visits are roughly your scans. If your site can redirect that one address to the same page with UTM parameters added, new scans become tagged sessions from then on.
- It is someone else's URL. You can't count it. Use a short link when the next print run comes.
Why scan counts can be off
The count is every request that reached the short link with ?q. That is close to "scans", but not identical:
- Repeat scans. One person scanning twice is two visits. SendURL has no unique-scan count.
- Shared scan URLs. If someone copies the address the code opened,
?qincluded, and pastes it into a chat, taps on it count as scans. Rare, but possible. - Link previews. If that pasted URL lands in Slack, iMessage or WhatsApp, the app's preview fetcher may follow it and add a visit. SendURL doesn't filter bots or previews; bot clicks and link previews shows how to spot them by user agent.
- Scans that don't count. A disabled, expired or password-protected link records nothing until the visitor gets through. A scan of a password link is counted only after the right password.
On the other side, a scan that never reaches the link isn't counted either: a code too small to read, glare on a glossy finish, or no signal in a basement venue. The print guide covers the first two.
QR codes in Google Analytics
If you also use GA4, put UTM parameters on the destination URL. The short link passes the destination through exactly as stored, so the UTMs arrive; anything added to the short link itself is not forwarded.
Destination stored on snu.to/menu-window:
https://example.com/menu?utm_source=window-poster&utm_medium=qr&utm_campaign=2026-10-autumn-menuGA4's default channel group has rules for email, SMS, social, display and others, but none for qr, print or offline (Google's channel definitions, checked 15 October 2026). With a source that isn't on Google's lists, such as window-poster, the session lands in Unassigned.
Two fixes:
- Accept it and filter. Leave the channel as Unassigned and report on Session medium =
qr. The data is all there; it just isn't in a channel. - Add a custom channel group. In GA4, go to Admin → Data display → Channel groups, copy the default group and add a channel "QR / print" where Medium exactly matches
qr, placed above any channel that could also match (GA4 uses the first match). Google says custom channel groups apply to reports retroactively; a standard property can have two (custom channel groups).
Keep the medium lowercase and identical on every code, because GA4 report values are case-sensitive. The UTM parameters guide has the full parameter table and more examples.
GA4 and SendURL will disagree. GA4 counts sessions that loaded its tag after any consent banner; SendURL counts every scan that reached the redirect, including the person who closed the page before it loaded. Expect SendURL's number to be higher.
Pull scan counts with the API
The REST API works on every plan (API docs). First find the link's id; GET /links lists your links newest first, ten per page:
curl -s "https://api.sendurl.to/api/v1/links" \
-H "Authorization: Bearer $SENDURL_API_KEY" \
| jq -r '.links[] | "\(.id) \(.slug) clicks=\(.totalClicks)"'Then the totals for one link:
curl -s "https://api.sendurl.to/api/v1/links/$LINK_ID" \
-H "Authorization: Bearer $SENDURL_API_KEY" \
| jq '{slug, totalClicks, qrScans}'For scans per day, page through the clicks and split them by source. This Python script needs only requests (pip install requests):
import os
from collections import Counter
import requests
API = "https://api.sendurl.to/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['SENDURL_API_KEY']}"}
LINK_ID = os.environ["LINK_ID"]
scans, taps, cursor = Counter(), Counter(), None
while True:
params = {"limit": 10, **({"cursor": cursor} if cursor else {})}
res = requests.get(f"{API}/links/{LINK_ID}/clicks", headers=HEADERS, params=params, timeout=10)
res.raise_for_status()
page = res.json()
for click in page["clicks"]:
day = click["clickedAt"][:10] # UTC date
(scans if click["source"] == "qr" else taps)[day] += 1
cursor = page["pagination"]["nextCursor"]
if not cursor:
break
for day in sorted(scans.keys() | taps.keys()):
print(f"{day} scans {scans[day]:>4} taps {taps[day]:>4}")2026-10-14 scans 8 taps 17Each page holds up to ten clicks, so a link with 5,000 visits is 500 requests; the API allows 50 requests per 10 seconds from one IP address. For exports to CSV, retries and summaries, see the URL shortener API in Python and JavaScript.
Before you scan a code yourself
Codes in public places get covered with stickers. The US Federal Trade Commission's advice from 6 December 2023 is to "inspect the URL before you open it" when you see a code in an unexpected place (FTC consumer alert).
To read a code without opening it, take a photo or screenshot and drop it into a QR code scanner that shows the link inside and traces where it goes.
For anyone printing codes, that means two things. Make the link readable: camera apps show at least the domain before opening, and a slug that matches the poster looks like it belongs there. And check your own codes in place now and then, especially outdoor ones.
This guide is the hub of the QR and print handbook. Each page below answers one narrower question.
Guides
- QR code size for print: how big to print a code for a card, a poster or a banner, and the quiet zone.
- How to name a custom short link: slugs that survive being printed, typed and read aloud.
- Bot clicks and link previews: what else can follow a link, and how to spot it.
- UTM parameters guide: tagging the destination so Google Analytics can file the visit.
Blog posts
- Change where a short link points: a new destination behind a printed code (Starter and above).
- Disable a short link: switching a printed code off without deleting it.
- Expiring links: an end date for an offer.
Tools and the feature page
- Free QR code generator: make a code for any link or text.
- QR code scanner: read a code from a photo or a screenshot without opening it.
- All free tools: every link, UTM and QR tool on the site, with no sign-up.
- Free QR code with scan tracking: what every SendURL link's code includes.
Checklist before printing
- One short link per placement, named so you can read the report later (
menu-window, notqr1) - Slug checked for case and look-alike characters; it can't change after printing
- Destination opens correctly on a phone, on mobile data, not just office Wi-Fi
- UTMs on the destination if you use GA4, with
utm_medium=qrand a plan for Unassigned - Code downloaded as SVG from the link's QR card, so it encodes the
?qURL - White border (quiet zone) kept, dark code on a light background, sized for the scan distance
- Proof printed at final size and scanned with three phones from real distance, then signed off with the QR code print proof checklist before the run
- An expiry set if the offer ends (Pro and above; on Free, disable the link then); otherwise none, so old flyers keep working
- The link is never deleted while copies exist; disable it instead
- A date in your calendar to compare placements after the first week
Make a short link on the home page and download its code to try it, no account needed.
Frequently asked questions
Yes, if the code opens a link that logs each visit, such as a short link. The code itself stores only a URL and counts nothing. Every scan of a SendURL code is counted as a click and labelled as a QR scan.
Only indirectly. A code that encodes your own page URL can carry UTM parameters, so Google Analytics can count the sessions it starts, but nothing counts the scans themselves. A code that encodes a short link is counted at the redirect, before the page even loads.
No. Scanning a code opens a URL in the browser, which shares no GPS position unless the page asks for permission. SendURL shows the country, and on Starter and above an estimated city, as Cloudflare works them out from the network; region and street are never recorded.
Put UTM parameters on the destination URL, not on the short link. Note that GA4 has no default channel for utm_medium=qr, so those sessions land in Unassigned unless you add a custom channel group.
The printed pattern never expires: it is a fixed URL. What can stop is the link behind it. A SendURL link only stops if you set an expiry or disable it.
On SendURL, yes: every link has a QR code and its scans are counted on every plan. The Free plan holds 25 links and lists 7 days of analytics history in the console; its codes carry a small SendURL wordmark in the corner. Codes without the wordmark, the scan's city and changing the destination behind a printed code are Starter and above.
A QR code for every short link.
Every short link comes with its own QR code, and each scan is counted as a click and marked as a scan. Free, with no sign-up to start.