Skip to content
complianceblog.dev

Browser fingerprinting needs consent too, and your bot script is the hard case

Browser fingerprinting falls under the same consent rule as cookies. What the Firefox thread got right, and when your bot and fraud scripts are exempt.

A row of plain oak blocks of different heights standing side by side on a putty ground. A cobalt cord runs along their top edges, tracing one irregular stepped profile, and ends at a small brass peg on the last block.
Generated for complianceblog.dev

Browser fingerprinting is covered by the same consent rule as cookies. In the EU and the UK, a script that reads your visitor’s screen size, fonts and graphics card and sends the result to a server is reading information from their device, and that needs consent unless it is strictly necessary for something the visitor asked for. The question my team actually argued about was narrower and harder: does the bot check on our login page count as strictly necessary? The answer depends on which side of the Channel you are on, and on what else the script does.

This week’s discussion about Firefox’s new protections asked the user’s question: how do I stop being fingerprinted? Below I take the site owner’s side: the comments worth answering, what the law says, the bot and fraud case, what the discussion missed, where tools fit, and a framework for your team.

1

Where the browser fingerprinting argument is happening

On 10 November 2026 Mozilla published the results of a study behind its latest Firefox protections. If you are asking what browser fingerprinting is, its definition is a good start: details such as fonts, screen dimensions and graphics hardware, combined into a recognisable profile. Each piece may seem ordinary, but together, they can enable trackers to single you out across websites, even without storing a cookie.

The study used measurements from nearly 25 million Firefox users. Firefox can now report processor counts as either 4 or 8 instead of the exact number, and hides the size and position of the taskbar or dock from screen APIs. Mozilla is careful about what this achieves: These do not make fingerprinting impossible as trackers can surely adapt.

The detail that matters for site owners is which scripts Mozilla measured. It simulated the measurements that fingerprinting scripts from Fingerprint Pro, Signifyd and Akamai collect. Fingerprint sells its product to stop fraud and detect bots; Signifyd sells fraud and chargeback protection for online commerce. These are not ad networks quietly following people around. They are the kind of script teams add to checkout and login pages on purpose.

The discussion on Hacker News reached 177 points and 65 comments on 11 November 2026. A smaller thread about cookie consent from 26 October 2026 had already circled the same point from the other side.

2

What the thread said, and my replies

Good that Firefox is catching up with Brave, but neither browser can do anything about Cloudflare Turnstile, which a well-known search engine uses to fingerprint its visitors. (comment, 29 replies)Hacker News, 11 November 2026
Milan RookCloudflare says Turnstile collects signals such as IP address, TLS fingerprint, user agent and sitekey to detect and block bots, and that they are strictly necessary for that purpose. That is the vendor’s claim. Whether it holds on your site depends on what the check protects and what else the data feeds, which is the hard case below.
Put the APIs that leak fingerprinting data behind a per-site permission prompt, like the camera. A reply pointed out that canvas reads already prompt in Firefox on the desktop. (comment)Hacker News, 11 November 2026
Milan RookA browser prompt would help users. It would not change your obligation. Canvas fingerprinting on your page is your script reading the device, and the consent question is yours to answer before the browser ever asks.
People on the front line against bot abuse need these signals. Privacy may have to take a back seat until there is an anonymous proof of humanity. (comment)Hacker News, 11 November 2026
Milan RookThis is the honest version of the problem, and the law does not dismiss it. Both the EU and UK readings leave room for security. The room is just smaller than “any signal that helps against bots”, and it closes as soon as the same data feeds anything else.
Cookie banners are not really about cookies. They are about tracking, which can be done with or without cookies. (comment)Hacker News, 26 October 2026
Milan RookCorrect. The rule talks about storing and reading information on a device, and a cookie is only one way of doing that.
3

What the law says about browser fingerprinting

The legal requirement in the EU is Article 5(3) of the ePrivacy Directive. Storing information on a user’s device, or gaining access to information already stored there, needs consent, with two exceptions: carrying out a transmission, or what is strictly necessary in order for the provider of an information society service explicitly requested by the subscriber or user to provide the service.

Device fingerprinting was put inside that rule more than ten years ago. The Article 29 Working Party, which the EDPB’s own guidelines still cite on the point, adopted Opinion 9/2014 on 25 November 2014: The key message of this Opinion is that Article 5(3) of the ePrivacy Directive is applicable to device fingerprinting. It went through the obvious uses. First-party analytics by fingerprinting needs consent. Fingerprinting for targeted advertising needs consent.

The EDPB brought this up to date in its Guidelines 2/2023, version 2.0, adopted on 7 October 2024. Two passages translate directly into code review comments. Paragraph 33: Additional examples would include JavaScript code, where the accessing entity instructs the browser of the user to send asynchronous requests with the targeted information. Paragraph 44: information a browser uses only locally is not access, but once that information or anything derived from it leaves the device, the rule applies. A hash computed in the browser and posted to a vendor is a derivation that left the device.

The ICO said the same for the UK when Google told advertisers that from 16 February 2025 it would no longer prohibit fingerprinting. Its response of 19 December 2024 was blunt: We think this change is irresponsible. It also noted that fingerprinting relies on signals people cannot easily wipe, so clearing site data does not help.

In the US there is no general prior-consent rule, but California’s definitions catch a fingerprint: a “unique identifier” under section 1798.140 is a persistent identifier that can recognise a device over time and across different services, and the definition names probabilistic identifiers among its examples. If a fingerprint is shared for advertising, it goes through the same opt-out paths I described in the FedEx piece.

4

The hard case: bot defence and fraud scripts

The EU and the UK have both carved out room for security, and the two carve-outs are not the same size.

The EU reading. The Working Party’s Opinion 04/2012 accepted “user-centric security” as strictly necessary, with cookies used to detect repeated failed login attempts as its example. Opinion 9/2014 extended that to fingerprinting, with a limit that matters for most bot products. The exemption does not […] cover the use of the technique that relate to the security of websites or third party services that have not been explicitly requested by the user. Data collected under the exemption may not be used for any secondary purpose. Read plainly, a fingerprint taken on a login form to protect the account the user is logging into fits. A fingerprint taken on every page view to protect the site in general is a much harder argument.

The UK reading. After the Data (Use and Access) Act 2025 changed PECR, the ICO finalised its guidance on 29 April 2026. Its list of activities that meet the strictly necessary exception includes ensuring the security of terminal equipment and preventing or detecting fraud. Two conditions come with it. Necessity is judged from the user’s point of view, not yours. And there is no sharing of purposes: If you use it for any other purpose as well, the exception does not apply and you must then get consent. The ICO also says click fraud detection is an advertising purpose, so it never qualifies.

Unresolved Whether site-wide bot defence, with no login or payment in play, is strictly necessary in the EU. The 2014 opinion points one way, Cloudflare’s privacy addendum points the other, and the EDPB’s 2024 guidelines deal with scope, not exemptions. An authority or a court will settle it. Until then, design so that the answer does not decide whether your site works.

Design decision

Milan Rook
Requirement
Reading device characteristics and sending them off the device needs consent unless strictly necessary for a service the user requested (ePrivacy Art. 5(3); PECR reg. 6 as amended, which names fraud prevention among its examples).
Pattern
Load the fingerprinting or bot-detection script only on the routes where the user is asking for a protected action (login, sign-up, checkout, password reset), never site-wide. Keep its output in a security log with its own retention, readable by the fraud service only, with no join to analytics or ad identifiers.
Control
A browser test that loads a content page with no banner answer and asserts no request reaches the bot vendor's endpoint; a second test on the login route that asserts it does. A data-flow review whenever someone proposes reusing the fraud score elsewhere.
Judgement
Whether a site-wide check is exempt in the EU, and whether your vendor's contract lets it reuse the signals across customers, which would be a secondary purpose. Both need legal input, not another engineering workaround.
5

What the discussion missed

The thread treated fingerprinting as a browser problem. For the person running a site, three things were missing.

The purpose is the whole test. The same canvas hash can be exempt in a login security log and need consent in an analytics table. The exemptions in both jurisdictions turn on the purpose, and on the data staying in it.

A vendor’s statement is not your exemption. Cloudflare writes that Turnstile’s signals are strictly necessary. That is the vendor describing its product; you are the one deploying it, on routes you choose, with data flows you control.

Fingerprinting cookies are not a category. Fingerprinting is what you do when you store nothing. That is why a scanner that only lists cookies can show nothing while a fingerprinting script runs. Konrad saw the same thing with cookieless recording in his session replay test, where one tool set no cookie and kept recording.

6

Where tools fit

You find these scripts in the network log, not the cookie jar. Open the page in a private window, do not touch the banner, and look for requests to fraud and bot vendors’ hosts. Browser developer tools do this for one page. The EDPS Website Evidence Collector, an open-source command-line tool from the European Data Protection Supervisor, does it from a script. I’d run PeekWell on it too, since it records what loads before a click and after each answer to the banner, though its pages do not claim it labels a script as fingerprinting.

Disclosure: I am affiliated with PeekWell and helped implement some of its checks, so weigh my enthusiasm accordingly.

No tool I know of can tell you whether your purpose is user-centric security. That part stays with your team and your lawyer.

7

A decision framework

Questions to take back to your team:

  1. Inventory. Which scripts on the site read device characteristics (canvas, audio, fonts, screen, hardware counts) and send anything off the device? Include bot checks, fraud tools, analytics and ad tags.
  2. Route. For each, on which pages does it load? Is the user asking for a protected action on that page, or just reading?
  3. Purpose. What is the output used for? If the answer has more than one item, the exemption is gone and you need consent.
  4. Storage. Where does the result live, for how long, and who can join it to other identifiers?
  5. Vendor. Does the contract let the vendor reuse your visitors’ signals for its other customers?
  6. Jurisdiction. Are you relying on the UK’s fraud example for EU visitors? Do not.
  7. Test. Can you prove, with a browser test, that the script does not fire before consent on routes where it is not exempt?

Whether your particular setup meets an exemption is a legal judgement that depends on facts no engineer can settle alone, and this is not legal advice. What engineering can do is make the answer cheap to change: one script, one purpose, loaded only where it is needed, and a test that fails when someone moves it.

Questions

Is browser fingerprinting legal?

It is not banned, but in the EU and the UK it falls under the same rule as cookies. Under Article 5(3) of the ePrivacy Directive reading information from a device needs consent unless it is strictly necessary for a service the user asked for. The Article 29 Working Party said in 2014 that this applies to fingerprinting. This is not legal advice.

Does browser fingerprinting need cookie consent?

Yes, where the consent rule applies. The EDPB's 2024 guidelines say Article 5(3) is not limited to cookies and covers JavaScript that instructs the browser to send information back. Fingerprinting for analytics or advertising needs consent; the same banner choice should govern it.

Is fraud prevention an exception to cookie consent?

In the UK, PECR as amended in 2025 lists preventing or detecting fraud among its examples of strictly necessary purposes, according to the ICO's final guidance. In the EU the accepted reading is narrower: security of a service the user requested, such as spotting repeated failed logins, not site-wide protection.

What is a website fingerprint?

A profile built from ordinary details a browser exposes, such as fonts, screen size and graphics hardware. Mozilla describes how, together, these details can single someone out across websites without storing a cookie. The ICO notes that clearing site data does not remove them.

Does a cookie banner cover fingerprinting?

Legally the same choice governs both, because the EDPB reads the rule as covering more than cookies. In practice it covers fingerprinting only if the script waits for the answer. Check your network log before you click anything: a request to a fingerprinting or bot-detection vendor before the choice is the thing to look at.

Sources

  1. Mozilla Security Blog, Open research, stronger privacy, Making Firefox users harder to fingerprint (10 November 2026)blog.mozilla.org
  2. Directive 2002/58/EC (ePrivacy Directive), Article 5legislation.gov.uk
  3. EDPB, Guidelines 2/2023 on Technical Scope of Art. 5(3) of ePrivacy Directive, version 2.0 (7 October 2024)edpb.europa.eu
  4. Article 29 Working Party, Opinion 9/2014 on the application of Directive 2002/58/EC to device fingerprintingec.europa.eu
  5. Article 29 Working Party, Opinion 04/2012 on Cookie Consent Exemptionec.europa.eu
  6. ICO, Our response to Google's policy change on fingerprinting (19 December 2024)ico.org.uk
  7. ICO, Guidance on the use of storage and access technologies, What are the exceptions?ico.org.uk
  8. Cloudflare, Turnstile Privacy Addendumcloudflare.com
  9. California Civil Code section 1798.140 (definitions)california.public.law
  10. Hacker News, discussion of Mozilla's post (11 November 2026)news.ycombinator.com

About the author

Milan Rook

Software engineer, Rotterdam. Law, translated into engineering. What does this requirement mean when someone has to build and operate the system?

More about Milan and every article