FREE DEVELOPER & AD-OPS UTILITY
Google Consent Mode v2 Decoder. Decode gcd & gcs instantly.
Paste any GA4 /g/collect request URL, a Consent Mode v2 gcd string (including 12-char strings like 13l3l3l3l5l1 or 13r3r3r3r5), or a legacy gcs code (G100–G111, G1--).
Examples:
NEW TO THIS? 15-SECOND GUIDE
How to find your website's gcd string in Chrome
STEP 1
Open your website in Chrome, right-click anywhere, click Inspect, and open the Network tab.
STEP 2
Type collect?v=2 in the Network filter box, then reload the page (or click "Accept All" on your cookie banner).
STEP 3
Click a request, copy the gcd value (or the full request URL), and paste it above—or just scan your URL automatically.
REFERENCE TABLE
Google Consent Mode v2 gcd Character Matrix
| Code | Default State | Update State | Real-World Meaning |
|---|---|---|---|
| l | Not set | None | Consent Mode v2 not configured for this signal |
| m | Not set | Denied | No default, updated to denied |
| n | Not set | Granted | No default, updated to granted |
| p | Denied | None | Pre-consent denied (alert if stuck on p after Accept) |
| q | Denied | Denied | User explicitly clicked Reject All |
| r | Denied | Granted | Ideal EU/GDPR state after clicking Accept All |
| t | Granted | None | Default granted without consent update |
| u | Granted | Denied | Default granted, later revoked to denied |
| v | Granted | Granted | Default granted and confirmed granted |