WQI.web​qualityindex
Method v1.2.0 86 live / 86 total factors methodology

methodology / Privacy & Compliance / #46

Cookie banner presence + CMP detection

#46 · Required · Web Standards · legal · Privacy & Compliance · weight 1.3% · impl implemented · method v1.2.0

Web Standards item — Legal

This factor is part of Web Standards — the table-stakes binary layer of the score. It is graded pass/fail and gates the Web Quality score; it is not weighted into Web Quality itself.

Pass criteria
Tolerant — passes on pass or warn.
Web Standards label
Cookie consent (where required)
Excluded for
Personal site
Only in
European Union, United Kingdom
Why it's required
GDPR and the UK GDPR require a CMP for any site setting non-essential cookies. Hard requirement in those jurisdictions.
Same factor, two depths.

What we measure

EU and California visitors are entitled to cookie controls. A compliant cookie banner is required if you serve them and use any tracking cookies.

How to improve your score

Install a Consent Management Platform — free tiers are available from Cookiebot, Termly, and Osano. Configure it to block tracking cookies until the visitor consents.

Implementation

stale · v1 · seeded — no connector publish yet · source: freshcoat-discovery/src/connectors/privacy-legal.ts:scoreCookieBanner

Detection method

Gated by jurisdiction: only applies in EU/UK or sites that set non-essential cookies. When applicable, scans homepage HTML for known CMP fingerprints (OneTrust, Cookiebot, Quantcast Choice, TrustArc, etc.).

Detection sources

  1. Site classification (siteJurisdictions from src/site-classify.ts)
  2. Known CMP script fingerprint match in ctx.html

Scoring bands · soft ladder

Score Condition
100 recognised CMP fingerprint detected
30 applicable site (EU/UK or cookies set) but no CMP detected
n/a non-EU/UK site that doesn't set non-essential cookies — factor n/a

Evidence-key dictionary

What every notes string the connector emits means. Surfaces in the per-domain dossier evidence column.

cmp_detected_<vendor>
Recognised vendor's CMP found on the homepage.
no_cmp_in_applicable_jurisdiction
Site is EU/UK or sets non-essential cookies, but no CMP fingerprint was found.
n_a_no_eu_uk_jurisdiction_no_non_essential_cookies
Factor doesn't apply to this site.

Applicability

Required tier — Web Standards floor item. Required by GDPR/ePrivacy/CPRA in EU/UK/CA. US-only sites without non-essential cookies get n/a. Connector-level gate added Apr 29 (previously this factor false-failed every US-only site).

Changelog

  • 2026-04-29 · seed Initial seed from MethodologyRegistry bootstrap.

Facts

Ticket
WEBQ-46
Category
Privacy & Compliance
Status
live
Weight
1.3%
Data source
Service cost
Free — parse for CMP scripts (OneTrust, Cookiebot, Iubenda, Termly, etc.)
Scoring impl
implemented
Method version
v1.2.0

Implementation notes

Detect known CMP signatures in the HTML and loaded scripts.

When this applies

Cookie consent banners are graded for sites serving EU / UK / California users (GDPR, ePrivacy, CPRA). Other sites get n/a..

Scoring

Scoring formulas are versioned with the methodology. The current method (v1.2.0) maps raw measurements to pass, warn, fail. Factor weights determine how much each contributes to the composite — see the methodology index for the full table.

Cited by these standards

Standards in the Standards Library whose satisfiedBy requirement tree references this factor. Each link goes to the standard's full entry — methodology, scope, and the other factors it relies on.

Version history

Version Change Date
v1.2.0 Factor introduced. Status: live. Scoring impl: implemented. 2026-04-25

← back to methodology