1. Home
  2. Getting Started
  3. How to add a Google Maps API key to your store locator

How to add a Google Maps API key to your store locator

Google Maps API key is a unique identifier, that is required for all websites that use Google Maps API.

Storemapper works with the Google Maps API to ensure your customers get the best possible map experience so you’ll need to get an API key. The good news is that is free, takes just a few minutes and requires no coding. Here are the steps to registering a new Google Maps API key.

  1. Ensure you’re logged into your Google Account. If you don’t have one, you’ll have to create it first.
  2. Navigate to Google API dashboard
  3. Choose a project or create a new one. 
  4. Now we need to enable APIs required for Storemapper. Click on ‘ENABLE APIS AND SERVICES’.
  5. You’ll need the following APIs: Google Maps JavaScript API, Geolocation API, Places API, Geocoding API.  Enter mentioned APIs in the search field and click on it.
  6. Press ‘ENABLE’ in the opened window
  7. You’ll be navigated to added API dashboard. Go back to the list of APIs to continue enabling them. O
  8. Once you added all 4 APIs we need to create your API key. Click  to ‘APIs’ tab in the left pane and then press  ‘Create credentials’ button. 
  9. Choose ‘API Key’ in the drop down list . 
  10. That’s it! Just copy the newly created key and paste to your Storemapper account here OPTIONAL BUT A GOOD IDEA: You may want to limit your API key to just your site. Click to ‘RESTRICT KEY’, in the restrictions area choose restriction method (most of our clients are using HTTP referrers).

    Note: Add your site in exactly this manner: *yourwebsite.com/*  . Make sure to copy the asterisks and slashes exactly. If you have multiple domains, add them the same way with commas in between.

Also, add *storemapper.co/* to ensure your map preview feature works.

If you added Google API key and your Storemapper stopped working, remove API key from your Storemapper account and contact us at help@storemapper.co

Updated on June 7, 2018

Was this article helpful?

Related Articles