> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cookiechimp.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Consent Mode

> Send consent state to Google's tags for Analytics, Ads, and other Google services.

Google Consent Mode lets Google's tags (Google Analytics 4, Google Ads, Floodlight, and others) adjust their behaviour based on the visitor's consent. When the integration is enabled, CookieChimp updates Google's consent state automatically as the user accepts or rejects categories and services.

If you're using Google Tag Manager, follow our full [Google Tag Manager guide](/installation/google-tag-manager) — it covers Consent Mode plus how to gate individual tags on specific vendors.

## How do I enable it?

<Steps>
  <Step title="Open the Integrations page">
    Go to **Integrations** in your CookieChimp dashboard.

    <img src="https://mintcdn.com/identitysquare/PNp7zvpuSh_GT_4M/images/google-tag-manager/enable-gcm.png?fit=max&auto=format&n=PNp7zvpuSh_GT_4M&q=85&s=cb911dfa27fd7be89f16584a1838ba36" alt="Enable Google Consent Mode" width="2880" height="1695" data-path="images/google-tag-manager/enable-gcm.png" />
  </Step>

  <Step title="Toggle Google Consent Mode on">
    CookieChimp will start pushing consent state to the `dataLayer` using Google's `gtag('consent', ...)` API on page load and whenever the user updates their choices.
  </Step>
</Steps>

## How does CookieChimp map to Google consent types?

GTM supports 7 default consent types. CookieChimp maps them to your categories as follows:

| CookieChimp Category ID | Google Consent Type                              |
| ----------------------- | ------------------------------------------------ |
| essential               | functionality\_storage, security\_storage        |
| marketing               | ad\_storage, ad\_user\_data, ad\_personalization |
| analytics               | analytics\_storage                               |
| personalization         | personalization\_storage                         |

When a user opts in to a category — or to a specific Google service in that category — the linked Google consent type flips from `denied` to `granted` (and vice versa).

CookieChimp also pushes the consent state of individual services. For example, granting consent to a service named **"Google Analytics"** sets that vendor's state to `granted`, which lets you gate a tag on the specific vendor rather than the whole category. See the [GTM guide](/installation/google-tag-manager#how-do-i-block-tags-with-google-tag-manager) for how to wire this into a tag.

<Snippet file="install/cms-troubleshooting-footer.mdx" />
