Geolocation

Geolocation

The Geolocation feature in Zoho Forms allows form owners to collect the geographical location of form respondents. This feature is particularly useful for businesses that require location-based data, such as attendance tracking, service request submissions, or geofencing applications.

Enable the geolocation option to capture your respondent's location with the longitude and latitude coordinates when they submit your form. By default, this property remains disabled and no location data is captured.
Info
Location is personal data. It is an information that can help identify a natural person. In this regard we recommend that you clearly inform your users about why you require their location, and how will this data be used and processed downstream.  In the context of the GDPR  (General Data Protection Regulation), the Data Subjects (your users, here) have a right to informed so. 

How to enable Geolocation in Zoho Forms

To collect your form respondent's location details,
  1. Navigate to  Settings > Submissions & Storage GeolocationHere, you can choose to collect the location coordinates of your respondents when they submit your form by enabling the option.
  2. You can configure how the form behaves based on the user's location:
    1. From Any Location

      From any location


      1. The form can be accessed and submitted from any location, even if the location data is not detected. However, if the location data is detected, it will be automatically stored. This option is ideal when location data is optional, or when submissions from any region are allowed.
      2. You can enforce geolocation requirements by selecting the Allow form access/submission only if location is fetched option. When enabled, the form will only be accessible if the user's location is successfully detected.
      3. If the location cannot be fetched, users will see a custom error message. You can modify this error message to be displayed according to your needs.
        Notes
        Note: To ensure that geolocation data is captured when embedding the form, make sure the 'allow geolocation' attribute is enabled in the iframe/JavaScript code.
    2. Within a Geofence

      Within a geo-fence

      1. The form can only be accessed or submitted when the user is within a specified geographical area (geofence). A geofence is a virtual boundary that can be defined around a specific region. Users outside this boundary will not be able to submit the form. This option is recommended for businesses that need to limit submissions to a specific area.
      2. Once you select the Within a Geofence option, click Add Location. A map interface will appear, allowing you to define the geofence area. You can zoom in or out using the plus (+) or minus (–) buttons in the bottom-right corner to find the specific location you want to restrict form submissions to. Use the search bar  to enter the specific location for the geofence.
      3. After selecting a location, define the geofence's radius. You can adjust the radius value in miles or kilometers (select your preferred unit). Range: 1 to 1000 miles or kilometers,
      4. Once you have selected the location and defined the radius, review the area displayed on the map. This boundary represents the geofence within which the form can be accessed and submitted. Click Done.

        Select location and radius

      5. The Geofence Summary will display the selected area.
      6. To ensure that the location of each user who submits the form will be stored for record-keeping, enable the Collect and store the form respondent's location option. It is useful for verifying the authenticity of submissions, or analyzing geolocation-based data.
      7. You can customize the error message to be shown to users when their location cannot be fetched and the error message displayed when users attempt to submit the form from outside the defined geofence.
        Info
        Ensure compliance with privacy regulations regarding the collection of geolocation data by informing users how their data will be stored and used.
  3. Click Save.
Notes
Note: Allowing form submissions with a geo-fence is available only in our paid plans.

Embedding a Form with Geolocation data capture

When embedding a form with geolocation features, it’s essential to ensure that the form can access the user's location. This requires adding a specific attribute (allow="geolocation") to the iframe or JavaScript code used for embedding the form on your website. 

The allow="geolocation" attribute is a critical part of ensuring that your form can access and capture the user’s location when they try to fill it out. Without this attribute, the browser may block location access, leading to issues in collecting the respondent's geolocation or enforcing geo-restrictions.

  1. When embedding the form using an iframe, you need to add the allow="geolocation" attribute to the <iframe> tag.
    For example: <iframe src="https://forms.zohopublic.com/form-url" width="100%" height="600" frameborder="0" allow="geolocation"></iframe>
  2. To embed the form using JavaScript, make sure to include the following in the code.
    f.setAttribute("allow", "geolocation;");
Notes
Note:
  1. When you enable geolocation for a form, Zoho Forms automatically provides the necessary allow="geolocation" attribute in the iframe or JavaScript embed code. However, if you enable the geolocation feature after embedding the form, it is crucial to re-embed the form with the updated code that includes the geolocation attribute.
  2. In some instances, certain website builders may load the iframe or JavaScript code within multiple iframes. This can prevent the collection of location data. To resolve this, please reach out to your website builder provider for guidance on how to properly capture geolocation information.

Viewing Geolocation Details in All Entires

You can include certain additional columns in the All Entries section by clicking the horizontal ellipsis icon in the top-right corner and then clicking the Additional Fields option.
Include additional fields


In the Additional Fields popup, enable Submitters Location, Submitters Latitude, Submitters Longitude.

Select location, latitude, longitude

Viewing Geolocation Details in Reports

To view the location details in reports,

  1. Go to the Report of your Form. If you have not created a Report for the required form, create a new Report.
  2. In the Report Builder, click Show/Hide Columns and select Submitters Location, Submitters Latitude, Submitters Longitude.








        Create. Review. Publish.

        Write, edit, collaborate on, and publish documents to different content management platforms.

        Get Started Now


          Access your files securely from anywhere

            Zoho CRM Training Programs

            Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

            Zoho CRM Training
              Redefine the way you work
              with Zoho Workplace

                Zoho DataPrep Personalized Demo

                If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

                Zoho CRM Training

                  Create, share, and deliver

                  beautiful slides from anywhere.

                  Get Started Now


                    Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                    BOOK A SESSION







                                Quick LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG


                                    All-in-one knowledge management and training platform for your employees and customers.

                                              Create. Review. Publish.

                                              Write, edit, collaborate on, and publish documents to different content management platforms.

                                              Get Started Now





                                                                You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                    Manage your brands on social media


                                                                      • Desk Community Learning Series


                                                                      • Digest


                                                                      • Functions


                                                                      • Meetups


                                                                      • Kbase


                                                                      • Resources


                                                                      • Glossary


                                                                      • Desk Marketplace


                                                                      • MVP Corner


                                                                      • Word of the Day


                                                                      • Ask the Experts


                                                                        Zoho Sheet Resources

                                                                         

                                                                            Zoho Forms Resources


                                                                              Secure your business
                                                                              communication with Zoho Mail


                                                                              Mail on the move with
                                                                              Zoho Mail mobile application

                                                                                Stay on top of your schedule
                                                                                at all times


                                                                                Carry your calendar with you
                                                                                Anytime, anywhere




                                                                                      Zoho Sign Resources

                                                                                        Sign, Paperless!

                                                                                        Sign and send business documents on the go!

                                                                                        Get Started Now




                                                                                                Zoho TeamInbox Resources





                                                                                                          Zoho DataPrep Demo

                                                                                                          Get a personalized demo or POC

                                                                                                          REGISTER NOW


                                                                                                            Design. Discuss. Deliver.

                                                                                                            Create visually engaging stories with Zoho Show.

                                                                                                            Get Started Now








                                                                                                                                • Related Articles

                                                                                                                                • Why is the Geolocation data not being captured in the All Entries section of a form embedded on my website?

                                                                                                                                  To collect geolocation for an embedded form, ensure that 'allow geolocation' attribute is present in the iframe/Javascript code. Learn more on how to embed a form with Geolocation data capture.
                                                                                                                                • Google Sheets Integration

                                                                                                                                  Overview If you are looking to automate storing your form responses in a sheet and save the time spent on manual entry of form data into the sheet, you can use the Zoho Forms - Google Sheets integration. With this integration, your form responses ...
                                                                                                                                • Zoho Sheet Integration

                                                                                                                                  Overview If you are looking to store your form responses in a sheet and save the time spent on manual entry of form data into the sheet, you can use the Zoho Forms-Zoho Sheet integration. With this integration, your form responses will automatically ...
                                                                                                                                • Overview

                                                                                                                                  General Display: To set up the basic attributes of your form. Here, you can choose to display the form header and set the direction of text in your form. Thank You Page & Redirection: Configure what happens after form submission (e.g., redirecting ...
                                                                                                                                • Map Location

                                                                                                                                  Overview The Map Location field allows you to display a specific location on a map directly within your form. By providing latitude and longitude coordinates and choosing a map service, you can embed a map with a pin highlighting the given location. ...
                                                                                                                                  Wherever you are is as good as
                                                                                                                                  your workplace

                                                                                                                                    Resources

                                                                                                                                    Videos

                                                                                                                                    Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                    eBooks

                                                                                                                                    Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                    Webinars

                                                                                                                                    Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                    CRM Tips

                                                                                                                                    Make the most of Zoho CRM with these useful tips.



                                                                                                                                      Zoho Show Resources