Google Maps

Google Maps

Google Maps is the dominant web mapping service used for embedded maps and location features on websites. Scripts load interactive map tiles, geocoding, and Places API functionality through the Maps JavaScript API. May set cookies to remember map preferences and manage API quota.

Overview

Google Maps is the dominant web mapping service used by websites to embed interactive maps, provide location search, display store locators, and integrate geocoding or routing functionality through the Maps JavaScript API.

What This Script Does

The Google Maps JavaScript API loads from maps.googleapis.com and renders interactive map tiles, markers, and overlays within designated page elements. Depending on the implementation, it may use the following APIs:

  • Maps JavaScript API: Renders map tiles, handles zoom/pan interactions, displays markers and info windows.
  • Places API: Provides address autocomplete, place details, and business information.
  • Geocoding API: Converts addresses to coordinates and vice versa.
  • Directions API: Calculates routes and travel times.

Cookies: Google Maps may set cookies including NID (google.com, 6-month expiry) used to store preferences and CONSENT cookies. When a visitor interacts with the map, session cookies manage map state. If the visitor is signed into a Google account, additional account-related cookies may be present.

Data transmitted: Each map tile request transmits the visitor's IP address, viewport coordinates, zoom level, and User-Agent. If Places or Geocoding APIs are used, search queries and coordinates are sent to Google's servers. The Maps API requires an API key that identifies your Google Cloud project.

JavaScript execution: The Maps API loads and executes substantial JavaScript. It accesses the DOM to render map elements and may use geolocation APIs (with browser permission) if location-based features are enabled.

Consent & Compliance

Google Maps falls under the functional consent category. It provides user-requested functionality (viewing a map, finding directions, searching for locations) rather than analytics or advertising.

Under GDPR, the primary concerns are:

  • IP address transmission to Google (a US-based processor), addressed by the EU-US Data Privacy Framework.
  • Cookies set by the Maps embed. The NID cookie stores preferences and is not strictly necessary.
  • If geolocation is used, explicit browser-level permission is required in addition to consent.

Under ePrivacy, cookies set by the map embed for preference storage may require consent, even though the map itself serves a functional purpose.

Under CCPA, the data transmitted to Google through Maps does not typically constitute "sale" or "sharing" for advertising, but is subject to standard personal information protections.

Should You Block This Without Consent?

Conditional. Google Maps serves a functional purpose but sets cookies and transmits data to Google. The approach depends on your compliance posture:

  • Conservative: Block the live Google Maps embed until functional consent is obtained. Show a static map image or placeholder with a click-to-load interaction.
  • Moderate: Load Google Maps under legitimate interest for functional purposes, noting that it sets some non-essential cookies.
  • If using geolocation features: Always require explicit consent, as geolocation involves sensitive data.

Many consent management platforms treat Google Maps as functional and load it without marketing consent, while providing a fallback image for strict-consent scenarios.

Is Google Maps GDPR compliant?

Google Maps typically loads functional trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So Google Maps can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads Google Maps, not on Google Maps itself.

Visit website

Consent Categories

Also Known As

Google Maps embedMaps JavaScript APIGoogle Maps GDPRmaps.googleapis.com

Industries

Computers Electronics and TechnologySearch Engines

Tracked Domains (2)

Google Maps's trackers are occasionally seen, seen on about 3% of the sites ConsentStack has scanned. Scan your own site to see which of these are firing before consent.

maps.googleapis.comFunctional

maps.googleapis.com is a functional domain operated by Google Maps, used to run site features like chat, video, embeds, and preferences. Seen on about 3% of scanned sites.

maps.google.comFunctional

maps.google.com is a functional domain operated by Google Maps, used to run site features like chat, video, embeds, and preferences.

Frequently Asked Questions

Other Google Products

Firebase
Firebase
Firebase is Google's mobile and web application development platform offering authentication, real-time database, cloud functions, and analytics. Web SDK scripts initialize Firebase services and may track app events via Firebase Analytics, which is powered by Google Analytics 4. Widely used in single-page apps and PWAs for backend infrastructure and usage tracking.
Google Ads
Google Ads
Google Ads is Google's advertising platform for search, display, and remarketing campaigns. Conversion tracking scripts fire on advertiser landing pages to measure actions taken after ad clicks. The remarketing tag builds audience lists for retargeting users across Google's ad network.
Google Analytics
Google Analytics
Google Analytics is the world's most widely deployed web analytics platform. Scripts track page views, sessions, user demographics, traffic sources, and conversion events. Drops cookies to identify returning visitors and attribute user journeys across sessions.
Google Fonts
Google Fonts
Google Fonts is a free font hosting service that serves hundreds of typeface families via a global CDN. Stylesheets and font files load from fonts.googleapis.com and fonts.gstatic.com to deliver web fonts to visitors. No advertising or tracking functionality is included.
Google Tag Manager
Google Tag Manager
Google Tag Manager is a tag management system that lets marketers deploy and update analytics and marketing scripts without code changes. The GTM container script loads synchronously in the page head and injects configured tags, triggers, and variables on behalf of other vendors. No data collection of its own — acts as a loader for other scripts.
reCAPTCHA
reCAPTCHA
Google reCAPTCHA is a bot detection and spam prevention service protecting web forms, login pages, and checkout flows. Scripts analyze user behavior, mouse movements, and browser fingerprints to distinguish humans from bots. The invisible reCAPTCHA v3 scores interactions without requiring user challenges.
YouTube
YouTube
YouTube is Google's video platform, widely used to embed video content on external websites. The YouTube iframe player loads JavaScript that communicates with Google's servers for video playback, quality control, and ad serving. Embedded players may set cookies tied to the viewer's Google account to track watch history and personalize recommendations.
Google Search
Google Search
Google Search appears on websites through the Programmable Search Engine, enabling custom site-specific search functionality. Scripts load the search widget from Google's servers to render search bars and display results within the host website. Sends search queries to Google's index and may set cookies for search personalization and query history.
Sign in with Google
Sign in with Google
Sign in with Google is an OAuth-based authentication service that enables users to log into websites using their Google account credentials. Scripts load the Google Identity Services library, display sign-in buttons, and handle token exchange for secure authentication. Stores session tokens and authentication cookies to maintain login state across page visits.
YouTube Player
YouTube Player
YouTube Player embeds YouTube videos on external websites via iframe. Scripts load from Google's servers and set cookies for video playback preferences, watch history, and ad targeting. Cookies are dropped even when visitors only view the embed without interacting with the player.

Related Vendors

Firebase
Firebase
Firebase is Google's mobile and web application development platform offering authentication, real-time database, cloud functions, and analytics. Web SDK scripts initialize Firebase services and may track app events via Firebase Analytics, which is powered by Google Analytics 4. Widely used in single-page apps and PWAs for backend infrastructure and usage tracking.
Google Fonts
Google Fonts
Google Fonts is a free font hosting service that serves hundreds of typeface families via a global CDN. Stylesheets and font files load from fonts.googleapis.com and fonts.gstatic.com to deliver web fonts to visitors. No advertising or tracking functionality is included.
Disqus
Disqus
Embeddable comment platform used by blogs and content sites to add community discussion. Loading Disqus injects a heavyweight script that fetches comment threads and sets multiple tracking cookies, including for Disqus's own ad network. Disqus serves targeted ads within the comment widget and logs user engagement data.
LongTail Ad Solutions
LongTail Ad Solutions
JW Player is an enterprise video platform for publishers and media companies. The JWP script loads an HTML5 video player with built-in analytics that tracks play events, completion rates, and ad performance. Also supports header bidding for video ad inventory monetization.
Fonticons
Fonticons
Font hosting and typography services platform. Font Awesome scripts load icon font libraries from CDN. The Fonticons CDN operates primarily as an asset delivery mechanism with no behavioral tracking, though CDN access logs may record visitor IP addresses.
ShareThis
ShareThis
Social sharing and audience engagement tools used by publishers to add share buttons and content discovery features. The ShareThis script injects social sharing widgets and tracks which content gets shared and to which networks. Also collects behavioral data for audience segmentation.

Manage consent for Google Maps

ConsentStack automatically detects and manages Google Maps trackers so your site stays compliant with global privacy regulations.