WPConsent Documentation

Documentation, Reference Materials, and Tutorials for WPConsent

Blocking Scripts & Trackers

Google Tag Manager Template

Overview This guide walks you through connecting WPConsent to Google Tag Manager (GTM) for full Google Consent Mode v2 compliance....

Google Consent Mode v2

Want to keep Google Analytics, Google Ads, and Google Tag Manager running while respecting visitor privacy? WPConsent integrates with Google...

Automatic Script Blocking

How do you prevent tracking scripts from setting cookies before your visitors give consent? WPConsent automatically detects and blocks known...

Content Blocking and Placeholders

How do you stop embedded iframes from loading tracking cookies before visitors give consent? WPConsent blocks third-party iframes and replaces...

Custom Scripts and Iframes

Need to block a third-party script or iframe that WPConsent doesn’t recognize automatically? With custom scripts, you can add blocking...

Microsoft Clarity Consent Mode

Want Microsoft Clarity to collect heatmap and session recording data without cookies until visitors consent? WPConsent integrates with Clarity Consent...

Triggering GTM Tags Based on Consent

Want your Google Tag Manager tags to fire only after visitors grant consent? WPConsent pushes a custom event and preferences...

WP Consent API Integration

Want other WordPress plugins to automatically recognize your visitors’ consent choices? WPConsent integrates with the WP Consent API plugin so...