Append values to a link: Examples

Learn more about common use cases for appending answer values to a link, for both surveys and power surveys.

Note: The exact syntax of the link varies depending on the question type and the survey type. For more information, see Append values to a link: Question and answer format.

Survey or recruitment survey

Example

You are distributing a survey by placing a link on your website, Facebook page, and Twitter feed. In your reports, you want to record how each participant accessed your survey.

To do this, you begin your survey with a hidden Single Choice question named "Access". In each answer field, list the access points that will contain your survey link, so that your question looks like this:

Access
  • Facebook
  • Twitter
  • Website

Append the question and answer values to the activity link for each access point that will contain your survey link. After you are finished appending the values, the survey links will look similar to this:

  • https://CommunityName.com/c/a/UniqueSurveyId?Access=Facebook
  • https://CommunityName.com/c/a/UniqueSurveyId?Access=Twitter
  • https://CommunityName.com/c/a/UniqueSurveyId?Access=Website

When participants click the link, their answer value for "Access" will be automatically passed into the hidden question in your survey.

Power survey

Example

You are distributing a single power survey to gather feedback for 4 different versions of a mission statement. You want to keep the sample groups separate, and track which participants are providing answers for which version.

To do this, you begin your survey with a hidden Single Choice question named "Versions". In each answer field, list the version number that participants will see so that your question looks like this:

Versions
  • Version 1
  • Version 2
  • Version 3
  • Version 4

Each answer value has a precode value (1, 2, 3, 4). Append the question and precode values to the activity link for each version number. After you are finished appending the values, the survey links will look similar to this:

  • https://CommunityName.com/c/a/UniqueSurveyId?Versions=1
  • https://CommunityName.com/c/a/UniqueSurveyId?Versions=2
  • https://CommunityName.com/c/a/UniqueSurveyId?Versions=3
  • https://CommunityName.com/c/a/UniqueSurveyId?Versions=4