Mapbox

Mapbox

Interactive map platform used by developers and enterprises as a programmable alternative to Google Maps. The Mapbox GL JS library renders vector tile maps in the browser using WebGL. Mapbox may log map tile requests and interactions for billing and analytics purposes.

Overview

Mapbox is an interactive mapping platform used by developers as a programmable alternative to Google Maps. The Mapbox GL JS library renders vector tile maps in the browser using WebGL, providing customizable map experiences for location-based applications.

What This Script Does

The Mapbox GL JS library is a substantial JavaScript package that renders interactive vector maps directly in the browser using WebGL. When loaded, it:

  • Fetches map tiles: Makes requests to Mapbox's tile servers (api.mapbox.com) to download vector tile data, sprites, and fonts as the user pans and zooms the map. Each tile request includes the site's Mapbox access token.
  • Geolocation (optional): If the site uses the GeolocateControl, the browser's Geolocation API is invoked, which requires the user's permission via the browser's native prompt.
  • Telemetry: Mapbox collects anonymized usage data (map loads, interactions) for billing and service improvement. This telemetry is sent to Mapbox's events.mapbox.com endpoint and includes the access token, map interaction events, and a session identifier. Telemetry can be disabled via mapboxgl.accessToken configuration or by setting mapboxgl.config.collectResourceTiming = false.
  • No cookies: Mapbox GL JS does not set cookies on the embedding site's domain. It uses the access token for authentication and billing rather than cookie-based tracking.

The library is large (approximately 200-700KB depending on version and plugins) and makes numerous network requests for tile data during map interaction.

Consent & Compliance

Mapbox is a functional tool — it provides interactive map content that is typically core to the page's purpose (store locators, delivery tracking, property search, etc.).

Under GDPR/ePrivacy:

  • Map rendering: Functional and does not require consent when the map is integral to the service.
  • Telemetry: The anonymized usage telemetry sent to Mapbox is a gray area. It transmits interaction data to a third party, but it is anonymized and used for service operation. Strict interpretations of ePrivacy may require consent for this telemetry.
  • Geolocation: Handled by the browser's native permission prompt, separate from cookie consent.

Under CCPA, the IP addresses transmitted with tile requests may constitute personal information, but Mapbox acts as a service provider in this context.

Should You Block This Without Consent?

No. Mapbox is a functional content component that does not set cookies or perform cross-site tracking. If maps are integral to your site's functionality, they can load without consent. If you want to be strictly compliant, consider disabling Mapbox's telemetry endpoint, which removes the only data-sharing concern.

Is Mapbox GDPR compliant?

Mapbox 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 Mapbox 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 Mapbox, not on Mapbox itself.

Visit website

Consent Categories

Also Known As

Mapbox GL JSMapbox APIMapbox tilesvector maps librarymapbox.com privacy

Industries

Programming and Developer SoftwareComputers Electronics and Technology

Tracked Domains (4)

Mapbox's trackers are occasionally seen, seen on under 1% of the sites ConsentStack has scanned. Scan your own site to see which of these are firing before consent.

mapbox.comEssential

mapbox.com is an essential domain operated by Mapbox, used to keep the site working, including security, load balancing, and sessions. Seen on under 1% of scanned sites.

api.mapbox.comFunctional

api.mapbox.com is a functional domain operated by Mapbox, used to run site features like chat, video, embeds, and preferences.

tiles.mapbox.comFunctional

tiles.mapbox.com is a functional domain operated by Mapbox, used to run site features like chat, video, embeds, and preferences.

events.mapbox.comFunctional

events.mapbox.com is a functional domain operated by Mapbox, used to run site features like chat, video, embeds, and preferences.

Frequently Asked Questions

Related Vendors

Ensighten
Ensighten
Enterprise web content management and digital experience platform. Ensighten also provides a tag management system and client-side security (Ensighten Protect) that monitors for unauthorized script injections and data exfiltration in the browser.
Squarespace
Squarespace
E-commerce website builder used by entrepreneurs and small businesses. Squarespace's scripts handle storefront rendering, checkout, and form submissions on Squarespace-hosted sites. Also loads analytics, scheduling (Acuity), and e-commerce tracking scripts as part of its integrated platform.
DMCA Services
DMCA Services
DMCA Protection provides copyright protection badges and monitoring services for website owners. The DMCA badge widget script loads a protection seal from DMCA.com servers. No behavioral tracking or advertising cookies are set.
Wistia
Wistia
Business video hosting platform designed for professional marketing and sales teams. The Wistia player script loads an interactive video embed with built-in analytics that track play rate, watch time, and engagement score. Wistia's email collector feature can capture leads directly within the video player.
Better Business Bureau
Better Business Bureau
Online verification and compliance organization that displays a seal indicating BBB accreditation. The BBB Dynamic Seal script loads a trust badge that verifies accreditation status from BBB servers. No behavioral tracking or advertising cookies are set.
Okendo
Okendo
Okendo is a customer review and loyalty platform for ecommerce brands, known for rich review attributes and deep Shopify integration. Scripts embed review widgets, Q&A sections, and loyalty points displays on product and collection pages. Review data feeds into Google Shopping rich results and post-purchase email automation.

Manage consent for Mapbox

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