Blog

QR Code Tracking: How Scan Analytics Actually Work

27 November 2026·7 min read
QR Code Tracking: How Scan Analytics Actually Work

If someone asks "can I track my QR code?", the short answer is: only if it's a dynamic QR code. A dynamic code encodes a short link that redirects through the platform's server, which is what lets it log the scan before sending the visitor on. A static code encodes your final destination directly, so there's no server in between to record anything.

This article covers both layers of tracking: the scan-level data your QR code platform collects automatically, and the UTM-based setup you need if you also want that traffic to show up correctly in Google Analytics. It also covers what's realistic to expect from GDPR, since "can we even log this?" comes up in almost every setup conversation.

Static vs. dynamic: why tracking only works on one of them

A static QR code is the pattern itself encoding your content — a URL, a WiFi password, a vCard. Scanning it just opens that content; no third party is involved, so no one but the scanner's own device knows it happened.

A dynamic QR code encodes a short link (something like qr-cloud.com/s/ab12cd). When scanned, the request hits the platform's redirect server first. That server:

  1. Logs the event — timestamp, approximate location from the IP, device type, operating system, and sometimes the referrer.
  2. Looks up the current destination for that short link.
  3. Redirects the visitor there with an HTTP redirect.

Because the destination is looked up at scan time rather than baked into the code, you can also change where it points after the code is printed — tracking and editability come from the same mechanism. We cover the editing side in more detail in our guide to free dynamic QR code generators, and the broader static-vs-dynamic tradeoff in barcode vs. QR code.

What a QR platform's own analytics show you

Without any extra setup, a dynamic QR code's built-in dashboard typically gives you:

  • Total and unique scans over time.
  • Device and OS breakdown (iPhone vs. Android, for instance).
  • Approximate location, usually country or city level, derived from the IP address.
  • Scan timing, so you can see which hours or days a placement gets used.
  • Referrer, when the scan came from clicking a link rather than a camera scan.

This is the fastest way to answer "is this code even being used?" — no analytics account, no tags, nothing to configure. QR Cloud's dynamic codes include this for every plan, with unlimited scans even on the free plan; how long the history stays available (1 day free, up to unlimited on Expert) is the main difference between plans.

What this layer can't tell you is what the visitor did after landing — whether they filled out a form, bought something, or bounced immediately. For that you need web analytics on the destination page.

Adding UTM parameters so Google Analytics recognizes the scan

By default, Google Analytics has no idea a visit came from a QR code — it just sees a visit to a URL and files it as Direct traffic if there's no referrer. To fix that, you tag the destination URL with UTM parameters before putting it in the QR code:

Parameter What it tells GA Example value
utm_source Where the code was placed store_window, flyer_q4
utm_medium The channel type qr_code
utm_campaign The specific campaign spring_sale_2026

Example of a tagged destination URL:

https://example.com/spring-sale?utm_source=store_window&utm_medium=qr_code&utm_campaign=spring_sale_2026

Step by step

  1. Decide the destination URL — the page the scan should ultimately land on.
  2. Add the three UTM parameters above (Google's free Campaign URL Builder does this for you if you'd rather not type the ? and & by hand).
  3. Set that tagged URL as the target of a dynamic QR code. Don't put raw UTM links into a static code — if you ever need to fix a typo in a tag, you'd have to reprint. With a dynamic code you edit the destination in your dashboard instead.
  4. Scan it yourself before printing. Confirm the UTM parameters survive the redirect and still show up in the browser's address bar on the landing page. Some redirect setups drop query parameters if misconfigured.
  5. Check Google Analytics 4 under Reports → Acquisition → Traffic acquisition, switch the primary dimension to Session medium (and add Session source as a secondary dimension) to find your qr_code traffic. Standard reports can take 24–48 hours to fully populate.

Want both layers without juggling two tools? Create a dynamic QR code with QR Cloud, keep its own scan dashboard, and still send UTM-tagged traffic to any analytics tool you already use.

Create a trackable QR code

What you can and can't measure this way

A QR platform's dashboard and UTM-tagged Google Analytics answer different questions, and most serious use cases need both:

Question QR platform dashboard Google Analytics (with UTMs)
How many scans total? Yes No (it only sees page visits)
Device, OS, approximate location of the scan Yes Limited, from the visit itself
What the visitor did after landing (pages viewed, form filled, purchase) No Yes
Which specific placement performed best Yes, if you use separate codes Yes, if you use separate UTM values

If you're using QR codes that trigger a direct action instead of opening a web page — a phone number, a WiFi login, a plain-text SMS — Google Analytics can't see those at all, because there's no page load to measure. The platform's own scan count is the only data you'll get for those types.

Using separate codes or UTM values per placement

Resist the urge to reuse one link everywhere. If you put the same destination on a shop window, a flyer and a trade-show banner, you'll know the total scan count but never which placement actually worked. Give each physical placement its own code (or at minimum its own utm_content value, e.g. storefront vs. trade_show_booth) so the breakdown is still readable weeks later when you're deciding what to reprint. The same logic applies to use cases like business cards — a card handed out at one event vs. another should get its own tracked link if you want to know which event produced follow-ups.

QR code tracking and privacy (GDPR)

Scan logging isn't exempt from data protection law just because it starts with a camera instead of a cookie banner. A scan is an ordinary web request, and it carries the same things every web request does: an IP address, a user-agent string (revealing device and browser), and a timestamp. The Court of Justice of the EU ruled in the Breyer case that an IP address counts as personal data for anyone who could reasonably identify the person behind it — which generally includes any service provider holding the logs.

In practice, this means:

  • If your QR provider logs IP addresses to compute location and device data, that's personal data processing, and you need a lawful basis for it (usually "legitimate interest" for basic analytics, documented in your privacy notice).
  • Aggregated counts — total scans, scans per day, scans per country — stop being personal data once no individual record can be singled out. This is the level most businesses actually need.
  • If the QR code leads to a form that collects names, emails or phone numbers, that data is personal data regardless of how it got there, and needs its own legal basis and handling.
  • Ask any QR provider whether they keep raw per-scan logs with full IP addresses, and for how long. A provider that only reports aggregated, anonymised statistics (no raw IP storage, no cross-site tracking cookies) is the lower-risk default for most EU businesses. QR Cloud, hosted in Germany, reports anonymised scan statistics rather than storing identifiable visitor profiles.

None of this should stop you from tracking scans — it mostly means being honest in your privacy notice about what you log and why, and not collecting more than you need.

What QR Cloud adds on top of UTMs

If your use case goes beyond "how many scans" and "where did they land," two QR Cloud features are worth knowing about:

  • QR Pages give you a landing page with built-in interaction (contact forms, appointment booking, products) instead of a plain redirect, so you can measure form completions directly rather than inferring them from a separate analytics setup.
  • QR Reviews turn a scan straight into a star rating, with 4–5 stars routed to your Google review form in one tap and lower ratings routed to private feedback by email instead — see our guide to getting more Google reviews with QR codes for how the per-review statistics work.

Both still give you the same scan-level tracking described above, free plan included.

Frequently asked questions

Can you track a static QR code?

No. A static QR code encodes the destination directly, so nothing records the scan. Only a dynamic QR code, which encodes a short link that redirects to your destination, can log scan data.

Does QR code tracking show who scanned the code?

No, not by name. A dynamic QR code platform logs the scan time, approximate location (from the IP address), device type and operating system, but not the scanner's identity unless they then fill in a form on the landing page.

Do I need UTM parameters if my QR platform already has analytics?

Only if you also want the visit to show up in Google Analytics or another web analytics tool as a distinct source. The platform's own dashboard already shows scan counts and device/location breakdowns without any UTM tags.

Is QR code scan data personal data under GDPR?

Usually yes. A scan is an ordinary web request and carries an IP address, which the Court of Justice of the EU ruled is personal data in its Breyer judgment. Businesses in the EU need a lawful basis for logging it and should use a provider that keeps data minimal and documented.

Why does Google Analytics show QR traffic as 'Direct'?

Because by default a scan is just a visit to a URL with no campaign information attached. Google Analytics only attributes a visit to a source, medium and campaign when the URL carries utm_source, utm_medium and utm_campaign parameters.

How long does QR code scan data take to show up?

A dedicated QR code platform shows scans in its own dashboard in real time or within a few minutes. If you're relying on Google Analytics via UTM parameters, the data can take 24–48 hours to fully populate standard reports.