Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
thedaviddias avatar

Consent Mode

  • 1 installs
  • 73.4k repo stars
  • Updated June 18, 2026
  • thedaviddias/frontendchecklist

Verifies Google Consent Mode v2 is implemented with ad_user_data and ad_personalization states so analytics stays GDPR-compliant.

About

A frontend-checklist rule for implementing Google Consent Mode v2 in GTM or gtag.js. A developer uses it to keep measuring conversions while respecting privacy consent.

  • Adjust tag behavior based on user consent for GDPR
  • Support ad_user_data and ad_personalization consent types

Consent Mode by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,710 of 1,879 Marketing & SEO skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/thedaviddias/frontendchecklist --skill consent-mode

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars73.4k
Last updatedJune 18, 2026
Repositorythedaviddias/frontendchecklist

What it does

Verifies Google Consent Mode v2 is implemented with ad_user_data and ad_personalization states so analytics stays GDPR-compliant.

Files

SKILL.mdMarkdownGitHub ↗

Implement Google Consent Mode v2

Consent Mode v2 is essential for adhering to privacy regulations (like GDPR) while maintaining the ability to measure conversion and analytics data in a privacy-safe way.

Quick Reference

  • Adjust tag behavior based on user consent for privacy compliance
  • Maintain data insights through modeling for non-consenting users
  • Ensure the gcd parameter is present in pings to Google services

Check

Verify that Google Consent Mode v2 is correctly implemented and sending the appropriate consent states.

Fix

Update your GTM or gtag.js implementation to support the new ad_user_data and ad_personalization consent types.

Explain

Explain the transition to Consent Mode v2 and why it's required for digital advertising in certain regions.

Code Review

Review the routes, assets, and loading behavior that affect Implement Google Consent Mode v2. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.

---

For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/en/rules/performance/consent-mode

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.