Consent & Cookies
What is Geolocation-Based Consent?
Geolocation-based consent is the practice of detecting where a website visitor is located and showing them the consent experience their local privacy law requires — an opt-in banner for EU visitors, opt-out mechanics for California, and so on.
Privacy law is territorial, but websites are not. A single storefront simultaneously serves visitors governed by GDPR and ePrivacy (opt-in before tracking), the CCPA/CPRA (opt-out of sale and sharing, GPC recognition), Washington's MHMD (consent for health data), and jurisdictions with no privacy statute at all. Serving everyone the strictest experience is legally safe but expensive — EU-style blocking consent applied to US traffic suppresses marketing data no US law requires suppressing.
Geolocation-based consent resolves the tension: the CMP resolves the visitor's location — typically by IP geolocation at the edge or in the CMP script — and selects the matching regime. EU and UK visitors get prior-consent blocking with granular purposes; California visitors get default-on behavior with a Do Not Sell or Share pathway and automatic GPC handling; other US states map to their statutes; the rest of the world gets the configured default.
The approach has known failure modes. IP geolocation is imperfect — VPNs, corporate egress points, and mobile carriers blur locations — and misclassifying an EU visitor as American means unlawful tracking from the first pageview, so sensible configurations fail toward the stricter regime when uncertain. Rules also require maintenance as new state laws take effect. And the regime split must extend beyond the banner into enforcement: the same tracker may fire pre-consent in Texas but must wait in Toulouse.
Done well, geolocation-based consent is how one codebase satisfies many laws while preserving marketing performance where the law allows it.
Why it matters for eCommerce
For a store selling across the US and EU, geo-targeted consent directly protects revenue: EU shoppers get the compliant opt-in flow, while US shoppers are not subjected to conversion-costing banners that their law does not require — provided the opt-out machinery (Do Not Sell or Share link, GPC) is genuinely wired in. Test each region with a VPN; the differences should be visible in both the banner and the network traffic.
Frequently asked questions
- Can I show different cookie banners to visitors in different countries?
- Yes — that is standard practice and legally sound, since obligations attach based on the visitor's location and applicable law. The risk lies in misclassification, so configurations should default to the stricter experience when location is uncertain.
- Is IP-based geolocation accurate enough for consent?
- It is the industry standard and generally accepted, but imperfect: VPNs and network topology cause misreads. Compliance-minded setups fail toward stricter regimes on uncertainty and keep the rules updated as new laws take effect.
Related terms
Wondering how this applies to your own site? Get a free compliance scan — see every tracker that fires before consent, graded against CIPA, GDPR, CCPA/CPRA, and MHMD.
Geo-targeted banners with PieEye