# Configure consent-aware tags in Google Tag Manager Map each tag to the consent types it needs, set defaults before tags load, and verify allowed and denied states in Preview. - Canonical: https://satracking.net/guides/gtm-consent-aware-tags/ - Language: en - Category: platforms - Level: advanced - Published: 2026-11-10 - Updated: 2026-11-10 --- ## Audience and prerequisites Map each tag to the consent types it needs, set defaults before tags load, and verify allowed and denied states in Preview. You need an agreed consent mapping, access to the container, and a test plan for first visit and preference changes. Skill level: advanced. Reading time: eight minutes. ## 1. Map consent purposes to tag requirements Work with the people responsible for privacy to document which tags require which consent types and what behavior is expected before a visitor chooses. The banner or CMP collects the choice. Google Consent Mode communicates applicable states to Google tags; it is not a consent banner and does not determine legal obligations. ## 2. Set defaults before measurement tags run Use a supported CMP integration or a reviewed consent template. Place the consent initialization logic so defaults are available before relevant Google tags process events. For a custom GTM template, use Tag Manager's consent APIs `setDefaultConsentState` and `updateConsentState`; Google's developer documentation says not to substitute queued `gtag('consent', ...)` commands in a GTM template. A direct `gtag.js` implementation uses its documented `gtag('consent','default',...)` and `update` commands instead; do not mix the two recipes. ## 3. Check each tag's consent behavior Review built-in consent checks and any additional consent requirements for each tag. A tag can have a valid trigger and still be blocked by consent settings, or run because its requirements do not match your intended policy. Keep non-Google vendor tags separately configured; Google consent settings do not automatically govern them. ## 4. Preview each choice path In Tag Assistant, test first visit, accept, reject, customize, and later preference changes. Inspect consent state and which tags fired at each event. Verify that updates occur before subsequent measurement events. If a default is missing or late, fix initialization order. If a choice does not update state, check the CMP callback and mapping. If a tag behaves unexpectedly, check its consent requirements and trigger separately. Save the expected and observed states with the container version. Tag Assistant evidence describes that test session; it does not prove legal compliance or every provider's receipt. A cookie scan alone cannot explain all network behavior. ## Privacy and limits Do not place personal data in consent signals or event parameters. Consent Mode behavior varies between basic and advanced setups; document the chosen architecture and test it. This guide describes Google Tag Manager and Google tags only. Set policy and consent behavior for other platforms independently. ## Related work For consent-state testing and Tag Assistant evidence, continue with [Debug Google tag consent states](/guides/google-tag-consent-debugging/). ## Official references - Set up consent mode on websites — https://developers.google.com/tag-platform/security/guides/consent (verified 2026-11-10) - Consent mode overview — https://developers.google.com/tag-platform/security/concepts/consent-mode (verified 2026-11-10) - Create a consent mode template — https://developers.google.com/tag-platform/tag-manager/templates/consent-apis (verified 2026-11-10)