Back to blog
Privacy·November 2026·8 min read

Cookie drift: why your consent banner breaks after every deploy

Your store passed a cookie audit in June. By August, three new cookies were firing before consent. Nobody changed the consent banner. Nobody knew.

This is cookie drift. It is the reason one-time compliance fixes do not hold, and why most ecommerce stores are out of compliance within weeks of getting their consent setup right. It happens silently, automatically and constantly.

What cookie drift actually is

Cookie drift is the gradual breakdown of a store's consent setup after it was initially made compliant. The banner still appears. The CMP is still running. But behind the scenes, cookies are firing before users give consent, or after they explicitly declined.

No error message. No alert. No indication anything has changed.

From a legal standpoint, the banner is decorative at that point. GDPR requires that non-essential cookies fire only after a user actively accepts them. If tracking pixels load before that acceptance, you are processing personal data without a legal basis. The banner's presence is irrelevant.

Why it keeps happening

Ecommerce stores are not static. Marketing teams add new tools constantly. A typical mid-market store adds or changes several tags per month. Each addition is a potential gap.

Here are the four most common causes:

  • New marketing tags via Google Tag Manager. GTM is designed to let non-technical users deploy tracking code fast. That is its value and its compliance risk. When someone adds a new Klaviyo tag, a TikTok Pixel, an Attentive SMS tag or a new retargeting script, the CMP has no automatic knowledge of it. The tag fires. The cookies it sets are not in the CMP's block list. They load before consent.
  • Theme and platform updates. Shopify themes, WooCommerce plugins and Magento extensions often bundle their own analytics or performance scripts. A theme update can silently introduce new cookies. A checkout extension update can add a session tracking script. These are not visible in GTM and do not trigger any review.
  • CMP version changes. CMP vendors push updates to their own scripts. A version change can alter how the CMP scans for cookies, which categories it creates or how it handles specific tag managers. After a CMP update, scripts that were previously blocked may slip through until the configuration is re-validated.
  • A/B testing and personalization tools. Optimization platforms like VWO, Optimizely and Dynamic Yield inject scripts as part of running experiments. When a new experiment goes live, it can introduce new cookies that sit outside the CMP's configured scope.

How fast drift happens: a realistic timeline

Research on live ecommerce sites consistently shows the same pattern. A store completes a cookie audit and brings its consent setup into compliance. Within four to eight weeks, it is out of compliance again.

Marketing teams operate on a weekly cadence. New tags, new tests, new integrations. Each one carries cookie drift risk. Multiply that by twelve months and the gap between your last audit and your current state can be enormous.

Supervisory authorities do not grade on a curve. The question is not whether you were compliant six months ago. The question is whether you are compliant today, at the moment a complaint lands or an authority runs a scan.

A real-world scenario

Your marketing manager adds a Klaviyo email capture tag in GTM to support a new product launch campaign. The tag is set to fire on all pages. Klaviyo sets three cookies on load: a session identifier, a device fingerprint used for cross-device tracking and a marketing attribution cookie.

Your CMP was configured when you set it up nine months ago. Klaviyo was not in scope at that time. The CMP has no rule blocking Klaviyo tags. The tags are not assigned to any consent category.

From the moment the tag goes live, those three cookies fire for every visitor, regardless of consent status. Users who declined all cookies get the same cookies as users who accepted everything. Users in the EU, whose data is being sent to Klaviyo's US servers, have given no consent to that transfer.

Your banner still shows. Your compliance dashboard still shows green. Nothing indicates a problem.

This is not a hypothetical. It is the most common form of consent failure in ecommerce stores with active marketing teams.

Why one-time audits do not solve this

An audit is a snapshot. It tells you the state of your consent setup at the moment the auditor checked. Twelve hours later, your marketing team can have added a tag that breaks it.

Compliance agencies charge 5,000 to 20,000 euros for a thorough cookie consent audit. That audit is accurate for approximately one sprint cycle of marketing activity. After that, without monitoring, you are flying blind.

This is not a criticism of auditors. An audit of a complex store takes time and expertise. But a point-in-time review cannot account for future changes. The audit model was designed for static IT systems. Ecommerce stores with active marketing teams are not static.

The gap between audits is where regulatory risk accumulates. A supervisory authority complaint filed today does not care about an audit you passed in January.

How to detect cookie drift

Detection requires comparing what cookies actually exist against what your consent setup says should exist. There are three browser states to compare:

  1. Pre-consent state. What cookies fire before the user interacts with the banner at all. Only strictly necessary cookies (session management, cart, security) should be present. Any analytics, advertising or tracking cookie here is a violation.
  2. Post-rejection state. What cookies fire after a user clicks "decline all" or equivalent. This should be identical to the pre-consent state. If additional cookies appear here, your CMP blocking is not working.
  3. Post-acceptance state. What cookies fire after a user accepts all categories. This should match your documented cookie inventory. Any cookie here that is not in your privacy policy is an undisclosed processing activity.

Comparing these three states gives you a precise picture of what is leaking through consent controls. Any cookie in state one or state two that is not strictly necessary is a live GDPR violation.

The challenge is that this comparison needs to happen regularly. Manual browser checks are time-consuming and inconsistent. Automated weekly scans are the only practical approach at scale.

How continuous monitoring catches drift before it compounds

Automated consent monitoring runs the three-state comparison on a fixed schedule, weekly at minimum. When a new cookie appears in the pre-consent or post-rejection state, an alert fires immediately.

This changes the economics of cookie compliance. Instead of a 15,000 euro audit every twelve months followed by twelve months of unknown drift, you get a weekly signal that tells you exactly when and where consent coverage broke.

For a marketing team adding a new tag: the drift is caught within days. The fix is specific: add this tag to this CMP category, or block it at the GTM trigger level. The gap is narrow. The regulatory exposure is minimal.

Without monitoring, that same drift runs for months before anyone notices. By that point, you have processed data for hundreds of thousands of users without valid consent. That is a materially different enforcement scenario than a gap caught and fixed in a week.

For more context on how consent failures compound into larger violations, see our guide on the biggest GDPR fines in ecommerce and what each one was actually about.

Governance: the other half of the fix

Monitoring catches drift. Governance prevents it.

The most effective process is a simple gate: any new tag in GTM must be classified before it goes live. What cookies does it set? Which CMP category should block it? Has the CMP configuration been updated to include it?

This does not require a legal review for every tag. It requires a checklist and an owner. Marketing adds the tag, compliance owner confirms CMP coverage, tag goes live. The whole process can take ten minutes.

The same gate applies to theme updates and plugin additions. Before deploying, run a quick comparison scan. If new cookies appear, classify and block them before the update goes to production.

Monitoring and governance together are what a continuous compliance posture looks like in practice. Monitoring catches what governance misses. Governance reduces the volume of monitoring alerts. Both are necessary.

Frequently asked questions

Complyko runs automated cookie drift scans on your store: weekly three-state comparisons that catch new consent failures before they compound into regulatory exposure. Consent monitoring starts at $199/mo.

Get your free scan →