Skip to main content
The state of ai impact assessment
Category: Auditing and Scanning

Cookie Audit

Also known as: Cookie Scan, Cookie Check, Website Cookie Audit
Simply put

A cookie audit is a systematic review of all the cookies and similar tracking technologies that a website places on or reads from a visitor's device. It records details such as where each cookie comes from, what category it falls into, and how long it lasts, helping an organization understand how its site actually uses tracking. The results are typically used to check whether the site's practices align with applicable privacy and cookie rules.

Formal definition

A cookie audit is a structured discovery and documentation exercise that inventories every cookie, and generally other client-side technologies such as pixels, tags, SDKs, and local storage, set or accessed by a website, whether first-party or third-party. Practitioners typically record each item's source, purpose or category (for example strictly necessary, functional, analytics, or advertising), scope, and lifespan or expiry, and may map these findings against consent management configuration to identify gaps such as trackers firing before consent. It is commonly conducted as a recurring exercise, using manual review, automated scanning tools, or a combination, to support assessments against frameworks such as the EU GDPR and ePrivacy Directive, the UK regime, and US state laws including the CCPA and CPRA; scope and cadence vary by organization. An audit supports compliance efforts and record-keeping but does not by itself establish legal compliance, which depends on legal judgment and the specific facts and jurisdictions involved. Interpretations of what constitutes adequate coverage and categorization can differ, and this definition does not resolve those contested points.

Why it matters

A cookie audit gives an organization an accurate picture of what tracking technologies its website actually deploys, which is often more extensive than teams assume. Third-party tags, pixels, SDKs, and cookies can be introduced by marketing tools, embedded content, or vendor scripts without central oversight, and without an inventory it is difficult to know what is firing, from where, and when. Because EU rules under the ePrivacy Directive govern the placing of and access to information on a user's device, and the GDPR governs any personal data processed thereafter, an organization typically needs to understand its actual cookie behavior before it can assess whether its consent practices align with applicable law.

Audits are particularly useful for surfacing gaps between what a site says it does and what it actually does. For example, an audit may reveal analytics or advertising cookies firing before a user has given consent, or trackers that are not disclosed in the site's cookie notice. In most EU jurisdictions, non-essential cookies generally require prior, freely given, specific, informed, and unambiguous consent, so trackers that load before that affirmative action can indicate a compliance gap. In the UK the position is broadly similar, while US state frameworks such as the CCPA and CPRA more commonly rely on opt-out mechanisms, meaning the significance of a given finding depends on the jurisdictions involved.

It is important to keep the limits of an audit in view. An audit supports compliance efforts and record-keeping, but it does not by itself establish legal compliance, which depends on legal judgment and the specific facts and jurisdictions at issue. Interpretations of what counts as adequate coverage or correct categorization can differ, and an audit is a point-in-time snapshot that can quickly become outdated as a site changes.

Who it's relevant to

Privacy officers and data protection professionals
A cookie audit provides the factual inventory these professionals need to assess how a website uses tracking technologies and whether those practices align with applicable privacy and cookie rules. It also supports record-keeping, though the audit itself does not establish legal compliance.
Legal counsel and compliance teams
Audit findings help counsel evaluate whether trackers require consent, whether they fire before consent is obtained, and how obligations differ across the EU, UK, and US state regimes such as the CCPA and CPRA. Interpreting the significance of findings depends on legal judgment and the specific facts and jurisdictions involved.
Web developers and technical teams
Developers use audits to identify every cookie, pixel, tag, SDK, and local storage item a site deploys, including third-party scripts introduced by embedded content or vendor tools. This helps them locate trackers that load before consent and align technical behavior with the consent management configuration.
Marketing compliance teams
Marketing teams often introduce analytics and advertising technologies that an audit can surface, including those not disclosed in a site's cookie notice. Audits help these teams understand which of their tools require consent and confirm that tags are governed by the site's consent mechanism.

Inside Cookie Audit

Cookie and tracker inventory
A catalogue of the cookies, pixels, local storage entries, SDKs, and similar tracking technologies present across a website or app. A thorough audit looks beyond literal cookies, because non-cookie technologies generally fall within the same ePrivacy rules governing the storing of or access to information on a user's device.
Categorization of technologies
Classification of each identified item into categories such as strictly necessary/essential, functional, analytics, and advertising. Under EU law, strictly necessary cookies are generally exempt from consent, while analytics and advertising cookies typically require prior consent; correct categorization drives the consent obligations that follow.
Purpose and duration details
For each technology, a record of its purpose, the party that sets it (first- or third-party), its retention or expiry period, and any data transfers involved. These details support the informed component of valid consent and help identify any personal data processing that would engage the GDPR in addition to the ePrivacy rules.
Consent flow and CMP review
An assessment of how consent is requested, recorded, and honored, including any consent management platform (CMP) configuration, banner design, and whether tags fire only after a clear affirmative action. This may also cover handling of signals such as Global Privacy Control where relevant.
Record-keeping and evidence
A review of consent logs and documentation demonstrating when and how consent was obtained or refused. Maintaining such records supports accountability, though the specific expectations vary by jurisdiction and evolving regulatory guidance.
Scope and jurisdictional context
Identification of the geographic and legal regimes that apply to the audited property, since obligations differ between the EU, the UK, and individual US states such as under the CCPA and CPRA, with the EU/UK generally following an opt-in model and several US states relying on opt-out.

Common questions

Answers to the questions practitioners most commonly ask about Cookie Audit.

Does a cookie audit on its own make my website compliant?
No. A cookie audit is a fact-finding exercise that identifies and categorizes the cookies and similar technologies on your site; it does not by itself establish compliance. The findings still have to be acted upon, for example by configuring your consent management platform, updating your cookie notice, and blocking non-essential technologies until valid consent is obtained where that is required. In most EU jurisdictions, compliance depends on whether the placing of and access to information on the device meets ePrivacy requirements and whether any resulting processing of personal data meets the GDPR, both of which require legal judgment beyond the audit itself. An audit supports compliance but does not replace it.
Is a cookie audit only about cookies?
No, despite the name. A thorough audit should also cover similar technologies that fall within the same rules even though they are not literally cookies, such as tracking pixels, local storage, software development kits (SDKs) in apps, and fingerprinting techniques. In most EU jurisdictions the ePrivacy rules on storing or accessing information on a user's device apply to these technologies regardless of the specific mechanism used, so limiting an audit to HTTP cookies alone typically leaves gaps.
How often should a cookie audit be repeated?
There is no single universally mandated frequency. Because third-party scripts, tags, and vendors change over time, many organizations repeat audits periodically and also after significant site or marketing changes. The appropriate cadence depends on how frequently your site and its integrations change and on the expectations of the relevant data protection authorities, which can evolve. Continuous or automated scanning may supplement, but does not necessarily replace, a manual review.
How do you categorize the cookies and technologies found during an audit?
Cookies and similar technologies are typically grouped by purpose, commonly into categories such as strictly necessary or essential, functional, analytics, and advertising. This categorization matters because strictly necessary cookies are generally exempt from consent, whereas analytics, advertising, and functional cookies typically require prior consent under EU law. Categorization can be contested at the margins, since whether a given cookie is genuinely essential depends on facts about its actual purpose rather than on how a vendor labels it, so this step often calls for legal judgment.
What information should an audit record for each cookie or technology identified?
Useful fields commonly include the cookie or technology name, the party that sets it (first party or a named third party), its stated purpose and category, its duration or persistence, and whether it involves the processing of personal data. Capturing the vendor and purpose supports both your cookie notice and, where applicable, consent record-keeping. Note that some of this information depends on details from third-party providers that may not be fully transparent, so records should reflect what can be reliably determined.
How does an audit connect to configuring a consent management platform?
The audit provides the inventory that a consent management platform (CMP) needs to function correctly, mapping each technology to a category so the CMP can block or allow it according to the user's choices. Where prior consent is required, as is generally the case for non-essential technologies in the EU, non-essential cookies should be prevented from firing until valid consent is obtained. The audit findings can also inform consent logging and disclosures. A CMP supports these steps but does not guarantee compliance and does not remove the need for legal review of the categorization.

Common misconceptions

A cookie audit only needs to catalogue actual HTTP cookies.
Similar technologies such as pixels, local storage, SDKs, and fingerprinting generally fall within the same ePrivacy rules on storing or accessing information on a device, so a meaningful audit should cover these as well, not just literal cookies.
Completing a cookie audit or deploying a CMP makes a site compliant.
An audit and a CMP support compliance but do not guarantee it. Compliance depends on legal judgment applied to the specific facts, correct categorization, valid consent mechanics, and adherence to the applicable jurisdictions' rules, which continue to evolve.
The findings and consent requirements from one audit apply the same way everywhere.
Obligations vary by jurisdiction. In most EU jurisdictions valid consent must be freely given, specific, informed, and unambiguous with a clear affirmative action, whereas some US state frameworks rely on opt-out. An audit should account for the geographic scope of the property rather than assume a single standard.

Best practices

Scan and inventory the full range of tracking technologies in use, including pixels, local storage, SDKs, and fingerprinting, not just conventional cookies, and repeat the scan periodically since deployed technologies change over time.
Categorize each technology by purpose and verify that strictly necessary items are treated as exempt while analytics, advertising, and functional technologies are gated behind prior consent where required under EU and UK law.
Confirm that no non-essential technologies fire before a clear affirmative action, and check for non-compliant patterns such as pre-ticked boxes, implied consent from continued browsing, or cookie walls in EU jurisdictions.
Map the applicable legal regimes for each property and reflect the relevant differences, such as opt-in expectations in the EU/UK versus opt-out approaches under frameworks like the CCPA and CPRA, and handling of signals such as Global Privacy Control where applicable.
Review CMP configuration and consent logs to ensure consent and refusals are accurately recorded and retained, supporting accountability without assuming any tool alone satisfies legal obligations.
Document the audit's scope, assumptions, and any unresolved or contested questions, and involve legal counsel to interpret findings against current and evolving data protection authority guidance.
Promotional banner graphic asking if you are ready for PCI DSS 4.0 with a call-to-action to get the guide