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.
Google Consent Mode Checker
You can verify if Google Consent Mode V2 is correctly set up on your site using the Google Consent Mode Checker. This free tool instantly scans your website in a simulated Chrome browser, checks the GTM consent variable, and identifies any setup issues. It helps ensure your Google Analytics, Ads, and Tag Manager tags function properly based on users’ consent choices.

Comments (2)
Alexander Harmsen
August 11, 2025
Do I need to do this? Is there any down side? I would like to keep things as simple as possible.
Hema
September 1, 2025
Hello Alexander,
Thanks for reaching out. Implementing Google Consent Mode via GTM Template is optional. You can still configure it via the plguin. To configure it via the plugin follow the steps mentioned in the article: Implementing google consent mode v2.