Google Maps: GDPR, cookies and installation

API
Consent-controlled integration
Google Maps
No cookie listed ↗ Privacy policy + Multiple instances
service googlemaps
16.3M
requests / 30 days

49.17% consent


Google Maps: integration, data and consent

Google Maps is an API or third-party technical service integrated into the website. The data exchanged and applicable requirements depend on the feature and configuration being used.

When Google Maps uses tracking technologies or processing that requires consent, tarteaucitron can condition its activation on the visitor’s choice.

Managing Google Maps with tarteaucitron

When Google Maps is integrated through tarteaucitron, its activation is managed according to the visitor's consent choice. The service can therefore be loaded only when the corresponding permission has been granted and the visitor can later change this choice through the consent interface.

Cookies and storage used by Google Maps

No cookie name is currently declared in the tarteaucitron integration for Google Maps. This does not necessarily mean that the service processes no data or uses no other browser storage mechanism.

Configuring Google Maps

Add the following code to your website after initializing tarteaucitron. Replace the example values with those provided by Google Maps.

<script>
tarteaucitron.user.googlemapsKey = 'API KEY';
(tarteaucitron.job = tarteaucitron.job || []).push('googlemaps');
</script>

Additional code

The following code can already be present on your website and should be kept where the service is used.

<div class="googlemaps-canvas" data-zoom="zoom" data-latitude="latitude" data-longitude="longitude" style="width: widthpx; height: heightpx;"></div><script>tarteaucitron.user.mapscallback = 'callback_function';tarteaucitron.user.googlemapsLibraries = 'LIBRARIES';</script>

Code to remove

Default HTML code to remove from your website:

<script src="https://maps.googleapis.com/maps/api/js?key=API KEY" type="text/javascript"></script> <script type="text/javascript"> function initialize() { var mapOptions = { center: { lat: latitude, lng: longitude}, zoom: zoom }; var map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions); } google.maps.event.addDomListener(window, 'load', initialize); </script>

For a complete guide, read the documentation to install tarteaucitron.js.

Privacy information

For detailed information about the processing of data by Google Maps, cookies and applicable retention periods, refer to the documentation or privacy policy published by the service provider:

Google Maps privacy information

Frequently asked questions about Google Maps

Does Google Maps require consent?

The API name alone is not enough to determine whether Google Maps requires consent. The data transmitted, technologies used and purpose of the service must be considered.

How does tarteaucitron block Google Maps?

tarteaucitron controls the activation of Google Maps according to the consent choice recorded for the visitor. The service code is triggered through tarteaucitron instead of being loaded independently from the consent manager.