Black Friday & Cyber Monday
50% OFF All plans, upgrades & renewals
View offers

MAPS & LOCATION DATA

Set up Google Maps credentials

Configure separate Google Maps browser and server keys for GEO my WP, check API compatibility and test maps, geocoding and suggestions.

2 min read · Updated December 1, 2026

Google Maps needs a configured Google Cloud project and separate credentials for browser features and server address lookups. Set up the services your installed GEO my WP release actually uses, then test each operation.

Prepare the project

  1. Open Google Cloud Console and choose or create the intended Maps Platform project.
  2. Configure the project's required billing/account setup.
  3. Enable Maps JavaScript API for browser maps and Geocoding API for the address lookups you use.
  4. Review additional service requirements for autocomplete or directions against your installed plugin version.
  5. Create separate browser and server API keys.

Google's service availability and legacy/new APIs differ. In particular, older GEO my WP autocomplete code uses google.maps.places.Autocomplete. Google does not offer that legacy widget to new customers. Enabling Places API (New) alone does not convert the plugin to the new widget. If your project cannot use the required legacy service, check release compatibility with support before depending on autocomplete. See Google's Places widget reference.

Restrict each key

Use website/referrer restrictions for the browser key and the appropriate server restrictions for requests from your host. Limit each key to the APIs it needs. Include the actual production/staging domains where you intend to test; get the correct outbound server addresses from your host when required.

Follow Google's key-security guidance. A browser key is visible in browser requests, so hiding its field in WordPress is not a replacement for restrictions.

Enter credentials in GEO my WP

  1. Open GEO my WP → Settings → Maps & Geocoders.
  2. Select Google Maps.
  3. Paste the browser key in Browser API key.
  4. Paste the server key in Server API key.
  5. Choose Save changes.

Verify independently

Use Test the server key for the server geocoding diagnostic. Then check a frontend map, a location-form address lookup, supported suggestions and any directions feature you use. One successful test does not validate every service.

If the browser map fails, inspect its console error for the rejected key, API or referrer. If server lookup fails, check the server key, API permissions, quota/billing and host networking. Review error text without posting keys publicly.

Markers and duplicate scripts

Use legacy map markers is a compatibility option in the provider settings. Advanced and legacy marker behavior can differ. Also check whether another theme/plugin loads a second Google Maps script with a different key or library configuration; duplicate loads can affect features even when the saved keys are correct.