Once you've generated your Google Maps API key, we recommend adding security measures to ensure others cannot use your key on websites other than your own. Doing so is very simple, and will only take a couple of minutes. You can follow the steps below to get your security settings organised.
1. Login to https://console.developers.google.com using the Google account with which you created your key
2. Navigate through to APIs & Services > Credentials
3. Click your API key
4. Under 'Application restrictions' check HTTP referrers
5. Under 'Accept requests from these HTTP referrers' enter your website's URL (including https://) with /* added to the end (screenshot)
If you've setup HTTP referrers but would also like to use the same key to display Google Maps within your Bookeasy console, Operator Booking Engines, and Affiliate Booking Engines, you'll also need to add book.bookeasy.com/* and https://www.bookeasy.com.au/* in the list of referrers. For example, if we were to set this up for our own beDigital site, the referrers would appear as below.
Sometimes, even after setting the above, there may still be an error on your website maps. This can sometimes be due to the correct APIs not being enabled. Please check by doing the following:
2. Click the hamburger in the top left
3. Go to APIs & Services
5. Under the maps heading, click View All
6. You'll need to find the relevant api which is disabled, click on it, then click Enable
If you have any questions on adding an HTTP referrer to your key please feel free to contact us at email@example.com or on (07) 5668 2543.