Register for a Free Account
Name
Email
Choose Password
Confirm Password

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 limits the number of contacts you can geocode. Please refer to this link for their pricing.

  • Please refer to this link on how to set up your Google API.
If you go to the Integrations component (formerly called Settings), 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 instructions on what needs to be enabled, as well as which restriction to use. For this case, you will need to use the HTTP referrer as the restriction.
For your Google Frontend, under the websites restrictions, you will need to add your Site Stacker main site domain and dashboard domain (Ex. organization.org AND dashboard.organization.org).
Also, restrict it with these 4 APIs:
  • Maps JavaScript API
  • Places API (NEW)
  • Places API
  • Geolocation API
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 which restriction to use, which is the IP Address restriction. Add the public IP address of your Site Stacker server to the list; contact support@sitestacker.com for the current address.
For your Google Backend, restrict it to 1 API:
  • Geocoding API
You will need to have both Google Frontend and Google Backend set in Integrations, and the two API keys should be separate.
After setting it up, please check the following. Make sure everything is configured:
  • In Site Stacker, go to Integrations > Google Frontend and Integrations > Google Backend, add each API key in its field, and Save.
  • Next, go to the Cron component in Site Stacker, and make sure the People geocode addresses job (PeopleCron geocodeAddresses) is set up and active; add it if it is missing. Leave the expression and limit to the defaults. Save and close.
  • Wait for the changes to propagate. It usually takes a while for all CRM records to be geocoded.