QR Code Analytics: Every Data Point You Can Track
A clear, field-by-field reference for what scan tracking actually captures and why each field matters.
Quick Answer
QR code analytics captures the total scan count, unique scans (by device), IP address, user agent (OS, browser, device type), approximate city and country, timezone, referer, and exact timestamp for every scan. Each record is stored in the btools_qrcode_scans table and is available in real time.
Table of Contents
Which scan counts are reported?
The headline number in any QR code analytics report is the total scan count. Every time the tracking redirect is hit, a row is inserted into the scan table, and the total count is simply the number of those rows for a given QR code. This is the rawest signal of interest, and it is the number most people share in campaign reports.
Unique scans are the second key metric. A unique scan is an estimate of how many distinct devices scanned the code, derived by grouping records that share the same IP address and user agent. If one person scans your restaurant menu three times in an evening, that is one unique scan and three total scans. Unique scans tell you reach, while total scans tell you engagement.
Both numbers are visible at the QR code level inside a dynamic QR code with tracking dashboard, and both update in real time as new scans arrive.
What device and browser data is captured?
Every HTTP request includes a user agent string, and the tracking server stores that string as part of the scan record. By parsing the string, the dashboard can report the operating system (iOS, Android, Windows, macOS, Linux), the browser (Safari, Chrome, Samsung Internet, Firefox), and the device category (phone, tablet, desktop).
This matters for two reasons. First, it helps you prioritize your landing page testing. If 80 percent of your scans come from iPhones, test mobile Safari before worrying about rare browsers. Second, device data is a rough proxy for audience type. A scan campaign with a large share of tablet and desktop traffic is probably reaching people in offices, while an overwhelmingly mobile campaign is reaching people out and about.
The raw user agent is also retained so that you can do deeper analysis later if needed. User agent parsing is a well-understood problem with many open-source libraries, and the stored string lets you re-parse the data at any time.
How is location data collected?
Location data comes from the IP address of the scanning device, cross-referenced with a geolocation database. The dashboard reports the country and, for most IPs, the city. It may also report the timezone, which is useful for understanding when scans happen in the scanner's local time rather than server time.
IP geolocation is not GPS. It is accurate at the city level most of the time, but a scanner on a mobile carrier may appear in a different city than they are physically in because carrier IP ranges are regional, not neighborhood-specific. VPN users will appear in the location of their exit node. Despite these caveats, IP geolocation is accurate enough for nearly all marketing questions, such as "which regions responded to this campaign" or "did the trade show in Dallas generate more scans than the one in Chicago."
For a background reference on how this fits into broader measurement practice, see the web analytics entry on Wikipedia.
What does timestamp and referer data tell you?
The timestamp on each scan record is the exact server time of the request. With enough scans, you can build hour-of-day and day-of-week charts that reveal when your audience is most engaged. This is often surprising. A code on a bar menu might peak on Thursday rather than Friday. A code on a corporate flyer might spike during Monday commutes. These patterns inform when to schedule social posts, email sends, and follow-up campaigns.
The referer header tells you which URL sent the scan, if any. For physical scans, the referer is usually empty because the phone's camera app opens the URL directly. But for digital QR codes embedded in web pages, emails opened in webmail, or slide decks viewed online, the referer reveals the source page. This lets you distinguish "scanned from our printed poster" from "clicked through our digital ad that displayed the QR."
Combined, timestamp and referer are how you trace scans back to their context. For more on QR code technology itself, see Wikipedia.
How do you turn this data into decisions?
The practical value of QR analytics comes from comparing codes and cohorts. Generate one code per placement using the dynamic QR code generator, then compare their scan counts, location distributions, and time patterns side by side. The winner tells you where to invest more, and the loser tells you where to cut.
Look at device mix to validate landing page design priorities. Look at geography to validate audience targeting. Look at time patterns to validate timing of paired digital campaigns. And look at unique versus total scans to validate whether your code is attracting new eyes or reminding existing fans.
Tie the scan data to downstream conversions to get the full picture. Covered in the companion post on measuring QR code marketing ROI, this step is how scans become revenue.
Frequently Asked Questions
What is QR code analytics?
QR code analytics is the collection and reporting of data about each scan of a dynamic QR code, including scan counts, device, location, and timing.
What is the difference between scan count and unique scans?
Scan count is the total number of times the code was scanned. Unique scans estimate distinct devices based on IP and user agent.
How accurate is QR code location data?
Location is derived from IP geolocation and is generally accurate at the city and country level, not GPS precision.
Can I export QR code analytics data?
Yes. Scan data is stored in the btools_qrcode_scans table and can typically be exported to CSV for further analysis.
Does QR code analytics work in real time?
Yes. Each scan is recorded the moment it happens and appears in the dashboard immediately.
Related Posts
How to Track QR Code Scans
Set up tracking end to end.
QR Code Tracking in Google Analytics
Feed your scans into GA4.
Can I See Who Scanned My QR Code?
What tracking reveals and what it does not.
See your QR code analytics in action
Generate a tracked QR code and watch the scan data fill your dashboard in real time.
Start Tracking