Most website owners think about cookies when they think about tracking. Fingerprinting is the technique that works when cookies are deleted, blocked or refused, which is exactly why regulators watch it closely. This guide explains how browser fingerprinting works, where you are likely to meet it on your own site, and what the GDPR, the ePrivacy Directive and the UK rules require.
What is browser fingerprinting?
The French data protection authority, the CNIL, defines fingerprinting as a probabilistic technique that aims to identify a user uniquely on a website or mobile app using the technical characteristics of their browser. The key words are "probabilistic" and "uniquely": no single attribute identifies you, but the combination of many attributes often does.
A cookie is a label the site writes into your browser and reads back later. A fingerprint is closer to a description: the site asks your browser a series of questions, records the answers and computes a hash. If the same hash comes back tomorrow, the site concludes it is probably the same device. Nothing needs to be stored on the device for this to work, which is why clearing cookies does not reset a fingerprint.
Our guide to what cookies are and how they work covers the other side of the picture: cookies, local storage and pixels. Fingerprinting belongs to the same family of tracking techniques, even though it leaves no visible trace in the browser's storage.
Browser fingerprinting vs device fingerprinting
The two terms are often used interchangeably. "Browser fingerprinting" usually refers to signals a web page can collect through the browser. "Device fingerprinting" is broader and also covers mobile apps, which can read hardware and operating system attributes directly. The legal analysis below applies to both.
How does browser fingerprinting work?
A fingerprinting script runs in the page, usually as JavaScript, and collects attributes such as:
- Browser and system information: user agent, language preferences, time zone, operating system, number of processor cores, available memory.
- Screen: resolution, color depth, pixel ratio.
- Installed fonts and plugins: the list differs from one machine to another.
- Canvas fingerprinting: the script asks the browser to draw hidden text or shapes, then reads back the pixels. Small differences in graphics hardware, drivers and font rendering produce a slightly different image on each device.
- WebGL and audio fingerprinting: the same idea applied to 3D rendering and to audio processing.
- HTTP headers and IP address: sent with every request, they can be combined with the other signals.
The UK regulator, the ICO, lists very similar signals in its guidance on storage and access technologies: JavaScript objects, CSS information, HTTP header information, installed fonts and the use of browser APIs, which can be combined with IP addresses or other identifiers.
People often distinguish active fingerprinting (a script queries the device, as above) from passive fingerprinting (the server only analyses what the browser sends anyway, such as headers). Active fingerprinting is by far the most common on websites, because it is far more precise.
How unique is a browser fingerprint?
You can test your own. The Electronic Frontier Foundation's Cover Your Tracks shows how trackers see your browser and which of its characteristics are the most identifying. AmIUnique, a research project run from the Université de Lille, studies the diversity of browser fingerprints and shows how yours compares. Both are useful to understand the technique before you audit your site.
Where you meet fingerprinting on your own website
Few site owners install a fingerprinting library on purpose. It usually arrives through third-party tools:
- Advertising and attribution scripts, which try to recognise users across sites when third-party cookies are blocked.
- Fraud prevention, bot detection and anti-spam tools, which use device signals to tell humans from bots or to spot account takeovers.
- Some "cookieless" analytics tools, which replace the cookie with a hash built from IP address and browser attributes. Our guide to cookieless analytics explains which approaches avoid identifying visitors and which simply move the identifier elsewhere.
- Embedded third-party content (players, maps, chat widgets), whose scripts you do not control.
Fingerprinting rarely shows up in a cookie list, so an inventory based only on cookies misses it. Look at the Network tab of your browser's developer tools for requests to third-party domains, as described in our guide on how to check cookies on a website, and read the documentation of each vendor. Before you start, run the free cookie scanner to see in 30 seconds which cookies and third-party services your site loads: it gives you the list of vendors to question.
Is browser fingerprinting legal under the GDPR?
Fingerprinting is not banned as such. It is regulated by two texts that apply at the same time.
The ePrivacy Directive: access to the device needs consent
Article 5(3) of the ePrivacy Directive requires consent before "storing information" on a user's device or "gaining access to information already stored" there. It has only two exceptions: transmitting a communication, and what is strictly necessary for a service the user explicitly requested. It applies whether or not the data is personal.
Fingerprinting does not store anything, but an active script reads information from the device: fonts, screen settings, rendering results. In its Guidelines 2/2023 on the technical scope of Article 5(3), final version of October 2024, the European Data Protection Board confirmed that the rule is not limited to cookies and covers techniques such as tracking pixels, which make the device send information it would not otherwise send. A fingerprinting script that queries the browser works the same way. National laws carry the same rule: Article 82 of the French Data Protection Act, § 25 TDDDG in Germany, Article 22.2 LSSI in Spain.
The ICO says it plainly for the UK: organisations sometimes use device fingerprinting in the belief that regulation 6 of PECR does not apply, but it does apply where fingerprinting stores or accesses information on a device. Its guidance, finalised on 29 April 2026, lists fingerprinting techniques among the technologies it covers, next to scripts and tags.
The GDPR: a fingerprint is personal data
The purpose of a fingerprint is to single out a device, and therefore the person using it. Recital 30 of the GDPR names online identifiers provided by devices and browsers as data that can identify people. A fingerprint used to recognise a visitor is personal data, so you also need a legal basis, transparency in your privacy notice, a data processing agreement with the vendor where it acts as your processor, and limits on retention.
For tracking and advertising, that legal basis is consent. The conditions are the usual ones: prior, free, specific, informed and as easy to refuse as to accept. Our article on tracking cookies explains why cross-site tracking cannot rely on legitimate interest, and the reasoning is identical for a fingerprint.
What about fraud prevention and security?
This is the grey area. The "strictly necessary" exception can cover security measures that protect a service the user asked for, such as a login or a payment. The Article 29 Working Party (now the EDPB) accepted that reasoning for security cookies in its Opinion 04/2012, and our guide to strictly necessary cookies gives examples. The exception is narrow: it covers the security of the requested service, not a vendor reusing the same fingerprint for advertising or cross-site profiling. The ICO's own example of fraud detection by a third-party security provider states that regulation 6 applies. Document the assessment, limit the signals to what the security purpose needs, and never reuse them for marketing.
Google's 2025 policy change does not change the law
In December 2024, Google announced that from 16 February 2025 it would no longer prohibit organisations using its advertising products from employing fingerprinting techniques. The ICO responded on 19 December 2024: it considers that fingerprinting is not a fair means of tracking users online, because it is likely to reduce people's choice and control, and it called the change irresponsible. It reminded businesses that data protection law, including PECR, applies and that they must give users fair choices before using fingerprinting, including consent where necessary.
The lesson for site owners is simple. A platform's policy decides what its customers may do under its contract, not what the law allows. If an advertising or analytics vendor uses fingerprinting on your site, the consent requirement is yours.
Can users block fingerprinting?
Only partly, which is one reason regulators are strict. The CNIL notes that cookie management and blocking tools do not let users oppose fingerprinting; it takes less accessible techniques, such as an extension that randomly alters the parameters the browser sends. Some browsers add their own protection: Firefox can block known fingerprinters through its Enhanced Tracking Protection and offers a stricter "Resist Fingerprinting" option.
For a website, the conclusion is that you cannot count on the visitor's browser to protect them. If a fingerprinting script runs before consent, the visitor had no real choice, and that is precisely what Article 5(3) is meant to prevent.
How to make fingerprinting compliant on your site
- Find it. List every third-party script and ask each vendor whether it collects device or browser signals to recognise users. Check the Network tab, not only the cookie list.
- Classify it. Advertising, attribution and cross-site analytics: consent required. Security strictly limited to the service the user requested: possibly exempt, with a written assessment.
- Block it before consent. The script must not load until the visitor accepts the relevant category. Rejecting must stop it as well, on every page.
- Disclose it. Name the vendor, the purpose and the signals collected in your cookie policy and privacy notice, even though no cookie is set. Our guide to local storage vs cookies under GDPR applies the same logic to other non-cookie storage.
- Verify after refusal. Load your pages, refuse consent and check that no request goes to the vendor's domain.
How FlowConsent handles fingerprinting scripts
FlowConsent treats a fingerprinting script like any other tracker. Scripts and iframes are blocked before consent and only load once the visitor accepts the matching category, so an advertising or attribution tag cannot collect device signals while the banner is still open or after a refusal. The automatic scan lists the cookies and third-party services your site loads, which gives you the vendor list to review. Compliance verification then loads your pages in a real browser while refusing consent and lists the tracker domains still contacted, so a script that bypasses the banner shows up in the report with a screenshot and the request log. FlowConsent is free up to 25,000 sessions per month and includes Google Consent Mode v2.