QRAnalytica

GDPR Compliant QR Code Analytics: What the Law Actually Asks For

GDPR compliant QR code analytics count scans without cookies, truncate IP addresses, keep data briefly, and run under a processor contract.

Nookesh Karri · 11 min read
Dark cover card with the title 'GDPR Compliant QR Code Analytics: What the Law Actually Asks For' in white and a lime accent bar

GDPR compliant QR code analytics count scans in aggregate, avoid cookies, cut the IP address down before storing anything, keep data only as long as the campaign needs it, and run under a written processor contract. A scan is a web request, so EU privacy law applies to it like any other page visit. “Cookieless” helps, but on its own it doesn’t settle whether you need consent.

This is a summary of what EU regulators and the GDPR text say, not legal advice. If your campaign handles sensitive data or targets children, talk to a data protection professional.

What a QR code scan collects

A dynamic QR code scan sends the phone to a redirect server, and that server receives the phone’s IP address along with device details before forwarding it to your page. Analytics tools turn those into country, city, device and time-of-day reports.

The CJEU’s press release on the Breyer case explains why the IP address matters: when a site is opened, the IP address of the device is communicated to the server so the data can reach the right recipient. A QR redirect works the same way. You can’t run one without seeing the IP for a moment.

What you do next is the compliance question. Keep the full address next to a timestamp and a code ID, and you hold an identifier. Convert it to a city, truncate it and drop the original, and you hold far less.

Is an IP address personal data under GDPR?

An IP address can be personal data under the GDPR, and regulators treat it that way by default. Article 4(1) defines personal data as information about a person who can be identified “directly or indirectly”, including through an identification number or location data.

Recital 30 names internet protocol addresses as online identifiers that, combined with other data on servers, can be used to profile and identify people. In 2016 the EU Court of Justice went further in Breyer (C-582/14). It held that even a dynamic IP address, one that changes with each new connection, is personal data for a website operator that has the legal means to identify the visitor with information held by the internet provider.

Two more points from the text matter for scan data:

  • Pseudonymised data is still personal data. Recital 26 says so directly. Hashing an IP and keeping the hash doesn’t take you out of the GDPR.
  • Truly anonymous data is out of scope. The same recital says the rules don’t apply to data rendered anonymous so the person is “not or no longer identifiable”, judged against all means reasonably likely to be used.

A report that says “9 scans from Munich on Saturday” sits on the anonymous side. A log row with a full IP, a code ID and a timestamp does not.

Why cookieless isn’t enough for GDPR compliant analytics

Most guides on GDPR compliant QR code analytics stop at “no cookies, so no consent”. The European Data Protection Board disagrees with that shortcut. Its Guidelines 2/2023 on the technical scope of ePrivacy Article 5(3), adopted on 7 October 2024, cover tracking links directly.

Article 5(3) of the ePrivacy Directive allows storing or reading information on a user’s device only with consent or where necessary for specific purposes the article lists. The EDPB says the rule covers “similar technologies” as well as cookies. Its findings that matter for QR codes:

  1. A tracking link is one where an identifier is appended to the web address (paragraph 49). A dynamic QR code that carries a code ID in its short URL fits that description.
  2. Sending tracking links to a device counts as storage, so Article 5(3) applies “even if this storage is not permanent” (paragraph 50).
  3. Collecting the identifier back through the link counts as “gaining of access” (paragraph 51).
  4. Tracking based only on the IP address can also fall under Article 5(3), for example with IPv6 addresses (paragraphs 54 and 55).

Then comes the part vendors rarely quote. The EDPB says that applying Article 5(3) “does not systematically mean that consent needs to be collected” (paragraph 56). Whether an exemption applies is decided case by case, under each country’s law and its regulator’s guidance.

The French regulator’s rules on audience measurement give the clearest checklist I’ve found for deciding whether QR scan analytics can run without consent. The CNIL’s analytics sheet exempts audience trackers from consent if all of these hold:

CNIL conditionWhat it means for a QR campaign
Users are informed and can objectA privacy notice on the landing page, with an opt-out
Purpose is audience measurement or A/B testing onlyScan counts and comparisons, no ad targeting
No cross-checking with other dataDon’t merge scans with your customer file
Limited to a single site or app publisherNo tracking across other companies’ sites
The last byte of the IP address is truncatedZero the last of the four numbers, never store the full address
Trackers live at most 13 monthsExpire any identifier within that window

Other countries’ regulators have their own guidance, and the EDPB leaves exemptions to them. I still use the CNIL list as the benchmark: a setup that passes it is about as minimal as scan tracking gets.

A worked example. Say a café chain in Lyon prints a dynamic code on every table card and wants to know which branch and hour get the most menu scans. That fits the CNIL purposes. The redirect reads the IP, looks up the city, truncates the last byte and discards the full address. The report shows counts per code and hour. Nobody’s scan is tied to a loyalty account, and the landing page has a short notice with an objection link.

Now change one thing: the café adds a retargeting pixel to the menu page. That’s advertising, not audience measurement, and the exemption no longer covers it.

Controller, processor and the contract you need

Under the GDPR, the business running the QR campaign is normally the controller and the QR platform is the processor. The controller decides why scans are measured, so the main duties sit with you, not the vendor.

Article 28(1) says a controller “shall use only processors providing sufficient guarantees”. Article 28(3) requires a contract or other legal act that sets out the subject, duration, nature and purpose of the processing and the types of data. In practice that’s the vendor’s data processing agreement (DPA).

When you compare QR tools, check:

  • A signed DPA that matches Article 28(3), with a list of sub-processors.
  • Where scan logs and backups are stored. A Unitag guide for European buyers recommends confirming EU or EEA hosting.
  • IP handling. Ask whether the full address is ever written to disk, and for how long.
  • Retention you can set. Scan history should expire on a schedule tied to your purpose.

Vendor answers vary. As of October 2026, QR Planet says it does not store IP addresses or set cookies on the scanning device without consent, and it keeps tracking data for a maximum of 5 years.

Retention and data minimisation

The GDPR has no fixed retention period for scan data, but two principles limit it. Article 5(1)(c) requires data to be “limited to what is necessary”, and Article 5(1)(e) says identifiable data may be kept no longer than necessary for its purpose.

For most print campaigns, the purpose is a comparison: which poster, which branch, which week. Aggregated counts answer that, and aggregated counts can be kept as long as you like because they don’t identify anyone. Raw logs are a different matter. Decide a deletion window before launch, and write it down.

If you need repeat-visitor numbers, read how unique scans differ from total scans first. Counting uniques usually means keeping some kind of identifier, so it’s the metric to question hardest under data minimisation.

Scan analytics under the GDPR usually rest on one of two legal bases in Article 6(1): consent, or legitimate interests. Legitimate interests applies only where your interest isn’t overridden by the rights and freedoms of the person scanning.

Breyer is a useful reference point here. The Court accepted that a website operator may have a legitimate interest in keeping some visitor data to protect against cyberattacks, subject to a balancing test. Aggregated, truncated scan counts are a much lighter intrusion than that. Combining scans with profiles or ad audiences tips the balance the other way.

Keep the two legal layers apart. The GDPR basis covers what you do with personal data. Article 5(3) of ePrivacy covers reading from the device. Both need an answer.

How QRAnalytica handles scan data

QRAnalytica collects scan data without cookies and without storing personally identifiable information. Reports show scans by country and city, device and hour of day, and Legitimate Interest Assessment documentation for scan metrics is generated automatically.

Dynamic codes run through QRAnalytica’s redirect servers. That’s what makes the counts possible, and it’s why the redirect sees the IP at all.

The limitation. Our tracking integrations let you add Google Analytics, a Facebook Pixel or scripts like Hotjar to a code. Once you do that, the scan leaves cookieless territory and that tool’s own consent rules apply on your landing page. If you send scans to GA4, follow our guide to tracking QR scans in Google Analytics 4 and put a consent banner on the page. Adding UTM parameters to QR codes doesn’t add cookies by itself, but GA4 reading them does.

My take: report the city, never the person

I’d set every EU campaign up so the question “who scanned this?” has no answer in your data. Country, city, device and hour are enough to choose between two posters or two table cards. Anything finer adds legal work and rarely changes a decision.

If someone on the team asks for names, point them to our explainer on whether you can see who scanned your QR code. The honest route to a name is a form people choose to fill in, with consent attached.

FAQ

Is an IP address personal data under GDPR?

It can be. GDPR Recital 30 names IP addresses as online identifiers, and the EU Court of Justice ruled in Breyer that a dynamic IP address is personal data for a website operator that has the legal means to identify the visitor with help from the internet provider.

Not automatically. The EDPB says ePrivacy Article 5(3) covers tracking links even without cookies, but also that this does not always mean consent is required. National regulators such as the CNIL exempt narrow audience measurement that meets set conditions.

Who is responsible for GDPR compliance, me or the QR code generator?

Usually you. The business running the campaign decides why scan data is collected, which makes it the controller. The QR platform processes data for you, and GDPR Article 28 requires a contract with it and lets you use only processors with sufficient guarantees.

How long can I keep QR code scan data?

GDPR sets no fixed number. Article 5 says identifiable data may be kept no longer than necessary for its purpose. The CNIL caps the lifetime of consent-exempt audience trackers at 13 months, which is a useful benchmark.

Sources

Track your dynamic campaigns. 7-day trial, no credit card.
Generate Dynamic QR