DPO Radio

Free Website Privacy Check: Ensure Your Site's Compliant Now!

Add Google Maps to WordPress for GDPR Compliance

Add Google Maps to WordPress for GDPR Compliance

How to Add Google Maps to WordPress for GDPR Compliance Using AesirX CMP

Google Maps is a powerful tool for embedding interactive maps into your website. However, as Google Maps collects user data, such as location and interaction information, to provide its services, it is essential to manage user consent before processing personal data in compliance with GDPR and the ePrivacy Directive (ePD).

This guide explains how to integrate Google Maps into your WordPress site while maintaining GDPR and ePD compliance using AesirX Consent Management Platform (CMP). 

AesirX CMP helps you manage user consent and block data processing until consent is granted, allowing you to use Google Maps effectively while keeping your site compliant.

(Assumes you have WordPress installed and a Google Maps plugin deactivated or removed.)

How_to_Add_Google_Maps.png

Step 1: Install AesirX CMP and Activate Your Trial

1. Download and Install AesirX CMP

  • Download the plugin: Get the latest release from AesirX CMP Plugin on GitHub.
  • Install the plugin:
    • Log in to your WordPress admin panel.
    • Go to Plugins > Add New.
    • Click Upload Plugin, select the downloaded file, and click Install Now.
    • Click Activate Plugin after installation.

2. Register Your Shield of Privacy (SoP)

Sign up for a Shield of Privacy (SoP) account to activate your 14-day free trial with full features. (Note: Your SoP serves as your AesirX Account ID, giving you access to all AesirX solutions and licenses.)

  • Go to AesirX CMP Signup.
  • Enter your details:
    • Email
    • Shield of Privacy ID
    • Domain
  • Accept Terms & Verify:
    • Check Accept Terms & Privacy Policy.
    • Click “Click to start verification → Activate My Trial.
  • Complete Setup:
    • Click How to get your Shield of Privacy & License.
    • Click Update Domain.

3. Update Your License for Continued Access

Before your trial ends, update your license to keep full access:

  • Go to the AesirX Licenses page.
  • Get your new license key.
  • Enter the key in the plugin settings under Your License Key.

Screenshot_2025-02-06_at_09.31.42.png

Step 2: Use AesirX Privacy Scanner to Identify Third-Party Domains for Google Maps

With AesirX CMP installed, the next step is to identify and block third-party domains on Google Maps. AesirX Privacy Scanner simplifies this process.

1. Scan Your Site for Third-Party Domains:

  • Open AesirX Privacy Scanner.
  • Enter your website’s URL and click Scan.
  • The scanner will analyze your site and list all third-party domains collecting user data.

Screenshot_2025-02-06_at_09.32.07.png

2. Identify Google Maps Tracking Domains

Look for Google Maps-related domains in the scan results, such as:

  • maps.googleapis.com
  • maps.gstatic.com
  • google.com

3. Copy Identified Domains:

  • Copy these domains for use in the next steps to block Google Maps from loading until the user consents. 

How_to_Add_Google_Maps_Graphic_3.png

Step 3: Prevent Google Maps Tracking Until Users Consent with AesirX Consent Shield

Stop Google Maps from tracking users before they consent by configuring AesirX Consent Shield.

1. Block Third-Party Domains:

  • Go to WordPress > Settings > AesirX Consent Management.
  • Find AesirX Consent Shield for Domain/Path-Based Blocking.
  • Enter the copied domains (e.g., maps.googleapis.com, maps.gstatic.com) to prevent them from loading until users consent..

2. Block Google Maps Plugin

  • AesirX Consent Shield automatically detects and lists third-party plugins that collect user data.
  • Go to AesirX Consent Shield for Third-Party Plugins.
  • Find Google Maps in the list and check the box to block it until users consent.

3. Adjust Script Blocking Settings:

  • Select "Only Third-Party Hosts" (default).
  • This blocks third-party scripts while keeping first-party scripts running normally.

4. Save your changes.

Click Save settings to apply the changes. Google Maps will now remain blocked until users provide explicit consent.

Screenshot_2025-02-03_at_16.36.19.png

Step 4: Set Up Explicit and Fully Informed Consent

AesirX enhances Google Consent Mode V2 with two improved compliance-focused consent modes:

  • Simple Consent Mode – Works like Google’s Basic Consent Mode but with stricter compliance. No data is collected or shared with third parties until users explicitly consent. Includes Reject and Consent options.
  • Default Template – Tags start with denied parameters, ensuring no data is collected, stored, or sent until consent is given. Unlike Google Consent Mode 2.0, AesirX prevents any tags from loading before consent, reducing compliance risks. Includes Reject, Consent, and Decentralized Consent, giving users full control over their personal data.

How to Update Consent Settings

  1. Go to Settings > AesirX Consent Management > Select Consent Mode.
  2. Choose a template and customize the consent text.
    • Update your privacy policy to explicitly state:
      • Who collects the data (your site or third-party services).
      • Why the data is collected (e.g., analytics, personalization).
      • What data is collected (cookies, form data).
    • Keep the consent message simple, clear, and informative so users understand what they’re agreeing to and why it matters.
  3.  Enter your Google Tag ID and Google Tag Manager ID.
  4. Click “Save Settings” to apply changes.

Screenshot_2025-02-04_at_09.08.43.png

You've successfully configured Google Maps for GDPR, the ePrivacy Directive, and other data protection laws using AesirX CMP. Google Maps will remain blocked until users explicitly consent, helping your site comply with data protection laws.

Activate your 14-day free trial today to access powerful features like seamless consent management, customizable consent modes, and the unique Consent Shield for enhanced protection.

Not sure if your site meets compliance standards? Test it now with AesirX Privacy Scanner to check if your data protection measures meet legal requirements!

Enjoyed this read? Share the blog!