consent-management

Modify Google Analytics 4 consent settings and integrate Consent Management Platforms.

2|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/kws-projects/react-boilerplate --skill consent-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: consent-management
Source: https://github.com/kws-projects/react-boilerplate/tree/main/.cursor/skills/consent-management
Command: npx skills add https://github.com/kws-projects/react-boilerplate --skill consent-management

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps manage consent settings for Google Analytics 4 (GA4) and integrate Consent Management Platforms (CMPs) to ensure compliance with privacy regulations in various jurisdictions.

Core Features & Use Cases

  • Consent Settings: Change default consent posture from granted to denied and manage consent settings at runtime.
  • CMP Integration: Integrate third-party CMPs or create custom cookie banners to handle user consent.
  • Use Case: For a company launching in the EU/EEA or UK, this Skill allows you to modify the GA4 consent posture to comply with GDPR and ePrivacy Directive requirements.

Quick Start

Integrate the Consent Management Skill into your project to modify the GA4 consent posture to 'denied' and integrate a CMP.

Frequently Asked Questions about consent-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure GA4 consent settings for GDPR compliance?

You can ensure GDPR compliance by changing the default GA4 consent posture to denied and managing consent settings at runtime through Google Consent Mode v2 integration.

What is Google Consent Mode v2 and when do I need it for GA4?

Google Consent Mode v2 is needed to modify GA4 consent posture and integrate CMPs, ensuring compliance with consent-before-tracking laws in jurisdictions like the EU, UK, and Brazil.

How do I integrate a Consent Management Platform with Google Analytics 4?

You integrate a CMP with GA4 by connecting third-party CMPs or building custom cookie banners to handle user consent and manage runtime consent settings effectively.

Does Google Consent Mode v2 work with custom cookie banners for GA4?

Yes, Google Consent Mode v2 supports custom cookie banners, allowing you to handle user consent and manage GA4 consent posture at runtime for legal compliance.

What jurisdictions require changing the default GA4 consent posture to denied?

Jurisdictions with consent-before-tracking laws, including the EU/EEA, UK, and Brazil, require changing the default GA4 consent posture to denied to comply with data privacy regulations.