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.
| Regime | Where | Banner behaviour |
|---|---|---|
| GDPR | EU/EEA, UK and Switzerland | Explicit opt-in. Symmetric reject + accept. The banner can't be closed without a choice. |
| LGPD | Brazil | Explicit opt-in under Lei Geral de Proteção de Dados. |
| CCPA | All US states | Notice + a "Your Privacy Choices" link that opens consent preferences. |
| Amendment 13 | Israel | Explicit opt-in under Amendment 13 of the Privacy Protection Law. |
| PIPEDA | Canada | Explicit opt-in for non-essential categories. |
| Notice | Rest of world | Friendly dismissible notice banner. |
How it works
Visitor lands on your site
The CompliOne widget loads from cdn.complione.com.
Cloudflare resolves the country
request.cf.country is set from the connecting IP at the edge, not from browser headers.
Server resolves the regime
DE → GDPR. US → CCPA. BR → LGPD. CA → PIPEDA. IL → opt-in. Otherwise → notice.
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.
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.
<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.