Skip to main content
Troubleshooting

Investigate cookies that appear before consent

A cookie being present does not by itself tell you when it was created or what it does.

1. Start a fresh test session

Start with a fresh test session and record the expected no-choice behavior. Clearing data for your test website can sign you out of that site.

2. Inspect before any choice

Inspect network responses and browser storage before interacting with the banner. In Chrome DevTools, cookies are under Application → Storage → Cookies for the relevant origin. Record the cookie name and domain; avoid copying cookie values, which can contain identifiers.

3. Separate existing and new cookies

In browser developer tools, distinguish an existing cookie from a cookie newly written during this test, and inspect the request or response responsible, such as a Set-Cookie response header. A cookie that already existed is not evidence that this page wrote it before consent.

4. Check its purpose and loading order

Review the cookie’s actual purpose before deciding whether it is optional. Check script order, auto-blocking, tag-manager behavior and embedded content.

5. Repeat after each choice

Google Consent Mode Advanced can produce cookieless requests while consent is denied, so a request alone does not prove cookie storage. Repeat after rejection and acceptance, recording only non-sensitive evidence.

See the technical consent test matrix.

Further help from Chrome: View, add, edit, and delete cookies

Technical guides