Introduction
Researchers often use panel providers or other platforms alongside Discover. This article covers how to pass data into Discover and how to pass it back out — a common need when tracking respondents across platforms.
Researchers often use panel providers or other platforms alongside Discover. This article covers how to pass data into Discover and how to pass it back out — a common need when tracking respondents across platforms.
Passing data into or out of your survey is done through the survey's URL. A URL is made up of four parts: the protocol, domain, subdirectories, and parameters. For our purposes, parameters are what matter most.
Parameters carry data through the URL. They appear after ? and are separated by &. Each parameter is a key-value pair: the key is the name of the container, and the value is the data stored in it.
Note: URL parameters are visible to anyone with the link; avoid including sensitive information like passwords.
Before data can be passed into Discover, you need to create variables to store it. You can do this in two places:
To create a variable:

Once saved, the variable appears in your survey link.
Learn more in the Variable manager article.
With your variables created, the survey link is ready to share with your panel provider or referring platform. Replace the XXXX placeholders in the URL with the actual values to be passed in. Each platform handles this differently, but the general approach is:
Linking out is the reverse of linking in. Discover becomes the referring platform and an external service is the destination.
Variable names are case-sensitive. Rather than typing the syntax manually, use the Insert variable button below the input field to choose from available variables and insert them at your cursor position.

Tracking traffic source (passing in)
To track which social media platform respondents are coming from, create a Source variable and publish your changes. Copy the survey link, then replace XXXX with a value for each platform — for example, fb for Facebook. Paste each modified link into the corresponding post or ad.
Returning respondent IDs (passing out)
If your panel provider expects an id parameter on return, your redirect URL might look like:
You can pass multiple values the same way — for example, appending a Location question response: