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

Storemapper works with the Google Maps Platform  to ensure your customers get the best possible map experience. Google requires you to register  API key  with your map and an active billing account.

If you want to learn more about how Storemapper is using Google Maps Platform and why you need to register your map with Google, please navigate to Your store locator Google Maps License explained.

 


Create Google API Key

First let’s check whether your account has or doesn’t have a key added. Login to your account and go to Google Maps API key tab . If you see an empty field, then check instructions below.

Step 1: Sign in to your Google account. If you don’t have one, you’ll have to create it to proceed further.

Step 2: Navigate to Google Maps Platform site and press ‘Get Started’

 

Step 3: In the opened window you’ll be asked which API’s to enable. Check all three boxes. and click ‘Continue’

Step 4: Then you’ll be asked to create a project or select from existing ones. You can learn about what is a project here. Select your existing project or click on ‘+Create a new project‘ and enter the project name.  Use something that makes sense to you under the project name, e.g ‘Business Name Website’.

 

If you are new to Google Cloud Platform (GCP), you may land on Google Cloud Platform start up page. GCP is free, but Google will give you $300 credit / mo during free-trial 12 months so you could use various services available under the platform. After 12 months Google will just decrease this credit and you’ll be receiving $200 credit / mo.

Fill into the form and press ‘Agree and continue’

Step 5: Enable Billing by clicking on ‘CREATE BILLING ACCOUNT‘.

Note

Google provides free maps usage quota per month, which in most cases will be more than enough for your business. However, it’s good to set up your budget threshold and billing alerts to avoid unexpected expenses.

Check How To Manage Your Google Maps Budget to learn how to avoid unexpected billing from Google

 

Step 6: Name your billing account and press ‘Continue

Step 7: In the opened window choose your country and currency, then click ‘Confirm’

Step 8: In the opened form enter your business information and add a payment card to your account.

Step 9: Now we need to create an API Key. Click here 

Step 10: Click on ‘Create credentials’ -> ‘API key’

Step 11: That’s it!  Your key has been generated! Copy it, we’ll have to add it to your Storemapper account in the next step.

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). Add *yourwebsite.com/* in the referrers field.

Make sure to copy the asterisks and slashes exactly. If you have multiple domains, add them the same way with commas in between.

Add API key to Storemapper account

Login to your Storemapper account and go to Google Maps API key tab.  Paste created API key in the Google Maps API Key field and press ‘Update API Key’

If you created your account earlier than June 2016  you need to re-embed Storemapper to your page. You can get it from your account dashboard.

You can check installation instructions here

You’re all set now!  Below are optional steps but highly recommended if you want to have more control over your maps usage

Control your Google maps usage and manage costs effectively

For its Google Maps products Google uses pay-as-you-go pricing scheme, which means that its customers pay for what they actually use. More over Google is giving you recurring $200 credit on your billing account each month to offset your usage costs.

We analyzed our clients usage and learned that majority of them fit into  $200 credit and are not exposed to any costs from Google.

However, we suggest you to use the following hints to be safe from unexpected payments.

Hint 1: Calculate your usage and costs.

Use the following article to calculate your usage

How to calculate your costs

Hint 2:  Set up budgeting and billing alerts.

Budgeting is cool feature, that Google provides you to control your billing. You can set up your budget threshold and billing alerts, that will notify you in case you’re getting closer to it. Below article will help you to set up budget and billing alerts.

Set up budget and billing alerts

 

If you have any questions or issues just contact us at help@storemapper.co

Updated on December 22, 2018

Was this article helpful?

Related Articles