Decode Consent Mode v2 from a single GA4 hit
Every GA4 request carries two short codes, gcs and gcd, that record what consent the visitor gave and what your site set by default. Paste one and see whether your setup sends what Google needs.
Paste a GA4 hit
How to find a GA4 hit
- Open your site in Chrome, then open DevTools (F12 or Cmd+Option+I) and go to the Network tab.
- Type
collectin the filter box and reload the page. - Click the first request to
google-analytics.com/g/collect, copy its URL, and paste it above.
To see what happens after consent, accept the banner and copy a later hit: the "update" column should change.
What the codes mean
gcs is the older format: G1 followed by one digit for ad_storage and one for analytics_storage (1 = granted, 0 = denied). gcd is the Consent Mode v2 format: one letter per signal that records both the default your site set and any update after the visitor chose. Letters like l mean "not set", q means denied by default and still denied, r means denied by default then granted.
Our Consent Mode v2 guide explains how to set defaults correctly with your consent tool.
FAQ
What is the gcd parameter in GA4?
gcd is a short code on every GA4 and Google Ads request that records the Consent Mode v2 state of four signals: ad_storage, analytics_storage, ad_user_data and ad_personalization. Each letter encodes the default your site set and any update after the visitor made a choice.
What does gcs=G100 mean?
G100 means ad_storage and analytics_storage were both denied when the hit was sent. G111 means both granted, G101 means ads denied and analytics granted.
Is anything I paste sent to noxtag?
No. The decoder runs entirely in your browser; nothing you paste leaves the page.
Found a problem you'd rather not fix yourself?
We audit and fix GA4, GTM and consent setups at a fixed price.
More free tools
Tracking health check
Is GA4 counting correctly and is consent working? 12 checks on any page, with what each problem means for you.
Cookies before consent
Is your site setting ad cookies before visitors agree? Get a fix ticket for your developer.
Who receives my visitor data?
Every ad platform your site sends data to, including old accounts you forgot about.
Pages missing from GA4
Find sections of your site that never show up in your reports, or that load a second container.
How far back can I analyse?
See how much history your retention setting is costing you, and the two-minute fix.
Is server-side tagging worth it?
Cost on Cloud Run vs Stape compared with your ad spend, with a straight answer.