The respondent’s country field automatically derives the country from the IP address of the person filling in your form. It will appear in the submissions data to give you better insights in your results, and you can use it to personalize your respondent’s form experience. The field itself is not visible to the respondent and it doesn’t store or track any personal information.
Respondent’s country field is available for free to all Tally users.
Create a respondent’s country fieldView respondent’s country in the form resultsHow to use the respondent’s country field?FAQs about the respondent’s country field
Create a respondent’s country field
Open your form editor and type
/country
to insert a respondent’s country block. For demo purposes, the respondent’s country field will show the location associated with your current IP address. Finish your form and
Publish
it. When a respondent submits your form, it will automatically detect their country without displaying the field or the result, unless you use it for pre-filling or answer piping or in the respondent email notification.
View respondent’s country in the form results
You will find the respondent’s country in the
Submissions
tab after respondents submit your form. It's always displayed in English.It’s not always possible to correctly identify a respondent’s country based on their IP address, for example, due to using a VPN service or other factors.
How to use the respondent’s country field?
Mention the respondent’s country field
When you mention the respondent’s country field using answer piping, as default answer, or in the respondent email notification it's always displayed in the selected form language.
Dynamically show or hide content
You can dynamically show or hide content in your form using conditional logic. You can even make your respondents jump to entirely different pages based on their country.
Pre-populate country input fields
You can pre-populate questions with the respondent’s country as the default value. While your respondents can still manually change the option selected for them, it can help speed up the form completion.
If you want to use the respondent’s country field to pre-populate a checkbox, dropdown, multiple choice or multi-select question, ensure your answer options exactly match the country’s name in the form language you selected.
To add many answer options, you can bulk insert those from an existing list.
Allow or block access for specific countries
You can use conditional logic to hide the submit button or the button to proceed to the next page if your respondent is (not) in a list of one or more countries you specified.
Since it’s not always possible to correctly identify a respondent’s country based on their IP address, you could add your contact details for respondents to reach out to you if they believe their access was blocked unrightfully.
FAQs about the respondent’s country field
What is an IP address?
An IP address is a unique numerical label assigned to all devices on the Internet. It’s shared publicly whenever you access a website and is needed to deliver online information to your device.
You can find yours here: https://whatismyipaddress.com/
Is there a country block I can pre-fill automatically?
Unfortunately, that doesn’t exist in Tally today. But this will be possible with the address input field, which is on our roadmap! After we finish the first version of the Tally API, our current timeline estimate is to deliver this feature early 2025.