To integrate Google Maps on your website with our Google Maps Locator module, you need an API key. This is a unique ID used to verify requests associated with your project so that Google gets a view on the usage and can bill you accordingly. Fortunately, creating such an ID doesn't take much effort.
Application Programming Interface (APIs) allow communication between two different platforms, where the key verifies the identity of the project where the requests come from. The Google Maps API also requires such an API key, which connects to your billing data.
The use of the Google Maps API is usually paid, but in practice, it doesn't always cost you money. Google automatically allocates 200 US dollars per billing account monthly. This means that you don't pay anything as long as you generate less than 25,000 hits per day. If your needs are higher, Google will charge you for this.
Here you get a detailed overview of the rates for the Google Maps API
Creating your API key for the Google Maps JavaScript API is just a few steps:
Create an API key via Google Cloud Platform console:
Every request to the Google Maps API must contain an API key. In the example below, replace YOUR_API_KEY with your own API key.
<script async defer src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap" type="text/javascript"></script>
This is added automatically if you are using one of our HubSpot Store locator modules : Store locator on Google maps or Store locator on Google maps with radius.
By imposing restrictions on your API key, you provide extra security and ensure that only authorized requests are made using your API key.
(*) This API is exclusively used with the module Store locator Google Maps with Radius/Distance.
It is recommended that you set both available restrictions before using an API key.
For more information, you can also visit Google's documentation page.
With such an API, you can integrate Google Maps on your HubSpot website. We have developed 2 custom modules that allows you to display multiple locations on your HubSpot road pages:
Buy Store locator Google Maps with radius on the marketplace »
To the documentation of this module »
Buy the Store locator Google Maps with radius on the marketplace »
To the documentation of this module »