Piping Randomization across Surveys | XM Community
Skip to main content

Hello!

My team is hoping someone knows how to create code that can pipe randomization without replacement across multiple surveys. Below is our basic study design if that helps to explain what we need the code to do:

  • We are distributing a daily survey to people where they will be asked about different scenarios/cues
  • We have one list of scenarios, and another of cues (with an equal number in each list)
  • We want to be able to ask participants about each scenario and cue, but with the scenarios and cues randomly combined together without replacement, so that each participant sees every scenario and every cue, but with cues/scenarios paired differently for each participant
  • Since surveys are daily, we want to create separate Qualtrics surveys for each day, but aren’t sure how to maintain randomization of cues/scenarios without replacement across multiple surveys.

Any help is greatly appreciated!

@eliasg13,

You can record embedded data fields for each cue/scenario in a respondent’s contact record and use those embedded data fields in display logic each time a survey is taken. Together with Advanced Randomization you can display one cue/scenario without replication. 

It will be easiest to use JavaScript to record embedded data fields for the the displayed cue/scenario, then use a workflow to update the contact record when a response is recorded.


Leave a Reply


OSZAR »