Skip to main content
Commerce Security logo, "All 12 PCI DSS Requirements in Plain English," "Get it now for free," "Complete Survival Guide" and a button toclick to get it
Category: CMP Implementation

Wait-for-Update

Also known as: wait_for_update
Simply put

Wait-for-Update refers to a configurable delay that tells tracking or analytics tags to pause briefly before they run, giving a user's consent choice time to be recorded first. The idea is that a tag should not fire on a default assumption when an updated consent signal may arrive moments later. This helps a site respect a visitor's actual cookie preferences rather than acting before those preferences are known.

Formal definition

Wait-for-Update (commonly implemented as a wait_for_update parameter, notably within Google Consent Mode) specifies a time window, typically expressed in milliseconds, during which tags defer execution while awaiting a consent state update from a consent management platform (CMP) or other consent signal. During this interval, the tagging framework holds or queues requests rather than acting immediately on default consent values; when an updated consent state is received (or the window elapses), tags proceed according to the resolved consent status. The mechanism addresses race conditions between page load and asynchronous CMP responses, but it is a technical control only: it does not itself determine whether the underlying consent is valid. Under the ePrivacy rules that govern placing or accessing information on a device, and the GDPR where personal data is processed, non-essential tags generally require prior, freely given, specific, informed, and unambiguous consent before firing, so a wait_for_update setting must be configured alongside a compliant consent flow. Implementation details, default behavior, and permitted delay values depend on the specific tagging or consent platform and are not standardized across vendors; the evidence provided does not establish vendor-specific defaults or values.

Why it matters

Cookie consent only protects users if tags actually respect the choices people make. On a typical page load, tracking and analytics tags and the consent management platform (CMP) that records a visitor's preferences load asynchronously, which can create a race condition: a tag may attempt to fire before the CMP has communicated the user's consent state. Without a mechanism to pause, a tag risks acting on a default assumption rather than on the visitor's actual preferences. Wait-for-Update addresses this timing problem by giving the resolved consent signal a short window to arrive before tags proceed.

This matters for compliance because under the ePrivacy rules that govern the placing of or access to information on a user's device, and under the GDPR where personal data is subsequently processed, non-essential tags generally require prior, freely given, specific, informed, and unambiguous consent before they fire. A tag that runs prematurely on a default value could place or read cookies, or process personal data, before valid consent exists. A wait_for_update setting reduces that risk by deferring execution until the consent state is known.

It is important to keep the limits of this control in view. Wait-for-Update is a technical timing mechanism only; it does not establish, validate, or improve the underlying consent. A site can implement a wait window and still fall short of EU requirements if the consent flow itself relies on pre-ticked boxes, implied consent, cookie walls, or other patterns widely regarded as non-compliant in most EU jurisdictions. Conversely, requirements differ under frameworks such as certain US state privacy laws, which often rely on opt-out rather than opt-in. The mechanism supports a compliant design but cannot substitute for one, and it does not replace legal judgment about whether consent is valid.

Who it's relevant to

Web developers and tag management teams
Developers who configure tracking, analytics, and advertising tags through a tag manager or consent framework are the primary implementers of a wait_for_update setting. They need to understand how the delay interacts with asynchronous CMP loading, how to choose a delay value that avoids race conditions without unduly harming page performance, and that vendor defaults and permitted values are not standardized. They should confirm behavior in their specific platform's documentation.
Privacy and data protection officers
Privacy officers should recognize Wait-for-Update as a technical control that supports, but does not guarantee, respect for a user's consent choices. It helps prevent tags from firing before a consent signal is recorded, but it does not make the underlying consent valid. DPOs need to verify that the wider consent flow meets applicable standards, which differ between the EU, the UK, and individual US states.
Legal and compliance counsel
Counsel assessing a site's cookie practices should treat a wait_for_update configuration as one part of a broader compliance picture rather than as evidence of lawfulness. The mechanism addresses timing, not the quality of consent. In most EU jurisdictions non-essential tags generally require prior consent that is freely given, specific, informed, and unambiguous, and the presence of a delay setting does not by itself demonstrate that this standard is met.
Marketing and analytics teams
Teams that rely on analytics and advertising data should understand that a wait window can slightly delay when tags fire and may affect data collection depending on how consent resolves. Configuring the delay is a trade-off between honoring consent choices and data completeness, and the appropriate settings depend on the platform in use and the applicable legal regime.

Inside Wait-for-Update

wait_for_update parameter
A configurable setting within Google Consent Mode that specifies a delay, expressed in milliseconds, during which tags hold their default behavior before an updated consent state is received. It is intended to give a consent management platform (CMP) time to load and communicate the user's choices before tags decide how to fire.
Default consent state
The initial consent values (for example, denied or granted) set before any user interaction. wait_for_update operates in conjunction with these defaults, governing how long the system waits for those defaults to be replaced by an explicit update reflecting the user's actual choices.
Consent update signal
The event, typically emitted by a CMP after the user interacts with a consent banner, that changes the consent state from its default. wait_for_update determines the window in which tags pause pending this signal rather than acting immediately on the default state.
Timing and race-condition handling
The mechanism addresses the sequencing problem that arises when tags may load before a CMP has resolved the user's consent. The parameter is a technical timing control; it does not itself determine the lawful basis for placing or reading cookies, which is governed under EU law by the ePrivacy rules for device access and by the GDPR for any subsequent processing of personal data.

Common questions

Answers to the questions practitioners most commonly ask about Wait-for-Update.

Is "wait_for_update" an unofficial or unrecognized term I should avoid using?
No. wait_for_update is an established, documented parameter within Google Consent Mode, and it is widely referenced in developer guidance and tag management practice. It is a legitimate technical setting rather than an informal or made-up term. It specifies a time window (in milliseconds) during which tags wait for a consent signal from a consent management platform before defaulting to the pre-set consent state. It is a technical implementation detail, however, and using it does not by itself resolve any legal question about whether valid consent has been obtained.
Does configuring wait_for_update make my cookie setup compliant?
No. wait_for_update is a timing mechanism that helps ensure tags do not fire before a consent decision is available; it supports, but does not establish, compliance. Whether your setup meets legal requirements depends on the underlying consent standard applicable in your jurisdiction. In most EU jurisdictions, valid consent must generally be freely given, specific, informed, and unambiguous, and prior consent is typically required before non-essential tracking. Under many US state frameworks, an opt-out model may apply instead. The parameter is a tool that helps enforce your consent logic technically, but legal judgment about the consent design remains necessary.
What value should I set for wait_for_update?
The parameter takes a duration in milliseconds representing how long tags should wait for a consent update from your CMP before proceeding with the default consent state. The appropriate value depends on how quickly your CMP loads and communicates the user's consent choice; it should generally be long enough to capture the consent signal reliably but not so long that it noticeably delays legitimate tag behavior. Because optimal values depend on your specific CMP, site performance, and loading order, testing in your own environment is advisable. This definition does not prescribe a specific numeric value.
How does wait_for_update interact with default consent states?
wait_for_update is typically used alongside a default consent configuration that specifies whether categories such as analytics or advertising storage are granted or denied before a user acts. The parameter defines how long the system waits for the CMP to send an updated consent state before falling back to those defaults. In most EU jurisdictions, defaults for non-essential purposes are generally set to denied until affirmative consent is captured. How you configure defaults is a compliance-relevant decision that depends on the applicable legal regime and is separate from the timing behavior itself.
Does wait_for_update apply to non-cookie technologies like pixels and SDKs?
The parameter operates within Google Consent Mode and governs the behavior of tags managed through that mechanism, which can include tags responsible for pixels and similar technologies configured in that environment. It is important to note that the same consent rules that apply to cookies generally extend to other technologies that store or access information on a device, such as pixels, local storage, SDKs, and fingerprinting, even though they are not literally cookies. A timing parameter in one tagging system does not, however, automatically govern every tracking technology on your site; each should be reviewed against your overall consent approach.
How do I verify that wait_for_update is working as intended?
Verification generally involves confirming that tags do not fire in a manner inconsistent with the user's consent state during the wait window, and that the consent update from your CMP is received and applied before the default is used. This is typically checked through browser developer tools, tag debugging utilities, and testing across different consent scenarios and load conditions. Because behavior can vary with CMP configuration, network timing, and script load order, testing in your live or staging environment is important. This definition does not cover product-specific debugging steps, which may change over time.

Common misconceptions

Setting a wait_for_update value makes a website's cookie handling compliant.
The parameter is only a timing control that delays tag behavior until a consent signal arrives. It supports an implementation but does not establish valid consent. Under EU law, consent must still be freely given, specific, informed, and unambiguous through a clear affirmative action, and the parameter does not replace that legal requirement or the underlying legal judgment.
wait_for_update controls whether cookies are placed on the device.
The parameter governs how long tags wait before acting on the consent state; the exempt or consent-requiring nature of a given technology is a separate question. In most EU jurisdictions, strictly necessary cookies are generally exempt while analytics and advertising cookies and comparable technologies such as pixels or SDKs typically require prior consent regardless of the timing value chosen.
The behavior of wait_for_update is uniform across all jurisdictions.
The parameter itself behaves consistently as a technical setting, but the consent obligations it is meant to help implement differ by jurisdiction. The EU and UK generally rely on prior opt-in consent for non-essential cookies, whereas several US state frameworks such as the CCPA and CPRA in California often rely on opt-out approaches, so the same configuration may map to different compliance expectations.

Best practices

Treat wait_for_update as a timing control that supports, but does not substitute for, a properly configured CMP and a documented lawful basis under the applicable regime.
Coordinate the wait_for_update delay with your CMP load time so tags do not act on default consent states before the user's actual choices have been resolved, while testing that the delay does not silently allow non-essential tags to fire prematurely.
Confirm that strictly necessary cookies and non-essential cookies are categorized correctly, since the parameter does not change whether a given technology requires prior consent in EU and UK contexts.
Validate behavior separately for each jurisdiction you serve, recognizing that EU and UK opt-in expectations differ from opt-out approaches under US state laws such as the CCPA and CPRA.
Maintain consent logging and record-keeping independent of this parameter, so you can demonstrate how and when consent was obtained rather than relying on timing configuration alone.
Document the chosen delay value and rationale, and revisit it as CMP behavior, tag inventory, and regulatory guidance evolve, since practice and enforcement positions can change over time.
Promotional banner graphic asking if you are ready for PCI DSS 4.0 with a call-to-action to get the guide