Docs
Documentation
How to install PubTrust and exactly what it does once it is on your page — written from the code, including the parts that are not built yet.
Install
One async script tag, Google Tag Manager, Prebid, GPT, custom stacks, CSP and verification.
Monitor and Block
How Site and policy modes combine, what a block does, and how fast a change propagates.
Policies and packs
Rule kinds, summed weights, thresholds, allowlists, the verdict cache and rule delivery.
Fallback creatives
What fills a blocked slot, how it is chosen, and how HTML fallbacks are sandboxed.
MCP server
Connect Claude Code or another MCP client; what an agent can do and what needs a human.
Tag safety and debugging
Page-safety guarantees, everything the tag patches, its requests and the window.__pubtrust API.
Privacy and IP truncation
What a beacon contains, what is never collected, IP truncation and retention.