People Counting and GDPR: How to Count Visitors Without Breaking the Rules

By Keonex Editorial ·

A people counter that only delivers aggregate figures, with no images or identifiers, does not process personal data and sits outside the GDPR. If it records or analyses video in which someone is identifiable, it does process personal data. Everything turns on what happens inside the sensor before the number comes out.

When a retail chain talks about "installing counters", it may mean very different things. An infrared beam at the door increments a tally. An overhead stereo camera builds 3D silhouettes and counts how many cross a virtual line. A security camera running analytics software detects people, approximate age, dwell time and paths. All three produce "visitors per hour", and from a data protection point of view they have little in common.

The question that orders everything else is simple: at any point in the system, is there information relating to an identified or identifiable person? The GDPR defines personal data in Article 4, and recital 26 makes clear that data protection principles do not apply to anonymous information, meaning data that does not relate to an identifiable person or has been anonymised so that the individual is no longer identifiable. To judge identifiability you must consider the means reasonably likely to be used, not just what the manufacturer does today.

That yields three scenarios worth separating at the start of a project.

ScenarioWhat the system processesUsual fit
Counting without images (infrared, radar, presence sensor)Pass events, no image or identifierAnonymous data; normally outside the GDPR
Camera that processes and discards the image on the sensorTransient image, aggregate resultCase-by-case analysis; the processing exists even if it lasts milliseconds
Video analytics (dwell time, paths, profiling, re-identification)Images and per-person metadataPersonal data; legal basis, transparency, likely DPIA and tight limits

Counting is not the same as watching

In 2020 the European Data Protection Board (EDPB) published its Guidelines 3/2019 on processing of personal data through video devices. They accept from the outset that intelligent video analysis can be more intrusive, as with complex biometric systems, or less, as with "simple counting algorithms", and that the legal analysis changes case by case. There is no general exemption for counting.

This matters in practice. Many vendors market a counting camera as "anonymous" because its end product is a number. But processing is not measured by the end product. If the camera captures identifiable faces or silhouettes at some point in the pipeline, personal data is processed at that point, and the GDPR applies to that stretch. What design can do is cut the risk sharply: process at the edge, store no images, and send only counts off the device.

Age, gender and paths

The EDPB discusses a case very close to retail. A shop wants to tailor advertising to the approximate gender and age of the person standing in front of a screen. If the system creates no biometric templates to identify anyone uniquely and merely detects those traits to classify, the processing is not caught by Article 9, the special categories of data. That does not make it harmless: it is still processing of personal data as long as the person is identifiable, and it needs justifying.

The line is drawn at recognising the same person later. The EDPB notes that if the controller wants to detect a person re-entering an area or moving to another, the purpose is to identify a natural person uniquely, and the operation falls under Article 9 from the start. This is where an "individual journey" heatmap changes nature. A heatmap built from densities aggregated by zone and time slot is one thing. One that links the same person's trajectory from the entrance through aisle 4 to the till is another, and probably needs a much stricter legal basis than legitimate interest.

If personal data is processed, you need a basis under Article 6. For counting visitors for management purposes (sizing staff rotas, measuring conversion, adjusting opening hours), the usual choice is legitimate interests, with a documented balancing test. The EDPB requires the interest to be real and present, not hypothetical, and asks whether a less intrusive alternative exists. Here the counter's design is the main argument: if an imageless sensor gets the same information, a camera that records is hard to justify.

The balancing must take customers' reasonable expectations into account. A count at the door rarely surprises anyone; tracking a person around the whole store with an age profile might. And a bigger sign does not fix it: transparency does not replace necessity.

The GDPR also requires data protection by design and by default under Article 25. For a counter that means collecting only what is essential, aggregating as early as possible and not keeping more than necessary.

What sign to put up and what it should say

The UK Information Commissioner's Office (ICO) publishes guidance on video surveillance, including CCTV covering signage, retention and impact assessments for operators of cameras. In the EU the EDPB recommends a layered approach. The first layer is the sign with the essentials: the fact of monitoring, the controller, the purposes and how to reach the rest. The second layer is the full information at a web address, a notice board or a leaflet. A sign that only says "CCTV in operation" falls short when analytics are also running; it should mention footfall or statistical analysis as a purpose.

If the counter captures no images, a CCTV sign is not the applicable instrument. Even so, many chains add a line to the store privacy notice and a note at the entrance explaining that footfall is measured anonymously. It costs little and avoids misunderstandings with staff and customers.

How long to keep data

The GDPR sets no fixed retention period for video: under Article 5(1)(e) personal data must be kept no longer than necessary. The EDPB advises deleting within a few days and asks for stronger arguments the further beyond 72 hours you go. For a counting system the cleanest answer is that the image is never stored: the sensor processes it, emits the count and discards it. What the platform keeps are time series (people per slot, per zone), which do not allow anyone to be reconstructed. Retention of those series is for each company to set according to its analytical need.

When a DPIA is needed

The GDPR requires a data protection impact assessment (DPIA) before processing that is likely to result in a high risk to individuals' rights and freedoms. Article 35(3)(c) names the systematic monitoring of a publicly accessible area on a large scale, and the EDPB's video guidelines pick this up. National regulators add their own lists under Article 35(4), so check your authority's list as well.

Applied to a counter:

  • Anonymous count without images: normally not required, though writing down why you consider the data anonymous is the best defence if anyone asks.
  • Camera counting with edge processing, no stored images: at least a prior risk analysis is advisable; with many stores and heavy traffic, scale pushes towards a formal DPIA.
  • Behavioural analytics, profiles or re-identification: treat the DPIA as necessary. And if biometric data is used to identify people, the case for one is stronger still.

A useful DPIA is not a form. It describes what data enters the sensor, what leaves it, what is stored and where; it justifies why a less invasive alternative is not enough; it lists the risks to customers and employees and sets measures. If a high risk remains after all that, the GDPR provides for consulting the supervisory authority beforehand.

Employees: the other side of the sensor

A sensor at the store entrance also observes the staff. If the figures or images could be used to assess a specific person's work, for example how long they take to serve, you enter different territory: workplace monitoring carries its own duties to inform and consult staff and their representatives. A footfall counter designed to measure the store, and incapable of isolating one individual, avoids that complication. Writing that into internal policy helps too.

How a platform handles it

This is where a management platform makes a difference, because most problems come not from the sensor but from what is done with its data afterwards. A practical checklist:

  1. Separate what the sensor knows from what the system knows. Ideally only the count per zone and time slot reaches the platform. If sensors send identifiers, MAC addresses or image fragments, the platform starts processing personal data and inherits every obligation.
  2. Define the minimum granularity. A count per hour and zone is enough for staffing; one per second and square metre begins to allow individuals to be followed in quiet stores. The finer it gets, the more it looks like personal data.
  3. Govern who sees what. Role-based permissions stop a store manager reaching other stores' information and stop marketing exporting very detailed series for no reason. Ask any vendor to show the role model working in a demo, not only described in a brochure.
  4. Set retention on the platform, not store by store. A central retention and deletion policy, with logging, is easier to demonstrate than a different setting in every shop.
  5. Document the flow. The record of processing activities and, where applicable, the DPIA must reflect the route: sensor, network, platform, reports. If only one technician knows that route, compliance cannot be shown.
  6. Contract with the vendor. If the platform provider processes personal data on the retailer's behalf, a processor agreement is required. If it only receives anonymous statistics, the relationship is different, and it is better to write down which one it is.

Combining the count with other sources (till receipts, on-screen campaigns, conversion) is what makes a counter valuable, and also what adds the most risk. Joining an anonymous series to loyalty-programme data can re-identify people. When you plan to measure a campaign's effect, as in in-store retail media, decide beforehand at what level of aggregation the join will happen. And if the count feeds decisions connected to company systems, flow design is covered in the guide to integrating with ERP and POS.

The footfall sensors Keonex offers are described on the devices and sensors page, and the specific data processing terms of each model should be checked in the datasheet and contract before installation. If you are weighing what to demand from a vendor overall, the platform requirements checklist includes a data protection section.

Common mistakes

Calling "anonymous" what is merely "nameless". Video without names still shows faces. Anonymisation requires that the person cannot be identified by means reasonably likely to be used, including by combination with other data.

Believing the sign fixes everything. The duty to inform is independent of necessity and proportionality. A perfect sign on disproportionate processing is still disproportionate processing.

Installing first, documenting later. A DPIA, where one is due, comes before. Doing it after rollout, with sensors already in a hundred stores, leaves few options if it goes badly.

Leaving configuration to the vendor. Many sensors ship with options that store images "for debugging" or switch on age estimation. The controller is the retailer, who must know what is enabled.

Forgetting that the rules move. This guide describes the framework as of November 2026 based on the sources cited. Before applying it to a real project, check whether your regulator or the EDPB has published new criteria on video analytics, and consult your data protection officer or a lawyer.

In short

Counting people can be done with very little risk if it is designed for that: sensors that generate no identifiable image or discard it on the device, data aggregated at source, short retention and a documented flow. It gets complicated when the system remembers the same person, profiles them or follows them. Between those extremes the underlying decision is technical before it is legal, which is why whoever buys the sensor, whoever runs the platform and whoever answers to the regulator should sit at the same table before anything is installed.

For sector definitions and sensor types, see etiquetaselectronicas.io, where the neutral category reference is maintained. This article is not legal advice.

Frequently asked questions

Does a people counter fall under the GDPR?

It depends on what the system does. If it only outputs an aggregate number and never processes images or personal identifiers, there is no personal data and the GDPR does not apply to that number. If it records or processes video in which someone can be identified, the GDPR applies from the first frame, even if the final output is just a count.

Do I need CCTV signs for a people counter?

If the sensor is a camera processing images of identifiable people, yes: transparency duties apply and a visible first-layer notice is the accepted way to meet them. In the UK the ICO expects clear signs wherever surveillance cameras operate. If the sensor produces no recognisable image (an infrared beam, say), a CCTV sign is not the right tool, though a short note that footfall is counted anonymously is good practice.

How long can footage be kept?

The GDPR sets no fixed number: data may be kept no longer than necessary. The European Data Protection Board suggests deleting video within a few days and asks for specific justification beyond 72 hours. A counter that processes on the sensor and stores no video avoids the question.

Is a DPIA mandatory for a people counter?

Not always. A purely anonymous, aggregate count normally does not need one. But Article 35(3)(c) GDPR requires a DPIA for systematic monitoring of a publicly accessible area on a large scale, and a system that re-identifies visitors or follows them around the store comes close to that. Assess it in writing before installation.

Can a store camera estimate age and gender?

In the EDPB's example, classifying a person by physical traits without creating biometric templates to identify them uniquely does not fall under Article 9. It is still processing of personal data and needs a legal basis, transparency and a proportionality assessment. If templates are stored to recognise the same person later, it becomes biometric processing and the picture changes completely.

Sources

  1. EDPB, Guidelines 3/2019 on processing of personal data through video devices (v2.0, 29 January 2020)
  2. Regulation (EU) 2016/679 (GDPR), recital 26 and Articles 4, 5, 25 and 35
  3. ICO, Guidance on video surveillance (including CCTV): how to comply with the data protection principles