Skip to content About The people and vision powering Probo Blog The latest news from Probo Stories Hear from our customers Changelog Latest product updates Docs Documentation for Probo GitHub Explore our open-source compliance tools

Geolocation and Regulations

Probo automatically detects each visitor’s country from their IP address and applies the correct privacy regulation. The banner’s consent mode, button labels, and description text all adapt to the visitor’s location without any manual configuration.

Every time the JavaScript SDK fetches the banner configuration, the API resolves the visitor’s location:

  1. The visitor’s IP address is extracted from the request.
  2. The IP is looked up against a geolocation database to determine the country.
  3. The country is mapped to an applicable privacy regulation (e.g. GDPR for France, CCPA for the United States).
  4. The regulation determines the consent mode — opt-in or opt-out — and the banner text is adapted accordingly.

This happens transparently on every configuration request. You do not need to install any additional library or pass location data from the client.

The following table lists every regulation Probo recognizes, the countries it covers, and the consent mode it enforces.

Opt-in means non-essential cookies are blocked until the visitor gives explicit consent.

RegulationCountriesConsent Mode
GDPRAustria, Belgium, Bulgaria, Croatia, Cyprus, Czechia, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Iceland, Liechtenstein, NorwayOpt-in
UK GDPRUnited KingdomOpt-in
FADPSwitzerlandOpt-in
POPIASouth AfricaOpt-in
PDPAThailandOpt-in
PIPLChinaOpt-in
PIPASouth KoreaOpt-in
DPDPIndiaOpt-in
PDPLSaudi ArabiaOpt-in

Opt-out means non-essential cookies are active by default and the visitor is offered a way to opt out.

RegulationCountriesConsent Mode
CCPA / CPRAUnited StatesOpt-out
PIPEDACanadaOpt-out
LGPDBrazilOpt-out
LFPDPPPMexicoOpt-out
APPIJapanOpt-out

For visitors in countries not listed above, no regulation is applied. The banner falls back to the default consent mode you configured in the Probo console. See Consent Mode Resolution below.

The consent mode your visitors see is determined by a three-tier priority:

  1. Regulation mandates opt-in — If the visitor’s country falls under an opt-in regulation (GDPR, UK GDPR, FADP, etc.), the banner runs in opt-in mode regardless of your configured default. Non-essential cookies are blocked until the visitor explicitly consents.

  2. Regulation mandates opt-out — If the visitor’s country falls under an opt-out regulation (CCPA, PIPEDA, LGPD, etc.), the banner runs in opt-out mode. Cookies are active by default and the visitor can opt out.

  3. No regulation applies — If the visitor’s country has no recognized regulation, the banner uses the default consent mode you set when creating the banner in the console. The banner is displayed as a simple notice with a dismiss button — no reject or customize options are shown.

The consent mode you configure in the Probo console (under Consent Mode when creating or editing a banner) serves as the fallback for visitors in unregulated countries. For all regulated countries, Probo overrides it automatically.

The API automatically adjusts the banner’s button labels and description text to match the resolved consent mode. You do not need to manage separate text variants — this is handled server-side.

Resolved modeBanner behavior
Opt-inShows accept all, reject all, and customize buttons with the standard consent description
Opt-outShows an acknowledge button and an opt-out button with an opt-out-specific description
No regulationShows a dismiss button only with a notice-style description — no reject or customize options

If you have customized banner translations, the system uses your opt-out or notice-specific text variants when they apply. You can configure these per-language in the Probo console under the banner’s Translations tab.

Geolocation and regulation mapping are fully automatic. The only setting you control is:

  • Default Consent Mode (in the Probo console) — This is the fallback for visitors in countries where no privacy regulation is recognized. Choose Opt-in if you want to be conservative, or Opt-out if you prefer cookies to be active by default for unregulated visitors.

Everything else — IP resolution, country-to-regulation mapping, consent mode override, and text adaptation — is handled by Probo without any additional setup.