Stape
SearchTry for free
FreeGTM variables

Consent Parser variable

Consent Parser variable reads the encoded Consent Mode v2 based on ‘gcd’ parameter from GA4 hit, decodes it, and provides the consent statuses for consent categories (ad_storage, analytics_storage, et.c.) in an easily understandable format. This allows you to determine which data can be collected and processed according to the user's preferences.

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 100 000 happy clients

Try Stape for all things server-sideright now!