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
gppandgpp_sidvalues 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.

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.

Here is an illustrative string from public ad tech documentation. Don’t use it on a real site:
DBACNYA~CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA~1YNN
DBACNYAis 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.1YNNis 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 ID | API prefix | What it covers |
|---|---|---|
| 2 | tcfeuv2 | EU TCF v2: consent choices for EU and EEA visitors |
| 3 | header | The GPP header. Every string must have it |
| 5 | tcfcav1 | Canadian TCF |
| 6 | uspv1 | US Privacy String: the older CCPA opt-out signal, deprecated by IAB Tech Lab |
| 7 | usnat | US National: one section for many US state laws, used with the IAB MSPA |
| 8 and up | usca, usva, usco, usut, usct and more | One 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

- 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.
- The CMP encodes the choice. It writes the choice into the right GPP section and builds the full string.
- The CMP exposes the string. Scripts on the page call
__gpp()to read the string and the applicable sections. - Ad tags pass it on. Header bidding tools such as Prebid.js add
gppandgpp_sidto bid requests. Ad servers such as Google Ad Manager can read the signal from the page. - 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.
GPP vs TCF vs GPC vs Google Consent Mode
These four names often come up together. They do different jobs:
| Name | What it is | Who sends it | What it does |
|---|---|---|---|
| GPP | IAB Tech Lab standard for privacy signals | Your CMP | Carries choices to ad tech vendors, with one section per framework or law |
| IAB TCF | IAB Europe consent framework | Your CMP | Records EU consent by purpose and vendor. Can travel inside GPP as section 2 |
| GPC | Browser opt-out signal (the Sec-GPC header) | The visitor’s browser | Asks the site not to sell or share personal data. A valid opt-out under the CCPA and several other state laws |
| Google Consent Mode | Google’s consent API | Your CMP, to Google tags | Changes 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.
- 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.
- 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.
- 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.
- Connect your ad stack. Enable the GPP consent module in Prebid.js, and check your ad server’s GPP settings, so
gppandgpp_sidreach your ad partners. - 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.
- Log choices. Keep a record of what each visitor chose and when. See our guide to consent logging.
- 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
__gppis not defined, your CMP isn’t exposing GPP. - The right section applies: visit from different regions (or use a VPN) and check that
applicableSectionschanges as expected. - The string changes with the choice: accept, then reject, and check that
gppStringchanges. - Ad requests carry it: in the Network tab, filter ad requests and check for
gppandgpp_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.
Legal requirements vs technical recommendations
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.
Where WPLP Cookie Consent fits
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.

- 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.

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
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.
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.
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.
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.
No. The EU TCF string still exists. GPP carries it as section 2, next to other sections such as the US National section.
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.
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.



