Geolocation Add-on API restriction issue

Unable to successfully get the Geolocation add-on working while the API restrictions are set to ‘website’ / referrer.

I was able to setup the address input and toggle the autocomplete option when the API was left unrestricted. Also, while the API was unrestricted the Gravity Froms Settings > Geolocation Settings would show a green tick :white_check_mark: after the API key. However, as soon as the API restrictions are added within the Google Cloud Console, the Geolocation Settings > Google Places API Key would display an :x:.

I got in touch with Google Cloud Support, and after running some tests they said the API errors because of the referrer restrictions.

The odd thing is, although the Gravity Froms Settings > Geolocation Settings would show a red cross :x:, the form autocompletion would still work. This leads me to thing that there might be a bug with the GF Geolocation add-on.

Here is an example of the website / referrer restrictions (I’ve tried a number of variations, which all seems to produce the same result - autocompete working, but reporting that it’s not in the WP Dashboard / GF and Form Settings.

  • **

Gravity Form API Key (with API ‘website’ restriction)


The same issue is present across 2 WP installations on different servers with different domains.

Assistance would be apprecaited.

1 Like

Hi Joe. I ran into this issue when I initially set up the Geolocation Add-On. The issue was the referrer URL patterns. I followed the instructions here:

And I was able to use Geolocation again. I needed to read the instructions several times to ensure the URL pattern was correct. From the sounds of your description, you have the same issue. I recommend reviewing the Google Docs again and double checking your patterns. Thank you.

I have installed the Geolocation Addon and having the same issue with API Key Validation despite the key being the correct.
We have added the following website restricions which should work:*

Result → We are asked for the Allow / Deny of Live Location but the location is still not fetching as expected.
We tried your reference as well still the issue persists.

1 Like

If anyone is still having trouble with this, please open a support ticket:

Thank you.

I’m the same… I’ve put all the possible patterns… and nothing…

I’m in this test domain;

Captura de Pantalla 2023-03-20 a las 18.55.24

On the other hand…

I have not yet managed to get the Geolocation fields to appear when I go to edit the form…

I understand what it is;

  1. Why does the API not bind when I put the restriction on it?

  2. Because when I remove the restriction and link it is not valid for the Addon configuration…


Could you solve it? I’m the same… and I don’t know what to do… I’ve written to the support team 3 times but they haven’t answered me yet…

Hello. What email address did you use for the ticket? I don’t see any tickets from the email address you used here.

1 Like

Hello, thanks for answering,

The email is

And the tickets are;

I have not received an answer yet.

Hello. I found your tickets. All the tickets have been combined into one and you will receive a response from us there. Please don’t create any more tickets. Thank you.


On the other hand, is there not the option to see the tickets created or to be able to reply to or extend the same ticket?

Thank you!

There is no portal where you can see any tickets you have opened. That is something we’d like to add in the future.

The issues is still there.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.