PrivacyQuick

All documentation pages ↓

Regional rules and consent modes

Privacy laws differ by place. PrivacyQuick puts each visitor in one of five region groups and shows the consent mode you chose for that group.

A visitor from Germany and a visitor from Texas don't need the same banner. On the Starter and Pro plans you choose a consent mode for each region group. On the Free plan every visitor gets the opt-in banner, which is the strictest mode.

The four modes

ModeBefore the visitor choosesWhat the visitor seesTypical use
Opt-in (ask first)Only Necessary is active. Tagged scripts wait.A banner with Reject all, Preferences and Accept all.GDPR and ePrivacy rules in Europe, and similar consent-first laws.
Opt-out (Do Not Sell)All of your banner's categories are active.A banner with a "Do Not Sell or Share My Personal Information" button, Preferences and Accept. That button opens the preferences panel with Advertising switched off, ready to save.US state privacy laws such as the CCPA.
Notice onlyAll categories are active.A banner with an OK button and a Preferences link.Places without a consent requirement, where you still want to be open about cookies.
No bannerAll categories are active.Nothing. Your "Cookie settings" link still opens the preferences panel.Regions where you've decided no notice is needed.

In every mode, visitors can change their choice later through the floating cookie button or a link that calls PrivacyQuick.open().

The five region groups and their defaults

GroupWho is in itDefault mode
EU, EEA, UK, SwitzerlandThe 27 EU member states, Iceland, Liechtenstein, Norway, the United Kingdom and SwitzerlandOpt-in
United StatesAll US statesOpt-out
CanadaAll provinces and territories, including QuebecOpt-in
BrazilBrazilOpt-in
Rest of the worldEvery other countryNotice only

If we can't tell where a visitor is, for example because they use Tor, we treat them as being in the European group, the strictest one.

What regional rules can't do. You set one mode per group. You can't give a single country or a single US state its own mode, and you can't add groups. If you need opt-in for one country in "Rest of the world", such as a country with a consent-first law where you have many visitors, the only way is to set the whole group to opt-in. That's a safe choice: opt-in is never less protective than the other modes.

Changing the mode for a group

  1. Open your site in the dashboard and go to the Banner tab.
  2. Under Regions, pick a mode for each of the five groups.
  3. Use Preview as above the preview to see the banner in each mode.
  4. Click Publish. The change is live within a minute.

Changing a region's mode doesn't ask existing visitors again. They keep the choice they made.

Global Privacy Control

Some browsers and extensions send a Global Privacy Control (GPC) signal that means "don't sell or share my data". With Honour Global Privacy Control ticked, which is the default, a visitor in an opt-out region who sends the signal and hasn't chosen yet is opted out automatically:

  • Advertising is switched off. Analytics and Functional stay on, as usual in opt-out mode.
  • No banner is shown.
  • The choice is stored and recorded in the consent log with the action gpc.

GPC only applies in opt-out mode. In opt-in mode nothing optional runs before consent anyway. Background: what GPC is and when you must honour it.

How the region is decided

When the banner script asks our server for your site's settings, the server works out the visitor's country from the network address of that request and answers with the right mode. The address is used for that lookup and isn't stored. Consent records keep only the resulting country code, and a region code where one is available.

A few consequences worth knowing:

  • A visitor using a VPN gets the mode for the VPN's country.
  • The mode is decided on each page load, so it doesn't depend on a cached copy of your page.
  • A stored choice travels with the visitor. Someone who accepted in France and opens your site from the US isn't asked again.

Testing each region

  • In the dashboard: the Preview as selector on the Banner tab shows the opt-in, opt-out and notice banners with your own texts and colours. Nothing in the preview is saved or logged.
  • On the live site: open a private window through a VPN location in the region you want to test. Use a new private window for each region, because a stored choice hides the banner.
  • GPC: turn on the signal in a browser that supports it, visit from a US location, and check that no banner appears and that PrivacyQuick.has('marketing') returns false in the console.

Choosing modes

The defaults follow the usual reading of each region's law, and they're a starting point, not legal advice. Guides that explain the reasoning: opt-in vs opt-out consent, cookie consent in Canada, Brazil's LGPD and cookie rules by country.

If in doubt, keep the stricter mode. You lose some analytics data; you don't take on legal risk.