Skip to main content

Geo-targeted consent

A visitor from Italy sees GDPR. A visitor from California sees CCPA. A visitor from Brazil sees LGPD. All from one script tag — zero client-side code on your end.

The visitor’s location picks the regime.

Regime is resolved automatically from the visitor IP on the Cloudflare edge — driving both banner UX and the audit trail.

Consent regimes by region
RegimeWhereBanner behaviour
GDPREU/EEA, UK and SwitzerlandExplicit opt-in. Symmetric reject + accept. The banner can't be closed without a choice.
LGPDBrazilExplicit opt-in under Lei Geral de Proteção de Dados.
CCPAAll US statesNotice + a "Your Privacy Choices" link that opens consent preferences.
Amendment 13IsraelExplicit opt-in under Amendment 13 of the Privacy Protection Law.
PIPEDACanadaExplicit opt-in for non-essential categories.
NoticeRest of worldFriendly dismissible notice banner.

How it works

  1. Visitor lands on your site

    The CompliOne widget loads from cdn.complione.com.

  2. Cloudflare resolves the country

    request.cf.country is set from the connecting IP at the edge, not from browser headers.

  3. Server resolves the regime

    DE → GDPR. US → CCPA. BR → LGPD. CA → PIPEDA. IL → opt-in. Otherwise → notice.

  4. Banner adapts UX

    GDPR: symmetric Reject + Accept; the banner can't be closed without a choice. CCPA: notice + "Your Privacy Choices" link to consent preferences. Otherwise: friendly notice.

  5. Record stamped for audit

    Every consent record carries the resolved country + regime — for regulator-ready proof.

Four architectural guarantees

  • Country set at the edge

    Visitor country is set by Cloudflare's edge from the connecting IP — never read from browser-spoofable headers.

  • Fail-safe defaults

    Unknown country, Tor exit, or slow load — always GDPR. Never a permissive banner to an EU visitor.

  • Audit trail

    Every consent record stamped with regime + country. Proves to regulators which banner was served to which visitor.

  • Escalation only

    Operators can force GDPR globally via data-regime="gdpr". Visitors cannot relax the regime.

One script tag. Zero config.

Geo-targeting is built in. You don't have to detect country yourself.

Install
<script
  src="https://cdn.complione.com/cookie-widget.js"
  data-project-id="YOUR_PROJECT_ID"
  data-location="eu"
  async
></script>

Optional: add data-regime="gdpr" to enforce GDPR globally, regardless of visitor location.

Ready for a global platform?

If your site has EU, US, Brazilian, or Canadian visitors, you need this.