Skip to content

GdprGeo Module

Overview

The GdprGeo module provides geographic detection to apply GDPR rules based on visitor location.

Configuration

Path: Stores > Configuration > GDPR Compliance > Geographic

  • Enable GeoIP Detection - Detect visitor location
  • GeoIP Service - MaxMind, IP2Location, or Custom
  • EU Countries - List of EU countries
  • Strict Mode - Apply rules only to EU visitors
  • Default Country - Fallback if detection fails

GeoIP Services

  • License Key - Your MaxMind key
  • Database Path - Path to GeoLite2 database
  • Auto-update - Update database monthly

IP2Location

  • API Key - Your IP2Location key
  • Cache Duration - Hours to cache lookups

Custom Service

Implement custom provider via plugin.

Location-Based Rules

Apply different rules by region:

  • EU Visitors - Strict GDPR compliance
  • Non-EU Visitors - Relaxed cookie banner
  • Specific Countries - Custom policies
  • GdprCookie - Location-based cookie rules
  • GdprConsent - Regional consent requirements