Loading...
  • Customer Experience
    Customer Experience
  • Employee Experience
    Employee Experience
  • Brand Experience
    Brand Experience
  • Product Experience
    Product Experience
  • Core XM
    Core XM

Assigning Randomized IDs to Respondents

What's on This Page:


Was this helpful?


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The feedback you submit here is used only to help improve this page.

That’s great! Thank you for your feedback!

Thank you for your feedback!


About Assigning Randomized IDs to Respondents

Sometimes you will want to create a randomized ID for each of your respondents. This is useful if you are running a study with Amazon’s MTurk, or any other external service where you ask respondents to prove their completion with an ID.

This page will go how you can created a randomized ID, and then explain how you show this ID to a respondent.

Attention: Neither method described here checks against existing IDs. That means that there is a chance that more than one respondent can have the same ID. This is extremely rare, and the chances are decreased by making your IDs longer. For example, try to make IDs 10 to 12 digits long to ensure the chance of a repeat ID is negligible.

Using Embedded Data and Piped Text to Create an ID

  1. Go to the Survey Flow.
    Survey Flow button on the top toolbar
  2. Click Add a New Element Here and select Embedded Data.
    Click green add a new element button to select green embedded data element on a yellow background
  3. Name the Embedded Data Random ID.
    on the left of the green element, named; on the right, click for blue dropdown and series of menus
  4. Click Set a value and click the blue dropdown arrow.
  5. Highlight Insert Piped Text.
  6. Highlight Random Number.
  7. Type your minimum and then your maximum. Both should be the same number of digits.
    Example: For a 5-digit ID, your minimum is 10000 and your maximum is 99999.
  8. Click Insert.
  9. Click and hold down Move to drag the Embedded Data to the top of the Survey Flow.
    Move on lower-right of element
  10. Click Save Flow.

Displaying the ID to Respondents

Qtip: Here we are using Piped Text to display the random ID to the respondent. Piped Text can be used in many parts of the platform, but these are just a few of the most common.

Displaying in a Question

  1. Click the question text to edit it.
    Clicking text to edit and bring up blue piped text button
  2. Click Piped Text.
  3. Highlight Embedded DataEmbedded Data option in menu opens series of menus where you can enter Embedded Data by name
    Attention: It is extremely important you select Embedded Data! If you select Random Number instead, you will create a NEW random number that will not be saved with the response data!
  4. Type in the name of the Embedded Data that holds your IDs.
    Qtip: This is the name saved in the Survey Flow. If you used the exact same wording as the Version One example, this is Random ID.
  5. Click Insert.
  6. When respondents complete the survey, they will see their Random ID.
    Message with a random ID, instructions to copy it, and instructions to click the next button

    Qtip: In this example, we added additional instructions on what the respondent has to do with the ID. Because the survey is ending on a Descriptive Text question, we also want to instruct them to click the Next button, or else their response might not be properly submitted.

Displaying in a Follow-Up Email

Attention: You must have emailed the survey to your respondents or asked them to provide an email address to use this option.
  1. Go to Actions.
    Actions menu
  2. Click Add Action.
    Adding an Action and selecting Event-based
  3. Select Event-based from the dropdown menu.
  4. Click Choose Event.
    Choose Event button
  5. Select Survey Response as the trigger event.
    Survey Response is selected at the top left corner
  6. Check Response created in the window that appears.
    Response created checked
  7. Click Finish to save your trigger.
  8. Click Add Task under the Perform the following heading.
    Add Task selected on the survey actions
  9. Select Email as your task in the window that appears.
    Email selected in the Add Task window
  10. In the Message field, click the Piped Text button.
    Clicking the Piped Text button opens a dropdown menu where you can select Embedded Data
  11. Select Embedded Data.
    Attention: It is extremely important you select Embedded Data! If you select Random Number instead, you will create a NEW random number that will not be saved with the response data!
  12. In the window that appears, type in the name of the Embedded Data that holds your IDs.
    Qtip: This is the name saved in the Survey Flow. If you used the exact same wording as the Version One example, this is Random ID.

    Random ID is typed in the Field Name window that appears

  13. Click Save.
  14. Next to the “To:” field at the top of your email, click the Piped Text button.
    Piping in the respondent's Email in the To field of the Email Task
  15. If you emailed the survey out initially, highlight Panel Field and select Recipient Email. If you asked the respondent to type their email, highlight Survey Question and select the Text Entry answer where you ask for an email address.
  16. Click Save.
    Qtip: Feel free to add whatever details you want to this email, such as a special Reply-To or From Name. Learn more on the Email Tasks page.
  17. When respondents complete the survey, they will receive an email with their Random ID inside.