How to Check if a Website Sets Cookies Before Consent

News desk, CyberRank
News recaps on advisories, outages and incidents that change third-party risk, checked against the sources they cite.
Part of: Supply Chain Security
To check if a website sets cookies before consent, open it in a private browser window, open the developer tools before you click anything on the cookie banner, and look at which cookies and third-party requests appear. CyberRank does the vendor-side version at scale: its privacy lens reviews each vendor's public privacy policy and consent practices as part of a rating from one web address in 10–60 minutes.
Key Takeaways
- Cookies before consent are the clearest sign of a privacy problem on a website, and CyberRank's privacy lens reviews vendors' consent practices alongside their security findings.
- Under the EU ePrivacy Directive, cookies that are not strictly necessary need consent before they are set, and the EU Court of Justice ruled in 2019 that a pre-ticked box is not consent.
- Third-party scripts are the usual cause: analytics, advertising and chat tools that load, and set cookies, before the banner is answered.
How to check if a website sets cookies before consent
You check if a website sets cookies before consent by loading it fresh and inspecting its cookies before you answer the banner, and CyberRank's privacy lens covers consent practices for every vendor you rate.
Session cookies for things like a shopping basket or load balancing are usually strictly necessary and allowed. Analytics, advertising and social-media cookies set before you answer the banner are the warning sign.
- Open a private or incognito window, so no old cookies or consent choices are stored.
- Open the browser's developer tools before you load the page (in most browsers, press F12).
- Load the website and do not click anything on the cookie banner.
- Look at the cookies the page has set: in Chrome and Edge under Application, then Cookies; in Firefox under Storage.
- Check the Network tab for requests to third-party domains such as analytics, advertising or chat providers.
- Click Reject on the banner, reload, and check again: nothing non-essential should appear.
What does EU law say about cookies before consent?
EU law says cookies that are not strictly necessary need the visitor's consent before they are stored, and CyberRank treats privacy as half of its 360-point rating budget for that reason.
National rules apply the Directive, so details differ by EU country. CyberRank supports these obligations; it does not by itself make an organisation compliant.
| Source | What it says |
|---|---|
| ePrivacy Directive 2002/58/EC, Article 5(3) | What it saysStoring or reading information on a user's device needs consent after clear information, unless it is strictly necessary for a service the user asked for |
| EU Court of Justice, Planet49 (C-673/17), 1 October 2019 | What it saysA pre-ticked checkbox is not valid consent, whether or not the cookies hold personal data |
| EDPB Guidelines 2/2023, final version adopted 7 October 2024 | What it saysExplains which tracking techniques, beyond classic cookies, fall under Article 5(3) |
| Indonesia, UU PDP (Law 27 of 2022), Article 20 | What it saysProcessing personal data needs a lawful basis, of which explicit consent for a stated purpose is one |
Why vendors' cookie practices are your risk
Vendors' cookie practices become your risk when their scripts run on your website or they process your customers' data, and CyberRank rates those vendors on privacy as well as security.
Most cookies set before consent come from third-party scripts: an analytics tool, an advertising pixel, a chat widget. If those scripts run on your pages, you are the one answering to the regulator. Scripts on payment pages raise security risk too, as our guide to Magecart attacks explains.
A vendor whose own website ignores consent is also a signal about how it treats the personal data you send it. Our guide to vendor privacy risk assessment covers what else to check.
Why CyberRank for vendor privacy checks
CyberRank puts privacy findings on the same scale as security findings for every vendor.
CyberRank rates what an organisation exposes publicly, and AI-powered questionnaires add internal evidence where you need it.
Create a free account to see how your organisation rates.
- Privacy lens: the public privacy policy and consent practices, for example bundled consent that is hard to refuse.
- Equal weight: half of the 360-point rating budget sits on the privacy side.
- UU PDP scored natively, alongside GDPR evidence for EU vendors.
- Pay per vendor: 20 credits ($20) per assessment, unlimited users; see pricing.
References
Primary sources for the outside facts on this page (accessed 25 November 2026), and the CyberRank brochure for CyberRank facts.
- Directive 2002/58/EC (ePrivacy Directive), Article 5(3), EUR-Lex
- Court of Justice of the EU, Planet49, Case C-673/17 (1 October 2019), EUR-Lex
- EDPB Guidelines 2/2023 on the technical scope of Art. 5(3) of the ePrivacy Directive
- UU PDP No. 27 Tahun 2022 (CyberRank regulation page)
- CyberRank Product Brochure 2026 (figures as of Oct 2026)
Frequently asked questions
Create a free account to see how your organisation rates.
CyberRank rates any organisation from its web address in 10–60 minutes: one IISRI® rating across 12 risk lenses, with no questionnaires, agents or system access. Your first assessment is ready within the hour.