website logo
⌘K
Getting started
Create your Serviceform account
Pixel
Your Dashboard
Conversational tools
Serviceform glossary
FAQs
Cookies
GA 4 and DataLayer
Send events into GA4 from DataLayer
Cookie controller
Website analytics (Insights)
Custom event tracking
Chatbot
Design your chatbot
Build your chatbot
Settings
Preview your chatbot
Install your chatbot
Duplicate your chatbot
Translate your chatbot
Facebook Chatbot
Advanced
Live chat
Livechat teams
Trigger your livechat
Set hours
Desktop notifications
SMS notifications
Livechat in Serviceform App
Talk with the clients
Popup
Create your first popup
Popup type settings
Popup content
Popup design
Thank you page
Tracking and advanced settings
Language
Install your popup
Leadbar
Create your Lead bar
Types of Bars
Form
Build your form
Question types
Settings and design
Custom CSS & JS
Install your form
Emails
Install tools
Insights
Website analytics
Flow statistics
Live chat statistics
Ourly Calendar
Setup Ourly
Events
Sync Calendar
Email signature
Add email signature to Gmail
Social Inbox
Connect Facebook and Instagram
Meta Business Suite
Integrations
Sending lead via Webhooks
Google Analytics
Zapier and Webhooks
HubSpot with Zapier webhooks
Collect payments with Stripe
Leads
Filter leads
Export leads as XLS
Account
Settings
Change password
Plan settings and invoice history
Docs powered by archbee 
4min

Google Maps plugin

To use a Google Maps validation in your chatbot, you'll need to use a Text Question type, and choose the Address Autocomplete (Google) validation on your Question settings

Document image

You can optimize your Google Maps results by filtering deepelly on what you need.

NOTE: This filters aplly to all the flow, so you can not have diferent filters in diferent questions

Filter addresses

Open the console, enter this script:

serviceChatData.serviceform.googlePlaces = 'address';

Save the flow.

Filter countries

Open the console, enter this script: serviceChatData.serviceform.country='es';

Change the country accordingly to your needs. The country must be passed as a two character, ISO 3166-1 Alpha-2 compatible country code.

Save the flow.

Filter regions or postal codes

Open the console, enter this script:

serviceChatData.serviceform.googlePlaces = '(regions)';

Save the flow.

Filter cities

Open the console, enter this script:

serviceChatData.serviceform.googlePlaces = '(cities)';

 Save the flow.

Updated 27 Jul 2021
Did this page help you?
Yes
No
UP NEXT
Logic jumps
Docs powered by archbee 
TABLE OF CONTENTS
Filter addresses
Filter countries
Filter regions or postal codes
Filter cities