analytics_storage
analytics_storage is one of the consent settings used in Google's Consent Mode to indicate whether a user has agreed to storage used for analytics purposes, such as analytics cookies. When it is set to 'denied,' Google's tags are instructed not to use that storage, though limited cookieless measurement may still be possible through mechanisms like URL passthrough. It is one of several signals a website communicates to Google based on a user's cookie consent choices.
In Google Consent Mode, analytics_storage is a consent parameter that governs storage (such as cookies) related to analytics functionality. It functions as an upstream qualifier that controls which identifiers are sent with analytics pings; when set to 'denied,' cookie-based storage is withheld and Google may fall back to cookieless approaches such as URL passthrough to send event- and session-based analytics data (including key events). It is one of four consent parameters used in Consent Mode v2, alongside ad_storage, ad_user_data, and ad_personalization, where implementation of the full v2 signal set is required primarily for properties serving EEA/UK users that rely on Google's ad-related services; properties not using those services are not compelled to implement Consent Mode v2 in the same way. The state of analytics_storage (granted or denied) is intended to reflect the user's consent decision, but the parameter itself is a technical signal and does not by itself determine whether the underlying consent is valid under the ePrivacy rules governing storage on a user's device or under the GDPR governing any resulting personal data processing; those assessments require separate legal judgment and vary by jurisdiction.
Why it matters
analytics_storage sits at the boundary between a user's cookie consent choice and how Google's analytics tags behave, which makes it a practical concern for anyone responsible for accurate measurement and defensible compliance. When the parameter is set to 'denied,' Google's tags are instructed not to use cookie-based storage for analytics, and the platform may fall back to limited cookieless measurement such as URL passthrough to send event- and session-based data. Misconfiguring this signal, leaving it 'granted' when a user has not consented, for example, can mean storage is used on a user's device without a valid legal basis under the ePrivacy rules that govern such storage in most EU jurisdictions and the UK.
Who it's relevant to
Inside analytics_storage
Common questions
Answers to the questions practitioners most commonly ask about analytics_storage.

