Hidden Items allow you to store data in a response without the respondent seeing it or having to enter it within the survey. Think of them as empty buckets that you can fill with data by adding that data to the survey URL or response session. That data can then be used to identify a response, filter a report, or set a condition in a survey.
For instance, you might want to use the same survey to gather feedback on a series of events or training sessions that you hold. In order to differentiate between the sessions, you could pass the session date or name in via a hidden item.
Another common use of hidden items is to pass a unique identifier, such as a customer id, through to the response so the respondent can be tracked even if he/she is not logged into Checkbox.
Hidden Items can be passed in manually or via code. This lesson will focus on passing a Hidden Item into a response manually using a query string in your survey URL (link).
Unless you are writing code to pass a Hidden Item through to your survey programmatically, you will need to manually add your Hidden Item variable to your survey URL in the form of a query string when you share your survey. This is true whether you are using our email invitations, sharing a link on your website or through your personal email, or sharing your survey via social media.
To add the Hidden Item to your url, simply append the survey url with the following:
If your Hidden Item is the first query string value in your URL, then add ?[Variable]=[Hidden Item Value] to the end of your URL.
If the Hidden Item is not the first query string value in your url, then add &[Variable]=[Hidden Item Value] to the end of your URL.
**In our example below, we only have one query string or hidden item, so we have added ?STN=839045 to pass the support ticket number 839045 into this survey response.
When you export responses, you can choose to export Hidden Items, and the Question Text and Hidden Item values will show up in their own column of your response export.
When you view the standard report, Hidden Items will automatically be displayed in a Summary Table format on the first page.
You can also use Hidden Items as report filters to filter your report on only the responses that contain a particular Hidden Item.