Cookie Write Audit Guide

Cookie writes are expected in many tracking flows, but uncontrolled writes can cause compliance and attribution risk.

Expected patterns

1. Session IDs on landing domain with clear lifetime policy.
2. Short-lived click tokens on dedicated tracking domains.
3. Domain-scoped identifiers aligned with attribution window.

Risk signals to investigate

1. New third-party cookie domains appearing mid-chain.
2. Too many cookies per hop or unexpectedly long expiration.
3. Cookie writes without visible business purpose in campaign logic.

Operational playbook

1. Inspect Set-Cookie by hop and capture raw response headers.
2. Correlate suspicious writes with parameter loss and source redirects.
3. Escalate with timestamp, hop URL, and cookie key evidence.

FAQ

Are all cookie writes in redirect chains bad?

No. Legitimate attribution systems often set session and click-reference cookies. Focus on unexplained domains, excessive lifetimes, or unrelated keys.

What cookie attributes should I review first?

Start with domain, expiration, SameSite, HttpOnly, and Secure flags, then validate whether each cookie has a clear tracking purpose.

How can cookie issues affect attribution?

If attribution cookies are written to the wrong domain or blocked by policy, conversions may not map to the original ad click.

Inspect cookies now

Back to 301 vs 302 guide