Configuring the Google Maps API

The Google Maps feature is used in Site Stacker to filter contacts within a location and a set radius, or to show the contacts in a Google Map interface that can be viewed through the dashboard. Before a user can start using this, the Google Maps API needs to be configured first.

NOTE: If you will be using the Google Maps API service, please make sure to use Google's paid version as the free version is only limited to the number of contacts to Geocode. Please refer to this link for their pricing.

  • Please refer to this link on how you can setup your Google API.
For the Geolocation, there has been another setting that was added as we found that using 1 API key for both the back-end and front-end will not work.

If you go to the Settings component, you are now going to see a 'Google Frontend' and 'Google Backend' option.

The Google Frontend is what is being used in the dashboard to see contacts in the map. If you select this, you should see the instructions on what are needed to be enabled, as well as what restriction it needs to use. For this case, you will need to use the HTTP referrer as the restriction.

The Google Backend is what is used to geocode the contacts in the CRM admin side. If you choose this, you should also see what you will need to enable and what restriction it needs to use, which is the IP Address. Ensure to add our public IP to the list ``

You will need to have both Google Frontend and Google Backend set in Settings and both APIs should be separate.

After setting it up, please check the following. Make sure everything is configured:

  • In Site Stacker, go to the Settings component, and choose Google Integrations. add your API key in the field, and Save.
  • Next, go to the Cron component in Site Stacker, and add People > Geocode address. Leave the expression and limit to the defaults. Save and close.
  • Wait for the changes to propagate. Geocoding usually takes a while in order for all CRMs to be geocoded.

Modified on Tue, 19 Sep 2023 at 09:07 AM

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article

Make sure these features are added to your Site Stacker installation by learning how to run updates here!