CCPA and CPRA: Do Not Sell or Share, made simple
An opt-out banner for US visitors that honours Global Privacy Control, while European visitors still get opt-in.
California's privacy law works differently from Europe's. Instead of asking for permission first, it gives people the right to tell a business to stop selling or sharing their personal information. On many websites, advertising and retargeting cookies are exactly where that selling or sharing happens. This page explains what the law expects on your website and how PrivacyQuick helps. It's general information, not legal advice.
What the CCPA and CPRA expect
The California Consumer Privacy Act (CCPA), as amended by the California Privacy Rights Act (CPRA), applies to for-profit businesses that meet certain thresholds, such as annual revenue or the volume of California consumers' data they handle. If it applies to you and you sell or share personal information, the main website requirements are:
- A clear opt-out. A "Do Not Sell or Share My Personal Information" link, or an alternative opt-out link permitted by the regulations, that lets people stop the sale or sharing of their data.
- "Sharing" includes ad targeting. Sharing covers disclosing personal information for cross-context behavioral advertising, which is how many ad pixels and retargeting tags work, even when no money changes hands.
- Opt-out preference signals. The regulations require businesses to treat a browser signal such as Global Privacy Control (GPC) as a valid opt-out request.
- No dark patterns. Opting out shouldn't be harder than opting in, and the choices shouldn't be designed to steer people.
- Special rules for minors. Selling or sharing the data of consumers under 16 requires opt-in consent instead.
Several other US states have passed privacy laws with similar opt-out rights, and some of them also recognise universal opt-out signals.
How PrivacyQuick handles US visitors
On the Starter and Pro plans, regional rules let you treat visitors differently by location. US visitors get opt-out mode by default, while visitors from the EU, EEA, UK and Switzerland still get opt-in.
Opt-out mode
- Scripts in the categories your site uses run by default, which is how the US model works.
- The banner shows a Do Not Sell or Share My Personal Information button, alongside Preferences and Accept.
- The Do Not Sell or Share button opens the preferences panel with Marketing switched off. The visitor confirms with Save choices and can adjust other categories at the same time.
- Once Marketing is off, scripts tagged
data-category="marketing"stop. If any already ran on the page, the page reloads. Google tags receive deniedad_storage,ad_user_dataandad_personalizationsignals through Consent Mode.
Global Privacy Control, automatically
If a US visitor's browser sends GPC and they haven't made a choice yet, PrivacyQuick treats the signal as an opt-out of sale and sharing:
- Marketing is switched off before any banner appears. Analytics and Functional stay on.
- No banner is shown, because the visitor's preference is already known.
- The opt-out is stored in the visitor's browser and recorded in your consent log with the action
gpc, so you can show that you honoured it.
GPC handling is on by default. You can switch it off in the banner settings, but we don't recommend it.
Changing their mind later
Visitors can reopen their choices at any time from the floating cookie button. Many businesses also add a permanent "Do Not Sell or Share" link to the footer:
<a href="#" onclick="window.PrivacyQuick && PrivacyQuick.open(); return false;">Do Not Sell or Share My Personal Information</a>
This opens the same preferences panel. See the JavaScript API for more.
Making the opt-out actually work
The banner records the choice. Your site has to respect it:
- Tag your advertising scripts as
marketing. This includes Meta Pixel, Google Ads remarketing, TikTok, LinkedIn and similar tags. See script blocking. Untagged scripts keep running regardless of the visitor's choice, unless the optional automatic blocker holds them. - Cover what happens off the page. If you send customer lists or server-side events to ad platforms, apply the opt-out there too. Your server can read the visitor's choice from the
pq_consentcookie. - Update your privacy policy to describe the categories of data you sell or share and how to opt out. Our policy generator has a CCPA/CPRA option.
PrivacyQuick helps you offer and record the opt-out. Whether the CCPA applies to you, and whether your setup meets it, depends on your business. Ask a lawyer if you're unsure.
On the Free plan
The Free plan has no regional rules. Every visitor, including US visitors, gets the opt-in banner, where nothing non-essential runs until the visitor agrees. That's stricter than the CCPA requires, but it's a safe default. To use opt-out mode for US visitors, upgrade to Starter for $9 a month. See pricing.
Try it on your site
Run a free scan to see which advertising and analytics trackers your site loads, then set up opt-out mode in a few minutes.