I have a search box where people can search a city or country in it. The database contains clear city and country names like Istanbul, Germany, Hamburg and so on.
The search box has choices style “geographic places” (below) and I’m sending a location parameter with it as well.
There is a flow on the search icon and it’s of content type “spaces” . It works so when the user inputs a country or city in the input and clicks the search icon, I’m sending him to the next page togther with a parameter “location” which contains whatever the user has searched, usually a country or city.
The next page is the search results page where the data source is a “search for a space” data source, and the criteria is ANY field contains “get location from page URL” and then of course, parameter=location , the one I set up
Do you have your own API keys in Settings > General? If not, you’re currently using default shared keys which have a very limited quota. I think it’s something like 6 queries per minute, and every character you type in can trigger it (I think)… anyway, it’s really easy to hit the limit, so you have to wait a little.
Thanks @romanmg . Do the keys work in dev mode? I m asking because after putting the keys in, the parameters don’t get populated at all. Moreover, I see a payment sign next to the Google API keys.
Yes, they should. Make sure all your key settings are correct. Check that you have the right page/domain URLs whitelisted (especially for test vs live) and the right APIs enabled.
If you’re still getting an error (nothing populating), right-click the page > click “inspect” > and go to the “console” tab. Any related errors would show up in red here and give you a clue as to what’s misconfigured.