OpenStreetMap in WordPress: privacy-friendly maps without Google (GDPR)

Google Maps sends your visitors’ data to Google before they’ve agreed to anything. Here’s how to use OpenStreetMap in WordPress instead, and what that means for GDPR and cookie banners.

3 min read · Updated 18 November 2026 · By Descent Digital

The short answerUse a WordPress map plugin built on OpenStreetMap data with map tiles from a service that sets no cookies, such as OpenFreeMap. Visitors’ browsers then never talk to Google when the map loads. Pinscribe works this way out of the box, with no account and no API key.

Every embedded Google Map loads files from Google’s servers, which receive the visitor’s IP address and can set cookies. In the UK and EU that usually means you need consent before the map loads, so many sites show a grey “click to load map” box instead. OpenStreetMap avoids most of that.

This live map uses OpenStreetMap data and OpenFreeMap tiles. No Google, no API key, no tracking cookies.

What is OpenStreetMap?

OpenStreetMap is a free map of the world made by volunteers, a bit like Wikipedia for maps. Its data is open, so anyone can draw maps from it. In many places it has more detail than Google: footpaths, cycle lanes, waymarked trails, speed limits.

The data is free, but the pictures of the map (the “tiles”) have to be served from somewhere. OpenStreetMap’s own tile server isn’t for heavy use by other websites, so plugins use a tile service. Pinscribe uses OpenFreeMap by default, which is free and needs no key; it can also use CARTO, Stadia Maps or MapTiler with your own key if you prefer their styles.

GDPR: what changes

  • No Google requests. The map loads nothing from Google, so the visitor’s IP address isn’t sent there.
  • No tracking cookies from the map. The map itself sets none.
  • Fewer consent prompts. Many sites can load an OpenStreetMap map without asking first. Check with your own privacy adviser, as it depends on the tile service and anything else on the page.
  • Your privacy policy. Pinscribe suggests the wording to add under Settings → Privacy, and its members, reviews and enquiries work with WordPress’s Export and Erase Personal Data tools.

Switching from Google Maps

  1. List what your Google maps show

    A contact-page pin, a store locator, a directory? Each has a Pinscribe equivalent.

  2. Install Pinscribe and add your places

    Type the addresses, or import a CSV or a Google My Maps export.

  3. Replace each Google map

    Swap each embed or Google Maps block for the Pinscribe block, widget or shortcode.

  4. Remove the Google Maps script

    Check your theme and plugins aren’t still loading Google Maps on every page, and remove the map from your cookie banner if nothing else needs it.

Common questions

Is OpenStreetMap GDPR compliant?

OpenStreetMap’s data has no privacy issue; what matters is the tile service your map loads pictures from. A service that sets no cookies and keeps no personal logs, such as OpenFreeMap, is far easier to use under GDPR than Google Maps. Check your own setup with your adviser.

Is OpenStreetMap free for commercial websites?

Yes. The data is free to use with credit to OpenStreetMap’s contributors (Pinscribe shows it). Tile services have their own terms; OpenFreeMap is free.

Do I need consent to show an OpenStreetMap map?

Often not, as long as the map sets no cookies and sends no personal data to third parties. Rules differ by country, so check with your adviser.

Make your own map, free.

Pinscribe is a free WordPress plugin. Answer six questions and your map is live, or ask your AI to build it for you.