Google Tag Manager

Consent Mode in Google Tag Manager

Questions about this article?

Open it in your AI assistant to summarise it or apply it to your setup.

The regulatory aspect

To collect personal identifiable information (PII) from visitors to your website/mobile application, you must obtain their consent.

The use of Google Tag Manager does not require consent per se. However, when connected to tools such as Google Analytics 4 or Google Ads, Google Tag Manager must obtain visitors’ consent before sending PII.

In this context, Google Tag Manager helps you in:

  • obtaining visitor consent
  • triggering tags only when consent is obtained

In short, either you have visitor consent and send data to marketing platforms, or you don’t have consent and don’t send any data at all.

Before setting up Consent Mode, I advise you to consult your company’s legal department.

Consent Mode has been introduced in Google Tag Manager to provide a hybrid solution for sending not PII without consent and PII with consent.

Tags compatible with Consent Mode are:

  • Google Analytics
  • Google Ads (conversion tracking and remarketing)
  • Floodlight
  • Conversion Linker

You need to use a CMP (Consent Management Platform) in addition to Google Tag Manager to collect your visitors’ consent and take full advantage of Consent Mode.

How does Google Consent Mode work?Exchanges between the visitor, Google Tag Manager, the CMP and Google toolsBefore consentAfter consentVisitorGoogle Tag ManagerCMPGoogle ToolsDenied consent by defaultI land on the websiteConsent is deniedNot PIII give my consentConsent is grantedPII

The tags’ behavior

When consent is denied, Google tags send pings (a term used to refer to a request without consent to Google tools) concerning:

  • consent status for Google Ads and Floodlight
  • conversions for Google Ads
  • events for Google Analytics

According to Google, the information transmitted is not PII (i.e. it does not identify any individual).

It is therefore not possible for a tag that has not obtained consent to read or deposit cookies in the visitor’s browser.

Comments

Join the discussion

A question, some feedback, a specific case? Leave a comment: I reply to every one.

Let's talk about your tracking

A question about this article, need an audit of your setup or server-side migration? Drop me a line, I reply within 24h.

Prefer to talk it through? Book a discovery call →