Home > Docs > Configure GCM with WebToffee’s GTM Template

Configure GCM with WebToffee’s GTM Template

Last updated on July 2, 2025

Configuring Google Consent Mode (GCM) using Google Tag Manager (GTM) template streamlines the process of enabling seamless and compliant data collection practices. By leveraging GTM’s user-friendly interface and WebToffee’s GTM template, you can efficiently handle tag firing based on consent states. Let’s dive deep into the steps.

Steps to configure GCM with the GTM template

  1. Install the WebToffee’s GDPR Cookie Consent plugin
  2. From the Dashboard, click on Cookie consent > Google consent mode.
  3. Enable Google Consent Mode by enabling the Google Consent Mode (GCM) option.
  4. Then, enable Manage consent Mode Via GTM template to configure the Google Consent Mode via GTM template.
Manage GCM with GTM Template
Manage GCM with GTM Template
  1. In the Google Tag Manager, select your workspace and navigate to the Templates tab.
  2. Click Search Gallery, under the Tag Templates section, and search for WebToffee CMP.
  3. Select it and click Add to workspace.
WebToffee's GTM Template
WebToffee’s GTM Template
  1. After adding the template to the workspace, Click on Tags > New.
  2. Click on Tag Configuration and choose the tag type as Webtoffee’s CMP. Set the triggering condition as Consent Initialization – All Pages. Save the tag by giving a name (Say Webtoffee CMP). This binds the template, GTM and the CMP. Whenever the user clicks on the Accept button in the banner, the template listens and updates the consent signals in the GTM.
WebToffee CMP - Tag
WebToffee CMP – Tag

WebToffee CMP Tag Configuration

This configuration interface offers granular control over consent settings and advanced options, including update delays and ad click handling.

WebToffee CMP - Tag Configuration
WebToffee CMP – Tag Configuration
  • Default consent settings – Click Add settings to set the default consent state region-wise.
  • Wait for update – The waiting time in milliseconds before the template updates the consent states.
  • Pass ad click information through URLs – When enabled, data can be passed between webpages for tracking.
  • Redact ads data – When the consent for the advertisement category is withdrawn, the ads data stored previously are removed.