How to Integrate CookieYes with WP Maps Pro

15000+ live websites are using this google maps wordpress plugin.

Integrating CookieYes with WP Maps Pro

In this guide, we’ll walk you through how to integrate the CookieYes – GDPR Cookie Consent & Compliance Notice (CCPA Ready) plugin with WP Maps Pro. This setup ensures your maps are displayed only after user consent is granted, meeting GDPR and CCPA requirements.

🔒 Part 1: Block WP Maps Scripts Until Consent

  1. Go to the Cookie Manager in the CookieYes plugin dashboard.
  2. Under the Functional category, click on Add Cookie.

Add Cookie in CookieYes

  1. Fill in the following fields:
    • Cookie ID: e.g. maps-api
    • Domain: maps.google.com
    • Duration: Session or define your custom length
    • Category: Functional
    • Description: “Used to load Google Maps in WP Maps Pro”
  2. Click on Advanced Options and enter maps.google.com in the Script URL Pattern field.

Edit Script in CookieYes

Now, Google Maps scripts will be blocked until the visitor consents.

✅ Part 2: Automatically Unblock Maps After Consent

No manual action is needed here. WP Maps Pro automatically detects consent from CookieYes and loads maps accordingly after approval.

📌 Summary

  • Use CookieYes to block Google Maps scripts until consent is obtained
  • Enter maps.google.com in the Script URL field for targeting
  • WP Maps Pro will load maps automatically once user accepts cookies

This ensures a privacy-compliant, user-friendly experience on your WordPress site.

Need help? Submit a support ticket here.

Related Tutorials:

Was this article helpful?
YesNo

Install Plugin Now!

WP MAPS PRO helps you create dynamic, customizable maps using Google Maps or Leaflet — no coding required. Includes free updates, premium support, and a 30-day money-back guarantee.