Generating a Google Maps API key
In order to use the business autocomplete feature on our lead generation reports, you must create a Google developer account and create an API key.
Note that when using this feature, you will be responsible for costs associated with using the Google lookup. Google provides up to $200 credit each month for free, which should be good for around 11,000 lookups every month (prices correct at the time of writing in September 2020).
If you already use any Google APIs, we strongly recommend creating a separate API key for your Insites landing page. This will mean you can control security and usage individually across your various projects / integrations.
- Go to the Google Cloud Platform Console
- If you don’t already have an account, you’ll need to sign up for one. It is necessary to activate your account and provide billing details in order for the key to work correctly.
- Once you’re in the Google Cloud console, use the left hand menu to navigate to APIs & Services > Library
- Repeat step 4 and activate “Places API”
- Now use the left hand menu to browse to APIs & Services > Credentials
- At the top, click on “+ Create credentials” then “API key“
- Copy your key.
- Log in to your Insites account. From the account settings dashboard, go to Lead generation > General settings and scroll down to find Google Places autocomplete API key. Paste in your API key and hit “Save changes“.
- Back in the Google Cloud console, hit “Restrict Key”. You need to make sure a third party cannot use your API key to generate usage against your account. We recommend restricting “HTTP referrers” – in simple terms this means the key will only work on your landing page. To finish setting this up, you’ll need to add your landing page URL under “Website restrictions”.
- Once you’re done, hit Save. Note that changes to your API key may take up to 5 minutes to save.
We hope you found this guide useful – please let us know if you have any feedback.