gcs Parameter
The gcs parameter is a value that Google adds to tracking requests sent to Google Analytics 4 and other Google tags when Google Consent Mode is in use. It communicates whether the user has consented to certain types of storage, such as for advertising and analytics, allowing Google's tags to adjust their behavior accordingly. It is one signal within a broader consent setup and does not by itself establish that consent was validly obtained under applicable law.
The gcs parameter is an encoded value appended by Google Consent Mode to collect/measurement API requests sent to Google services (for example, GA4). It transmits the consent state specifically for the ad_storage and analytics_storage consent types, using encoded values such as G100 (denied), G101, and similar codes to represent the combination of consent states. The parameter is set automatically by Consent Mode based on the configured consent signals and is interpreted by Google's tags to determine whether cookies/identifiers may be stored or whether cookieless/modeled measurement applies. Per Google's documentation and practitioner analysis, gcs reflects only ad_storage and analytics_storage; the additional consent signals introduced with Consent Mode v2 (such as ad_user_data and ad_personalization) are conveyed through other parameters rather than gcs. As a technical transport of consent state, gcs supports Consent Mode operation but is distinct from, and does not substitute for, meeting the legal standards for valid consent under the ePrivacy Directive's national implementations or the GDPR. The precise mapping of every gcs code and interactions with server-side or advanced Consent Mode implementations may vary and are not fully covered by this definition.
Why it matters
The gcs parameter provides a practical, observable signal that consent state is actually being transmitted to Google's tags. For compliance teams verifying a Google Consent Mode deployment, inspecting the gcs value in outgoing collect requests is one of the more concrete ways to confirm that a consent management platform's decisions are reaching Google Analytics 4 and other Google tags. When the parameter reflects a denied state (for example, an encoded value such as G100), it indicates that Consent Mode is instructing Google's tags to fall back to cookieless or modeled measurement rather than storing identifiers.
At the same time, the presence of a correctly populated gcs parameter should not be mistaken for proof of lawful consent. The gcs value only conveys the consent state that Consent Mode was configured to send; it does not demonstrate that consent was freely given, specific, informed, and unambiguous as required under the GDPR, nor that the ePrivacy Directive's national implementations governing storage on the user's device were satisfied. A gcs value can just as easily reflect a misconfigured banner, a default state, or consent obtained through non-compliant means. Relying on the parameter as evidence of compliance without examining how the underlying consent was collected is a common source of misplaced confidence.
The parameter is also limited in scope. As noted in Google's documentation and practitioner analysis, gcs reflects only the ad_storage and analytics_storage consent types. The additional signals introduced with Consent Mode v2, such as ad_user_data and ad_personalization, are conveyed through other parameters. Teams auditing a v2 implementation should therefore not treat gcs as a complete picture of the consent signals being transmitted, and should be cautious about drawing conclusions from it alone.
Who it's relevant to
Inside gcs Parameter
Common questions
Answers to the questions practitioners most commonly ask about gcs Parameter.
