Skip to content

ConsentFlow Debugger is the essential Chrome extension for developers, analysts, and compliance teams working with Google Tag Manager Consent Mode. Inspect consent states in real-time, simulate different user scenarios, and validate your GDPR implementation with advanced debugging capabilities

License

Notifications You must be signed in to change notification settings

ChristopherLandaverde/ConsentFlow-Debugger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

79 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ConsentFlow Debugger

Professional Chrome Extension for Google Tag Manager Consent Mode Debugging

Version License Chrome Web Store

ConsentFlow Debugger is a powerful Chrome extension designed for developers, analysts, and compliance teams who need to debug, validate, and monitor Google Tag Manager Consent Mode implementations in real-time.


✨ Key Features

πŸ” Real-Time Inspection

  • Live GTM Detection: Automatically detects Google Tag Manager containers and consent implementations.
  • Consent State Monitoring: Real-time visibility into analytics_storage, ad_storage, and other consent categories.
  • Tag Status Analysis: See which tags are firing or being blocked based on current consent state.

πŸ§ͺ Advanced Simulation

  • Consent Scenario Testing: Simulate different user consent choices without affecting actual cookies.
  • Before/After Analysis: Compare tag behavior under different consent configurations.
  • Impact Assessment: Understand how consent changes affect your marketing stack.

πŸ“Š Comprehensive Event Logging

  • Activity Timeline: Complete log of consent changes, tag firings, and CMP interactions.
  • Event Filtering: Filter by consent events, GTM events, real vs simulated activities.
  • Export Capabilities: Export debugging data for analysis and compliance reporting.

πŸ› οΈ Developer-Friendly Tools

  • CMP Integration: Works with Cookiebot. (More CMPS coming soon)
  • Debug Diagnostics: Automated checks for common implementation issues.
  • Performance Monitoring: Track consent mode impact on page performance.

πŸš€ Quick Start

Installation

  1. Install from the Chrome Web Store (link pending).
  2. Pin the extension to your toolbar for easy access.
  3. Navigate to any website with GTM and Consent Mode.
  4. Click the extension icon to start debugging.

Basic Usage

The extension automatically detects:

  • βœ… GTM containers (e.g., GTM-XXXXXX)
  • βœ… Consent Mode implementation
  • βœ… Active consent management platforms
  • βœ… Current consent state

πŸ’Ό Use Cases

For Developers

  • Validate GTM Consent Mode implementation during development.
  • Debug tag firing issues related to consent settings.
  • Test consent flows before production deployment.

For Analysts

  • Understand which tags are affected by consent choices.
  • Analyze the impact of consent mode on data collection.
  • Troubleshoot discrepancies in analytics data.

For Compliance Teams

  • Verify GDPR compliance of tracking implementations.
  • Document consent flows for audits.
  • Monitor consent behavior across different user scenarios.

For QA Teams

  • Test consent implementations across different browsers.
  • Validate consent behavior in various geographic regions.
  • Ensure consistent consent experience.

πŸ”§ Technical Details

Supported Platforms

  • βœ… Google Tag Manager
  • βœ… Google Analytics 4
  • βœ… Google Ads
  • βœ… Cookiebot

Browser Compatibility

  • Chrome 88+
  • Edge 88+
  • Brave (Chromium-based)

Privacy & Security

  • πŸ”’ No Data Collection: Operates locally β€” no data sent to external servers.
  • πŸ›‘οΈ Secure by Design: Implements Content Security Policy and input validation.
  • πŸ” Encrypted Storage: Sensitive debugging data encrypted using AES-256-GCM.
  • ⚑ Rate Limited: Protection against abuse and performance issues.

πŸ“‹ Requirements

  • Chrome browser version 88 or higher.
  • Website with Google Tag Manager implementation.
  • Valid Consent Mode setup (for full functionality).

🎯 Getting Started

1. Basic Inspection

  • Open the extension on any website.
  • Check the "Overview" tab for GTM detection status.
  • View current consent state and container information.

2. Tag Analysis

  • Switch to "Tags" tab.
  • See which tags are allowed/blocked.
  • Filter by tag type (analytics, advertising, functionality).

3. Consent Simulation

  • Go to "Consent" tab.
  • Enable "Simulation Mode".
  • Test different consent scenarios.
  • Observe impact on tag behavior.

4. Event Monitoring

  • Open "Events" tab.
  • Monitor real-time consent and tag events.
  • Filter events by type and source.
  • Export data for further analysis.

πŸ” Advanced Features

Simulation Mode

Test consent scenarios without affecting actual user experience:

  • Analytics Storage: βœ… Granted / ❌ Denied
  • Ad Storage: βœ… Granted / ❌ Denied
  • Functionality Storage: βœ… Granted / ❌ Denied
  • Personalization Storage: βœ… Granted / ❌ Denied

Diagnostic Reports

Automated checks for common issues:

  • ❌ GTM not detected
  • ⚠️ Consent Mode not implemented
  • βœ… Proper consent flow detected
  • πŸ”§ Configuration recommendations

πŸ“š Documentation

  • Installation Guide
  • User Manual
  • Developer Documentation
  • Troubleshooting
  • FAQ

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

# Clone the repository
git clone https://github.com/yourusername/consentflow-debugger.git

# Install dependencies
cd consentflow-debugger
npm install

# Load extension in Chrome
# 1. Open chrome://extensions/
# 2. Enable Developer mode
# 3. Click "Load unpacked"
# 4. Select the project directory

About

ConsentFlow Debugger is the essential Chrome extension for developers, analysts, and compliance teams working with Google Tag Manager Consent Mode. Inspect consent states in real-time, simulate different user scenarios, and validate your GDPR implementation with advanced debugging capabilities

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published