Support

Home Forums Event Espresso Premium API key

API key

Posted: May 21, 2020 at 4:49 pm


ginamariaperry

May 21, 2020 at 4:49 pm

Hello,
I trying to get my venue map to display. I believe it worked before I transferred my official domain over to my site. So I went to Events/Google Maps (tab) and Google maps API Key field gives instructions to click here to get an API key…from here I get confused. I believe I have somehow created a few projects on the first screen. Anyway I now leave it at “create a project” and hit continue. Then it creates a name “API key 1” . Below that it talks about Key restrictions, (application restrictions and API restrictions) what should I put for these choices? I went with the default choices and obtained an API key but map doesnt display. Should I be choosing certain restrictions? Thanks!


Tony

  • Support Staff

May 22, 2020 at 4:11 am

Hi there,

You don’t ‘need’ restrictions, but if you don’t at least set the key to be restricted to your domain then anything can view the source of your page and use your key.

Something to note is that Google Maps is no longer ‘free’, they charge per visit but do give you a $200 credit each month, so depending on your usage it may still not cost anything. However, the above means that for Google Maps to function they force you to enable billing on your Google account and if you don’t have it set up that is likely the issue.

Can you post a link to the page in question so I can take a look?


ginamariaperry

May 22, 2020 at 9:13 am

Here is a link to so you can see my map that doesnt view…its basically on every registration page for my art classes.
https://creativecliniccenter.com/events/seashell-resin-art-class-2/

I embedded code from Google Maps on my contact page so that works
https://creativecliniccenter.com/contact/

So am i not allowed to embed map code into my web pages? Google charges? how does the fee work and how much?

I sell art classes at my studio. I am still a bit confused on the API Key…I dont want to be left vulnerable as you mentioned. So what is best thing to choose for someone like me…

Application restrictions

None
HTTP referrers (web sites)
IP addresses (web servers, cron jobs, etc.)
Android apps
iOS apps

API restriction:
(There is about 6 different ones to choose from)

Thank you!


Tony

  • Support Staff

May 22, 2020 at 9:58 am

HTTP referrers (web sites)

Then input creativecliniccenter.com into the field.

Your venues aren’t actually loading maps at all rather than trying to load and showing an error.

If you edit your venues – Event Espresso -> Venues -> {venue}

In the sidebar to the right, it will have ‘Display Google Map for this venue?’, make sure that is set to Yes.

The support post ‘API key’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso