> For the complete documentation index, see [llms.txt](https://help.dscout.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.dscout.com/private-panels/screeners/hidden-values.md).

# Hidden values

### What are Hidden Values?

Hidden Value allows you to store data in your survey that your survey respondents are not able to see.

The "Default Value" will be saved in the survey response, and you can apply "Show or hide question" logic to either save or skip this "Default Value".

*Example: Set logic here to act on the answers from 2 previous questions, to set a label for the respondent (e.g. married male).*

![](/spaces/T7fhyut5rrQHwe5QRGot/files/ee6af28945be495d957aa4db4d6e84625cabbe54)

## Merge Codes

You can pass data into your screener from the URL by setting a Default Value of `{url("REPLACE_URL_PARAMETER_HERE")}`.

For example, if you wanted to capture which social media platform the respondent came from, you could copy or create a custom URL from the **Public Details** section of the **Screener Settings**.

![](/spaces/T7fhyut5rrQHwe5QRGot/files/3ad38191c2a23a6318a758d62b24e36c0956a0a6)

Then, before you share it to any social media platform add `?social_media_source=platform` at the end of the link. The resulting link would be like this if you're sharing to Facebook: **<https://app.dscout.com/panels-ui/s/population\\_survey?social\\_media\\_source=facebook>**

Also, make sure that there's a **Hidden Value** element included in the screener with a **Default Value** of `{url("social_media_source")}`.

![](/spaces/T7fhyut5rrQHwe5QRGot/files/58d416de4f86c268277d4eede20acc141450fabb)

After the screener is answered, the resulting data will look like this:

![](/spaces/T7fhyut5rrQHwe5QRGot/files/c14fc06296295e5c0cf480755466c26c9fb6f84d)

The `"social_media_source"` part of the link can be replaced with any identifier you'd like to use, just make sure that it's the same identifier you will add on the **Default Value** of the **Hidden Value** element.

## Logic Based off Panel Data

You can use Hidden Values to show or hide questions based on existing panelist data. For example, you can show different questions to panelists of a different segment. To accomplish this:

{% stepper %}
{% step %}
Create a **Hidden Value** element.

Set **Two-way panel property** sync to the panel property of your choice

![](/spaces/T7fhyut5rrQHwe5QRGot/files/451074dcf16b1086770d32d7404c2e9eab60d0ad)
{% endstep %}

{% step %}
This is what the panel property for our example panelist looks like. In this example, it is set to 2.

![](/spaces/T7fhyut5rrQHwe5QRGot/files/e78693590f1fd0de116751a5ccdab9d614b720e0)
{% endstep %}

{% step %}
Then create the question you want to apply logic to. Add **Show or hide** logic based on a value of the previous question.

![](/spaces/T7fhyut5rrQHwe5QRGot/files/4b286fc1d803940134fddfbbeb81384485a19d59)
{% endstep %}

{% step %}
To preview the logic for a panelist, make sure they are added to your Study. Then hover over their name, and click the **More icon**, then click **Open screener**.

![](/spaces/T7fhyut5rrQHwe5QRGot/files/68218c915f5f2502be0a93cca2cbce4027319b50)
{% endstep %}

{% step %}
You should see the logic working.

![](/spaces/T7fhyut5rrQHwe5QRGot/files/07a3e513616ea6bbc1990ed12044bc7295381402)
{% endstep %}

{% step %}
If you're having issues, you can **temporarily** change the **Hidden Value** answer to a **Short Answer**, to see what value is being pulled from the panel.

![](/spaces/T7fhyut5rrQHwe5QRGot/files/7c7bc43b3282e55290d36d5f82212338a10672f3)
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Note:** Private Panels was previously managed outside of Dscout, so you may see a different logo and URL in some places. If you have any questions, contact <support@dscout.com>.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.dscout.com/private-panels/screeners/hidden-values.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
