---
title: "Consent Mode v2 Payload Inspector & Parameter Debugger"
description: "Browser-based debugger that inspects live Google Analytics and Google Ads payloads to verify gcd and gcs Consent Mode v2 compliance."
canonical: "https://gordongeraghty.com/resources/consent-mode-v2-inspector"
type: "resource"
date: "2026-08-01T08:00:00+10:00"
updated: "2026-09-24T15:40:35+10:00"
---



# Consent Mode v2 Payload Inspector & Parameter Debugger

**Gordon Geraghty:** Consent Mode v2 Payload Inspector & Parameter Debugger. Browser-based debugger that inspects live Google Analytics and Google Ads payloads to verify gcd and gcs Consent Mode v2 compliance.

**Category: GTM & Analytics · Type: calculator-widget · Level: intermediate · Licence: MIT**

## Understanding the GCD and GCS Parameter Syntax

Under the Digital Markets Act (DMA), Google mandates four distinct consent signals: ad_storage, analytics_storage, ad_user_data, and ad_personalization. The gcd parameter encodes the default and updated states of all four signals into an alphanumeric sequence.

## Parameter Debugging & Payload Inspection

Consent Mode v2 introduces two additional parameter signals (`ad_user_data` and `ad_personalization`) alongside the existing `ad_storage` and `analytics_storage` flags.

### Decoding GCD and GCS Strings

When inspecting network payloads in browser developer tools:

- **`gcs` Parameter:** A 3-character string representing basic consent state (e.g. `G100` means denied, `G111` means granted).

- **`gcd` Parameter:** A structured string encoding the default and updated consent states across all four categories using specific letter codes (`1` for ungranted, `p` for granted).

### Common Implementation Pitfalls

1. **Race Conditions:** Firing analytics tags before the CMP banner has initialised default consent signals, leading to default grant assumptions in non-compliant regions.

1. **Missing Update Commands:** Failing to push the `gtag('consent', 'update', ...)` event immediately when a visitor accepts cookie preferences in the CMP banner.

1. **iFrame Signal Loss:** Embedded checkout forms or third-party widgets failing to inherit parent window consent parameters.

### Related Resources

- Pair this inspector with our [GA4 Audit Checklist](/resources/gtm-analytics/ga4-audit-checklist) for complete analytics governance.

- See our [Client-Side vs Server-Side Tracking Guide](/article/client-side-vs-server-side-tracking) for consent routing in server containers.

## Changelog

- **1.0.0** (2026-08-01T08:00:00+10:00): Initial release supporting gcd string tokenisation and DMA mandate compliance rating.

### Changelog
- **1.0.0:** Initial release supporting gcd string tokenisation and DMA mandate compliance rating.

**Tags:** Consent Mode v2, Google Ads, GA4

[Canonical URL](https://gordongeraghty.com/resources/consent-mode-v2-inspector)
