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.
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.
For your Google Frontend, under the websites restrictions, you will need to add you 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 what restriction it needs to use, which is the IP Address. Ensure to add our public IP to the list `146.20.46.80`
For your Google Backend, restrict it with 1 API key:
- Geocoding API
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:
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 Fri, 22 Aug at 9:06 AM
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article