[00] Documentation
Subset Opt-Out documentation
US privacy laws let visitors opt out of having their data sold or shared, and browsers can ask for it automatically with Global Privacy Control. Subset Opt-Out adds a Your Privacy Choices link, honours GPC, and holds back marketing scripts for anyone who opts out.
User guide
- Getting startedInstall Subset Opt-Out, add a Your Privacy Choices link, and stop ad trackers for visitors who opt out or send Global Privacy Control.Subset Opt-Out helps you honour opt-out requests under US state privacy laws. Your scripts load as usual. When a visitor opts out, or their…
- What the law requiresBackground on US state privacy laws, opt-out rights and Global Privacy Control, and where EU and UK opt-in rules differ.This page gives general background on the privacy laws Subset Opt-Out is built around. It covers US state opt-out laws and Global Privacy…
- The Do Not Sell or Share linkWhat the Do Not Sell or Share link is, where California says it goes, how Global Privacy Control fits in, and what Subset Opt-Out does and doesn't cover.If your WordPress site sells or shares visitors' personal information, California's rules expect a conspicuous opt-out link in the header…
- Global Privacy ControlHow Subset Opt-Out reads Global Privacy Control, which scripts it holds back, how it updates Google Consent Mode, and how to check it in DevTools.Subset Opt-Out honours Global Privacy Control (GPC) with no banner and no setup. A small script near the top of reads . If it's , the…
- WP RocketWhich WP Rocket JavaScript settings Subset Opt-Out keeps away from its scripts, when to clear WP Rocket's cache, and the limits.Subset Opt-Out works with WP Rocket's page cache and its JavaScript settings, with no exclusions for you to add. It prints the same HTML…
- LiteSpeed CacheWhich LiteSpeed Cache JavaScript settings Subset Opt-Out keeps away from its scripts, when to purge the cache, and the limits.Subset Opt-Out works with LiteSpeed Cache's page cache and its JavaScript settings, with no exclusions for you to add. It prints the same…
- AutoptimizeHow Subset Opt-Out keeps its scripts out of Autoptimize's JavaScript optimisation, when to clear Autoptimize's cache, and the limits.Subset Opt-Out works with Autoptimize's JavaScript optimisation, with no exclusions for you to add. It keeps its own scripts out of…
- PerfmattersHow Subset Opt-Out keeps its scripts out of Perfmatters' Delay JavaScript and Defer JavaScript, what to check after setup, and the limits.Subset Opt-Out works with Perfmatters' JavaScript settings, with no exclusions for you to add. It keeps its own scripts out of delay and…
- SiteGround Speed OptimizerWhich SiteGround Speed Optimizer JavaScript settings Subset Opt-Out keeps away from its scripts and the trackers it holds, and the limits.Subset Opt-Out works with SiteGround's Speed Optimizer plugin, formerly SiteGround Optimizer, with no exclusions for you to add. It keeps…
- Cloudflare Rocket LoaderHow Subset Opt-Out keeps Cloudflare Rocket Loader away from its scripts, what to check after turning Rocket Loader on, and the limits.Subset Opt-Out works on sites that use Cloudflare's Rocket Loader, with no setup in Cloudflare. Rocket Loader runs at Cloudflare's edge,…
- Google Tag ManagerHow Subset Opt-Out passes each visitor's choice to Google Tag Manager through Consent Mode and dataLayer events, and how to gate other tags.Subset Opt-Out doesn't block Google Tag Manager. It tells the container about each visitor's choice in two ways: Google Consent Mode, which…
- PixelYourSiteHow Subset Opt-Out holds PixelYourSite's pixels for visitors who opt out, what happens to its server-side events, and the limits.Subset Opt-Out holds PixelYourSite's tracking for visitors who opt out, with no setup. While PixelYourSite is active, a PixelYourSite…
For developers
- Developer referenceThe PHP filters and actions, the window.subsetCM JavaScript API and events, the markup for holding your own scripts, and the WP-CLI commands.This page lists Subset Opt-Out's public API: PHP hooks, the JavaScript API and events, data attributes and WP-CLI commands. Anything not…
- WP-CLI commandsEvery wp subset cookie-manager command in Subset Opt-Out and Opt-Out Pro, with its options, defaults and examples as wp help prints them.Subset Opt-Out adds its commands under . The Pro commands appear once Subset Opt-Out Pro is active. Run on your site to see the same text…
Elsewhere
- Subset Opt-Out changelog: every published release, from the release record.
- Subset Opt-Out overview: what it does, and what Pro adds.