Stape
Contact salesTry for free
FreeGTM variables

Consent Parser variable

The Consent Parser variable, developed by Stape, helps you decode and understand the complex consent strings used in Google Consent Mode v2. By translating these encoded signals on your server, you can ensure that your tracking tags accurately reflect user choices in real time.

This variable performs one essential action: 

  • Consent Decoding. It automatically captures the “gcd” parameter from incoming web requests or event data and decodes it into a clear, readable format that other tags in your server container can understand.
  • Stay compliant with ease. Consent Parser variable makes sure that your website follows privacy laws like GDPR and CCPA by letting you collect only the data users have actually agreed to share.
  • Simpler tag control. Easily manage which server-side tags, like analytics or ads, are allowed to fire based on the user's current consent preferences.
  • Build user trust. Respect your visitors' privacy choices while still gathering important data when consent is granted, showing your users that you take their preferences seriously.

Related to this solution

Google Consent Mode V2
Dec 13, 2023

Blog

Google Consent Mode V2

Learn about Google Consent Mode v2 platform and whether it impacts server-side tracking.

Consent Parser variable for Google Tag Manager server container
Sep 19, 2024

Blog

Consent Parser variable for Google Tag Manager server container

Decode and interpret Consent Mode v2 strings with a Consent Parser variable for server Google Tag Manager.

We have more than 200 000 happy clients

Try Stape for all things server-side