Cookie Confirm manages user consent in the browser (client-side) and passes the consent state to Google Tag Manager. Then, TAGGRS uses these consent signals on the server side to ensure that only data allowed by the user’s choices is processed and forwarded to platforms such as Google Analytics, Google Ads, or Meta.
Before you begin, make sure you have:
• A Cookie Confirm account
• A TAGGRS account with an active product
• Access to Google Tag Manager (both web and server containers)
1. Log into your Google Tag Manager account
2. Go to Tags → New → Tag Configuration
3. Search for Cookie Confirm CMP in the Community Template Gallery and install the template
4. Set the trigger to Consent Initialization – All Pages.
To ensure that tags only fire after a visitor has given consent for a specific category, update the trigger configuration of those tags in Google Tag Manager. Create a Custom Event trigger and use the event name cookie_consent_update.
Assign this trigger to all tags that should only run after consent is granted.
cookie_consent_update custom event trigger, the current setup is compatible and you don’t need to adjust anything.Once Consent Mode is activated in Google Tag Manager, the tags in your server container automatically read the GCS parameter and respect the user's consent. You don't need to configure anything extra.
https://sgtm.example.com/g/
collect?v=2&tid=G-XXXXXX>m=45je37
&_p=123456&gcs=G101https://sgtm.example.com/
g/collect
The GA4 collects endpoints but proxies through your server container instead of Google’s own domain.v=2tid=G-XXXXXXgtm=45je37_p=123456gcs=G101Want more granular control? You can create custom blocking triggers in your server container that prevent tags from firing when consent is denied.
Create a new trigger with the following settings:
• Trigger name: analytics_storage = denied
• Trigger type: Custom
• Trigger fires when:
Client Name equals GA4ED | x-ga-gcs ends with 0
ED | x-ga-gcs is an Event Data variable that reads the GCS value from the incoming request.Create a second trigger with the following settings:
• Trigger name: ad_storage = denied
• Trigger type: Custom
• Trigger fires when:
Client Name equals GA4ED | x-ga-gcs starts with G10
Apply the blocking triggers to the tags that should not fire without consent.
1. Open the tag in your sGTM container
2. Go to Triggering → Exceptions
3. Add the relevant blocking triggers:analytics_storage = deniedad_storage = denied
These exceptions ensure that the tag remains blocked whenever a visitor denies consent for the corresponding storage type.
All in all, this setup offers a future-proof approach to consent management: more resilient data collection, full respect for user preferences, and scalable, compliant tracking for every vendor in your stack.
No, when Consent Mode is enabled in your Web GTM container, Google tags automatically include a GCS (Google Consent State) parameter in every request sent to your TAGGRS server container. This parameter contains the user’s current consent choices (for example, whether analytics_storage or ad_storage is granted or denied). Google tags in the server container read this value automatically and enforce consent without any additional configuration. This behavior applies to all native Google tags, including GA4, Google Ads.