ConsentPulse
<- All Guides/GTM Triggers/MISSING_V2_PARAMETERS

Migrating Legacy gtag.js & GTM __awct Tags to Consent Mode v2 (__googtag)

Eliminating rogue inline gtag('config') snippets and v1-only CMP payloads that emit gcd=13r3r3l2l5.

1. Observed Wire Symptom

Google Ads Diagnostics warns 'Consent Mode v2 action needed: ad_user_data and ad_personalization missing', and network inspection reveals /pagead/ and /g/collect beacons transmitting gcs=G111 with gcd=13r3r3l2l5 ('l' in slots 3 and 4).

2. Technical Root Cause

Legacy theme templates built in 2021–2023 only pass ad_storage and analytics_storage inside gtag('consent', 'default') and gtag('consent', 'update'), omitting the two mandatory March 2024 v2 parameters (ad_user_data and ad_personalization)—often compounded by hardcoded inline gtag('config', 'AW-XXXX') snippets firing outside GTM.

BROKEN PATTERN
<!-- Broken Legacy v1 Snippet: Missing ad_user_data & ad_personalization -->
<script>
  gtag('consent', 'default', {
    ad_storage: 'denied',
    analytics_storage: 'denied'
  });
  // Later on Accept:
  gtag('consent', 'update', {
    ad_storage: 'granted',
    analytics_storage: 'granted'
  }); // Emits gcd=13r3r3l2l5 -> Google Ads remarketing lists stop growing!
</script>
REMEDIATED PATTERN
<!-- Fixed Consent Mode v2 Payload + Unified GTM __googtag -->
<script>
  gtag('consent', 'default', {
    ad_storage: 'denied',
    ad_user_data: 'denied',
    ad_personalization: 'denied',
    analytics_storage: 'denied',
    wait_for_update: 500
  });
  // On Accept, update ALL FOUR v2 parameters:
  gtag('consent', 'update', {
    ad_storage: 'granted',
    ad_user_data: 'granted',
    ad_personalization: 'granted',
    analytics_storage: 'granted'
  }); // Emits gcs=G111 & gcd=13r3r3r2r5
</script>

3. Post-Publish Verification Checklist

  • ✓Search your codebase and GTM Custom HTML tags for every occurrence of gtag('consent', ...) and add ad_user_data and ad_personalization.
  • ✓Update your CMP GTM Community Template (__cvt) to its latest version in GTM Templates -> Gallery Updates.
  • ✓Remove hardcoded inline gtag('config', 'AW-...') / 'UA-...' tags from HTML templates and consolidate into a single GTM Google Tag (__googtag) on Initialization - All Pages.

4. Practitioner Edge-Case FAQ

Why did updating our GTM CMP template still leave gcd slots 3 and 4 as 'l'?
In GTM Community Templates, clicking 'Update' in the Template Gallery updates the code definition, yet existing Tag instances sometimes keep v2 checkboxes ('Enable ad_user_data / ad_personalization') unchecked until you open the Tag settings, enable the new v2 toggles, and Publish.
Do Google Ads Conversion Linker tags (__gclidw) need Additional Consent Checks in GTM?
No. Conversion Linker has Built-In Consent Checks for ad_storage and analytics_storage—adding redundant manual consent blocks breaks cookieless URL parameter passthrough when url_passthrough is enabled.

Did this GTM remediation playbook help resolve your issue?

1-click practitioner feedback — shapes which CMP & GTM edge cases we document next.

Verify If Your Container Suffers From MISSING_V2_PARAMETERS

Paste any storefront URL to inspect live Frankfurt gcs/gcd beacons and exact GTM Tag IDs.

Audit URL Free ->
View 2,328-Site Study ->