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

CodeDefault StateUpdate StateReal-World Meaning
lNot setNoneConsent Mode v2 not configured for this signal
mNot setDeniedNo default, updated to denied
nNot setGrantedNo default, updated to granted
pDeniedNonePre-consent denied (alert if stuck on p after Accept)
qDeniedDeniedUser explicitly clicked Reject All
rDeniedGrantedIdeal EU/GDPR state after clicking Accept All
tGrantedNoneDefault granted without consent update
uGrantedDeniedDefault granted, later revoked to denied
vGrantedGrantedDefault granted and confirmed granted