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
- Install the WebToffee’s GDPR Cookie Consent plugin
- From the Dashboard, click on Cookie consent > Google consent mode.
- Enable Google Consent Mode by enabling the Google Consent Mode (GCM) option.
- Then, enable Manage consent Mode Via GTM template to configure the Google Consent Mode via GTM template.

- In the Google Tag Manager, select your workspace and navigate to the Templates tab.
- Click Search Gallery, under the Tag Templates section, and search for WebToffee CMP.
- Select it and click Add to workspace.
- After adding the template to the workspace, Click on Tags > New.
- 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 Configuration
This configuration interface offers granular control over consent settings and advanced options, including update delays and ad click handling.
- 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.