How do I add a custom variable with piping?
You can also use these custom variables while piping. If you already know the respondent of your survey, for example, you can personalize your survey by removing the Name question, and creating a custom variable instead.
To add a custom variable with piping:
- Create a custom variable, such as name.
- Add the variable name in the text of your question. Read more on piping.
- Copy the survey URL in the Launch tab.
- Paste the URL into a new tab.
- Add '?name=<name of the respondent' to the URL. The question will automatically have the respondent's name filled in.
You can automate this process by using our integrations with Zoho CRM, Zoho Campaigns, or MailChimp. While distributing the survey with any campaign tool, custom variables can be defined as merge tags corresponding to the campaign tool. For example,
https://surveylink/?var=$[merge-tag]. Learn more about
adding merge tags to your URL. When respondents submit the survey, go to your
reports section. You will find custom variables and extended custom variables there.Using multiple custom variables helps reduce the number of questions in your survey, making it look neat, while still gathering the information you need.
Related Articles
How do I add a custom variable in my survey?
Using custom variables allows you to include information about a respondent in the survey without making the respondent answer those questions. In other words, it helps avoid asking for information that you already know. For example, imagine ...
How do I change which questions appear based on a URL parameter or custom variable?
You need to add a custom variable logic to decide which questions appear based on a URL parameter or custom variable. To create a custom variable logic: Hover over Custom Variable logic and select the custom variable logic you'd like to use. ...
How do I test a custom variable?
To test the custom variable: Copy the survey link from the Launch tab. Paste the URL in a new tab. Add ?email=<email address of the respondent or any other variable> to the URL. The survey will open and this email address will be recorded along with ...
Custom Variables
Custom Variables Using custom variables allows you to include information about a respondent in the survey without making the respondent answer those questions. In other words, it helps avoid asking for information that you already know. For example, ...
How do I restore a custom variable?
To restore a custom variable from trash: Click Trash on the left pane. Select the custom variables you want to restore in the Custom Variable tab. Click Restore.