What is GPP Consent String?

The Global Privacy Platform (GPP) String concept is a standardized format for representing privacy policies and consent choices. It is a machine-readable string that encodes the privacy practices of a website or application in a standardized way, allowing for easier and more efficient management of user consent.

Here's an example of what a GPP String might look like:

DBACNYA~CPonToAPonToABEACBENC7CoAP_AAH_AAAwII4Nf_X__b3_n-_7___t0eY1f9_7__-0zjhfdt-8N3f_X_L8X_2M7vF36tr4KuR4ku3bBIQdtHOncTUmx6olVrzPsbk2cr7NKJ7Pkmnsbe2dYGH9_n93T_ZKZ7___f__7___________________v____-_____9________________________________8EcGv_r__t7_z_f9___26PMav-_9___aZxwvu2_eG7v_r_l-L_7Gd3i79W18FXI8SXbtgkIO2jnTuJqTY9USq15n2NybOV9mlE9nyTT2NvbOsDD-_z-7p_slM9___v__9___________________3_____f____-________________________________-AAAA.YAAAAAAAAAAA~1---

The format of GPP String:

whatsInThisString~sectionOneEncodedValues~sectionFiveEncodedValues

Header section acting as a string “table of contents” followed by discrete sections of privacy signals.

GPP String Sections and IDs

Each section represents a unique privacy signal, usually a unique jurisdiction. Below are the supported discrete sections.

Section IDClient-side API PrefixDescription
1tcfeuv1EU TCF v1 section (deprecated)
2tcfeuv2EU TCF v2
3GPP Header section (REQUIRED)
4--GPP signal integrity section
5tcfcaCanadian TCF
6uspv1USPrivacy String
7usnatUS - national section
8uscaUS - California section
9usvaUS - Virginia section
10uscoUS - Colorado section
11usutUS - Utah section
12usctUS - Connecticut section

GPP API 1.1

Find GPP API 1.1 at /docs/tutorials/iab-gpp

MSPA & GPP US state signals

Find more information at https://www.iab.com/wp-content/uploads/2022/12/IABTechLab_MSPA_GPP_2022_12.pdf

GPP String Decoder

Find IAB GPP Consent String Decoder at: GPP Decoder.