Discount Sale
  • Days
  • Hrs
  • Mins
  • Secs
30% Off

Use coupon code 'MDS30' Limited Offer!!

Star

Home > Docs > GDPR Cookie Consent > Compatibility between GTM4WP and WebToffee’s GDPR Cookie Consent Plugin

Compatibility between GTM4WP and WebToffee’s GDPR Cookie Consent Plugin

Last updated on May 11, 2025

To properly implement Google Consent Mode (GCM) on your website while using GTM4WP (Google Tag Manager for WordPress) and WebToffee GDPR Cookie Consent, follow the below-mentioned steps:

Should You Enable GCM in Both Plugins?

No, you should only enable GCM in the WebToffee GDPR Cookie Consent plugin.
The WebToffee plugin will handle consent management, and GTM4WP should not interfere with it.

  • Enable GCM only in the WebToffee GDPR Cookie Consent plugin.
  • Disable GCM or consent settings in GTM4WP to avoid conflicts.

This ensures that all user consent decisions are passed to Google Tag Manager (GTM) via WebToffee, preventing redundant or conflicting implementations.

Step 1: Access WebToffee GDPR Plugin Settings

  1. In your WordPress dashboard, navigate to:
    Cookie Consent → Google Consent Mode
  2. Toggle Enable Google Consent Mode (GCM) to ON. Follow the steps mentioned in the following article to implement GCM: Implementing Google Consent Mode v2
  • Choose between:
    • Basic Mode: Google tags load only after consent is granted.
    • Advanced Mode: Google tags load immediately but operate with limited functionality until consent is granted.

Steps to Configure GTM4WP

Since WebToffee manages consent, you must disable GTM4WP’s built-in consent handling. The steps to disable GCM in GTM4WP:

  1. From the Dashboard, navigate to Settings > Google Tag Manager.
  2. Move to the Integration tab and click on Google Consent Mode. Ensure Google Consent mode option is disabled.
  3. Next, Click on WebToffee GDPR Cookie Consent. Ensure WebToffee GDPR Cookie Consent option is disabled.

Verifying the Integration

  • Test Cookie Consent Behaviour
    • Visit your website in Incognito Mode and interact with the cookie consent banner.
    • Check if Google Analytics, Ads, and other tracking scripts behave according to the user’s consent selection.
  • Use Debugging Tools
    • Use Google Tag Manager Preview Mode to verify if GCM signals are passed correctly.