Global Privacy Protocol (GPP): How It Works With Cookie Consent

Global Privacy Platform (GPP) & What It Means for Cookie Consent feature image

READING PROGRESS

If your website runs ads, you may see “GPP” in your ad partner’s settings or contracts. GPP is the Global Privacy Protocol. IAB Tech Lab, the ad industry’s technical standards body, created it to carry a visitor’s privacy choices to the companies that buy and serve ads.

Many guides still call it the Global Privacy Platform. That was the original name. In 2025, IAB Tech Lab renamed it to the Global Privacy Protocol to make clear that it is a technical standard, not a software product. The acronym stayed the same.

This guide explains what GPP does and what it doesn’t do, how a GPP string is built, how vendors read it, and how to test it on your site.

What is the Global Privacy Protocol (GPP)?

GPP is a standard format for sending privacy and consent signals through the advertising supply chain. It has three main parts:

  • The GPP string: one text string that holds a visitor’s choices, with a separate section for each framework or jurisdiction.
  • The CMP API: a JavaScript function, __gpp(), that a consent management platform (CMP) adds to the page so other scripts can read the string.
  • Transport fields: the gpp and gpp_sid values that pass the string and the applicable section IDs in ad requests.

GPP is a messenger. It records and carries choices. It doesn’t decide what a choice means under the law, and it doesn’t stop any script from running.

Infographic: what the Global Privacy Protocol (GPP) does and does not do

Why IAB Tech Lab created GPP

Before GPP, ad tech used a separate signal for each region. EU sites used the IAB Transparency and Consent Framework (TCF). Canada had its own TCF. In the US, sites used the US Privacy String, built for the CCPA (see our guide to the IAB CCPA compliance framework).

Each new US state law added new rules, such as opt-outs for targeted advertising and for sensitive data. The old US Privacy String could not express them. GPP gives all of these signals one container, so vendors can read them through one API.

GPP does not replace the frameworks inside it. A TCF string is still a TCF string. GPP puts it in a section of a larger string, next to the other sections that apply.

How a GPP string works

A GPP string has a header, followed by one or more sections. A tilde (~) separates each part.

Infographic: a GPP string split into a header, an EU TCF v2 section and a US Privacy section, with gpp_sid

Here is an illustrative string from public ad tech documentation. Don’t use it on a real site:

DBACNYA~CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA~1YNN
  • DBACNYA is the header. It lists the section IDs that follow, like a table of contents.
  • CPXxRf… is an EU TCF v2 section (section ID 2). It holds TCF purpose and vendor choices.
  • 1YNN is a US Privacy String section (section ID 6).

The string can hold sections that don’t apply to this visitor. So GPP also sends applicableSections (in the API) or gpp_sid (in ad requests). These tell the vendor which section is in force. For a visitor in California, that might be section 8.

GPP section IDs

IAB Tech Lab keeps the official list in its GPP section information. The main sections are:

Section IDAPI prefixWhat it covers
2tcfeuv2EU TCF v2: consent choices for EU and EEA visitors
3headerThe GPP header. Every string must have it
5tcfcav1Canadian TCF
6uspv1US Privacy String: the older CCPA opt-out signal, deprecated by IAB Tech Lab
7usnatUS National: one section for many US state laws, used with the IAB MSPA
8 and upusca, usva, usco, usut, usct and moreOne section per state, for example California, Virginia, Colorado, Utah, Connecticut, Florida, Montana, Oregon, Texas, Delaware, Iowa, Nebraska, New Hampshire, New Jersey, Tennessee, Minnesota, Maryland and Indiana

IAB Tech Lab adds sections as new state laws take effect, so check the official list before you configure your CMP.

How a GPP signal moves from your banner to ad vendors

Infographic: five steps of a GPP signal from the visitor choice to ad vendors
  1. The visitor makes a choice. Your consent management platform shows the banner or opt-out link that fits the visitor’s location, and records the choice.
  2. The CMP encodes the choice. It writes the choice into the right GPP section and builds the full string.
  3. The CMP exposes the string. Scripts on the page call __gpp() to read the string and the applicable sections.
  4. Ad tags pass it on. Header bidding tools such as Prebid.js add gpp and gpp_sid to bid requests. Ad servers such as Google Ad Manager can read the signal from the page.
  5. Vendors read and act. Each vendor decodes the applicable section and decides what it may do with the data.

Step 5 depends on each vendor. A vendor that doesn’t support a section may ignore it, or read it differently. Ask each ad partner which GPP sections and versions it reads.

What GPP does not do

  • It doesn’t block scripts. Google Analytics, the Meta Pixel and other tags still load unless your CMP or tag manager blocks them until consent.
  • It doesn’t collect consent. Your banner does that.
  • It doesn’t make a site compliant. Laws decide what you must ask for. GPP only carries the answer.
  • It doesn’t create one global rule. Each section keeps its own fields and meaning. An EU consent choice and a California opt-out are different signals.

These four names often come up together. They do different jobs:

NameWhat it isWho sends itWhat it does
GPPIAB Tech Lab standard for privacy signalsYour CMPCarries choices to ad tech vendors, with one section per framework or law
IAB TCFIAB Europe consent frameworkYour CMPRecords EU consent by purpose and vendor. Can travel inside GPP as section 2
GPCBrowser opt-out signal (the Sec-GPC header)The visitor’s browserAsks the site not to sell or share personal data. A valid opt-out under the CCPA and several other state laws
Google Consent ModeGoogle’s consent APIYour CMP, to Google tagsChanges how Google tags behave, based on the visitor’s consent

A site can use all four. For example, a European visitor’s TCF choice can travel inside a GPP string, while Google Consent Mode adjusts Google tags. A Global Privacy Control signal from a California visitor’s browser can count as an opt-out that your CMP then records in the US section.

How to implement GPP on your website

Most website owners don’t build GPP themselves. A CMP that supports GPP does the encoding. Your job is to set it up correctly and check the result.

  1. Find out who needs GPP. List your ad partners: ad networks, header bidding partners, and your ad server. Ask which GPP sections they read. If you don’t run programmatic ads, GPP may not affect you yet.
  2. Choose a CMP that supports the GPP API. Check that it supports the sections your traffic needs, such as section 2 for EU visitors or section 7 and the state sections for US visitors.
  3. Set regional rules. Show opt-in consent where the law requires it, such as the EU, and opt-out links where state laws require them. A geo-targeted cookie banner handles this.
  4. Connect your ad stack. Enable the GPP consent module in Prebid.js, and check your ad server’s GPP settings, so gpp and gpp_sid reach your ad partners.
  5. Block other scripts separately. Set your CMP or tag manager to hold analytics and marketing tags until the visitor consents. GPP won’t do this for you.
  6. Log choices. Keep a record of what each visitor chose and when. See our guide to consent logging.
  7. Test. Use the checks below after every change.

How to test your GPP setup

Open your site in a private window, open the browser console, and run:

__gpp('ping', function (data, success) {
  console.log(success, data.cmpStatus, data.gppString, data.applicableSections);
});
  • The API exists: if __gpp is not defined, your CMP isn’t exposing GPP.
  • The right section applies: visit from different regions (or use a VPN) and check that applicableSections changes as expected.
  • The string changes with the choice: accept, then reject, and check that gppString changes.
  • Ad requests carry it: in the Network tab, filter ad requests and check for gpp and gpp_sid.
  • A denied choice stops processing: reject all, reload, and check that analytics and marketing requests don’t fire. This is the test GPP can’t pass for you.

It helps to keep these apart:

  • Legal requirements come from laws such as the GDPR, the ePrivacy rules, the CCPA and other US state privacy laws. They decide whether you need opt-in consent or an opt-out, and whether you must honor signals such as GPC. No law requires GPP by name.
  • Technical recommendations come from IAB Tech Lab and your ad partners. Many ad platforms expect GPP for US traffic. The IAB Multi-State Privacy Agreement (MSPA) is a separate contract that some companies sign, and it uses the US National section.

Using GPP well can help you meet partner requirements. It doesn’t replace the legal work: the right notice, a real choice, and tags that respect it.

WPLP Cookie Consent handles the parts that come before and around a GPP signal: the banner, the choice, and the scripts.

  • Blocks scripts until consent: analytics and marketing scripts wait for the visitor’s choice.
  • Google Consent Mode v2: on every plan, with default consent states per region. See how Consent Mode v2 works in WPLP.
  • IAB TCF v2.3: on paid plans. This produces the TCF string that GPP carries in section 2 for EU traffic. See how to implement IAB TCF in WordPress.
WPLP Cookie Consent Ad-tech Integrations with the Support IAB TCF v2.3 setting highlighted, above Google Consent Mode settings
  • Respects Do Not Track and Global Privacy Control: one setting tells the banner to honor these browser signals.
  • Geo-targeting: show the banner to all visitors, EU and UK visitors only, or specific countries (paid plans).
  • Consent logs: each decision is stored in your WordPress database.
WPLP Cookie Consent banner settings with the Respect Do Not Track and Global Privacy Control setting highlighted

GPP string output is not listed as a WPLP feature today. If an ad partner asks for a GPP string, confirm which sections it needs, and check the current plans or ask WPLP support before you change your setup.

Frequently asked questions

What does GPP stand for?

GPP stands for Global Privacy Protocol. IAB Tech Lab first called it the Global Privacy Platform. In 2025 it changed the name to make clear that GPP is a technical standard, not a product. The acronym stayed the same.

Does GPP block cookies or tracking scripts?

No. GPP only carries a visitor’s choices. Your CMP or tag manager must hold analytics and marketing tags until the visitor consents, and each vendor must act on the signal it receives.

Is GPP required by law?

No law requires GPP by name. Laws such as the GDPR and US state privacy laws decide what notice and choice you must give. Many ad partners expect GPP signals, so it can be a partner or contract requirement.

What is the difference between GPP and GPC?

Global Privacy Control (GPC) is a signal from the visitor’s browser that asks sites not to sell or share personal data. GPP is the format a CMP uses to pass privacy choices to ad tech vendors. A CMP can record a GPC opt-out in a US section of the GPP string.

Does GPP replace the IAB TCF?

No. The EU TCF string still exists. GPP carries it as section 2, next to other sections such as the US National section.

What are gpp and gpp_sid?

gpp is the full GPP string. gpp_sid lists the section IDs that apply to the current visitor. Ad tags send both values in ad requests, so vendors know which section to read.

Does GPP matter if my site doesn’t run ads?

Usually less. GPP is mainly used in the advertising supply chain. If you only use analytics and other site tools, focus on a clear banner, script blocking until consent, and consent logs.

Conclusion

GPP is a shared format for privacy signals. It packs a visitor’s choices into one string, with a section for each framework or law, and it gives vendors a standard way to read that string.

It doesn’t collect consent, block tags, or decide what the law requires. Your banner, your script blocking and your ad partners’ handling of the signal still do that work.

If you run programmatic ads, ask your partners which GPP sections they read, use a CMP that supports them, and test that a “no” really stops the data from flowing.

This article is general information, not legal advice. Standards and laws change. Check your setup with your ad partners and a qualified lawyer.

Ready to Make Your WordPress Site GDPR Compliant?

Join 30,000+ WordPress sites that trust WPLP Compliance Platform for privacy policies, cookie consent, and compliance documentation.

Get Compliant Today

Generate privacy policies, cookie banners, and compliance documents in minutes.

TABLE OF CONTENTS

Website Compliance

Master Checklist

Stay Compliant! Build Trust!

WRITTEN BY

Picture of Editorial Team

Editorial Team

The WPLP Editorial Team is a group of experienced WordPress professionals, legal compliance experts, and content strategists dedicated to helping website owners navigate the complex world of online legal requirements. With years of hands-on experience in website compliance, privacy laws, and WordPress development, our team ensures that every piece of content is accurate, practical, and easy to implement.

Get compliance updates in your inbox

Weekly privacy law summaries. No spam, ever.

Thanks for signing up for the newsletter!

Related Articles

Is your WordPress site privacy compliant?​

Run a full website compliance scan. See the cookies and tracking scripts your site loads, and get a list of compliance fixes.

Get Your Free Website Compliance

Master Checklist

Enter your email below and we’ll send the list straight to your inbox.