Google changed to a Cloud API for Google Maps in 2018 and since then terms and privacy policies have changed, but for GDPR there has not been a solution yet, without blocking the API before loading.
Google Maps and WordPress
Most Google Maps plugins for WordPress, and themes, have included the new API and removed the implementation of an iFrame. Blocking the implementation of an iFrame is much easier than blocking the implementation with an API. The iFrames were mostly universal and easily recognized. Blocking an API and adding a placeholder is a bit trickier.
One of the most popular Google Maps plugins is WP Google Maps.
It’s also one of the few which added their own GDPR settings. Complianz adds compatibility to WP Google Maps by controlling the GDPR settings and adding a placeholder.
Example of WP Google Maps and Complianz
The below map is added by WP Google Maps using the API by Google Cloud Platform. The placeholder and consent management is Complianz’ improvement on the plugins GDPR settings:
Still using an iFrame?
iFrames are still popular, especially as they are free to use and easy for anyone to embed. Although not supported by most themes and plugins, they most likely outweigh the Google API for the next years. We added a custom placeholder (how? read this article) for below iFrame. The iFrame will be blocked until consent. If you consented above maps. This map will be visible also.
We collect information about the apps, browsers, and devices you use to access Google services, which helps us provide features like automatic product updates and dimming your screen if your battery runs low.
The information we collect includes unique identifiers, browser type and settings, device type and settings, operating system, mobile network information including carrier name and phone number, and application version number. We also collect information about the interaction of your apps, browsers, and devices with our services, including IP address, crash reports, system activity, and the date, time, and referrer URL of your request.
We collect this information when a Google service on your device contacts our servers — for example, when you install an app from the Play Store or when a service checks for automatic updates. If you’re using an Android device with Google apps, your device periodically contacts Google servers to provide information about your device and connection to our services. This information includes things like your device type, carrier name, crash reports, and which apps you’ve installed.