![]() ![]() Select the Advanced Question Options (Gear icon) in the consent block.The consent page, since it is at the beginning and seen by all, is a good place to add some simple JavaScript for setting values. Setting these variables must happen at least one page before they are used.This method will only work with positive integers and zero, but I prefer to leave zero as the unknown condition and not set it explicitly.Set the values to randomly assign an integer* value.Add two more embedded variables “es” and “de” to the initial survey flow element.Even without the URL piece, we can generate a random number and give someone text from a quick JavaScript snippet. If instead we wanted to just use a simple code number we could. Then with simple JavaScript we can “lookup” the text value from a set. We do not always want the participants to see those values in the URL primarily because they can be changed easily. When a user takes the survey this question will display their status as an employee or employer and what department they work for.įurther info: Passing Information Through Query Strings.Įxample Survey: Try it here.We can then use these values in the survey by adding piped text to our question. ![]() ![]() When someone arrives from that link, the values after the equals sign will be stored in that variable. In our example we can add the following to our anonymous survey link “?employee_status=employee&department=sales”.In “Survey Flow” add embedded variables for “employee_status” and “department.” Move this to be first element in the survey flow.By sending different links to each employee/department combination we can direct the information a little more closely. Rather than create separate surveys, we utilized the survey link to transfer information about our pool. We had to track employees and managers, as well as the department in which they worked. Recently we had a research project with many different subject groups. Populate Embedded Variables from Survey Links Run the survey and see the different conditions and corresponding block in the Randomizer.Įxample survey: Try it here.Modify the Question after the Randomizer to display the new information.job=graphic designer, department=Marketing. In each of the groups’ embedded variable blocks set the department and job.In each group add a Block element and choose employee or executive.Drag each salary setting setting block into one of these groups.Do this twice more for 3 group elements in the Randomizer.In “Survey Flow” in the “Randomizer” section click “Add New Element Here” and select “Group”.To the initial embedded data block add the variables “job” and “department”.Add a text description question in the Executive block that says “After your yearly review, you have been promoted.”.Add a text description question in the Employee block that says “After your yearly review, you have gotten a raise.”.Add two new blocks and name them Executive Block and Employee Block.Now we can get a random condition and do multiple actions within it easily. Presenting a single random condition with variables and different blocks was complicated until Qualtrics recently added the Group block as an option. You can run the survey multiple times to see the different conditions and corresponding block in the Randomizer.Įxample survey: Try it here.You are an executive in the Marketing department of ABC Corp. In the following block add a Text question with the following content.Set the Randomizer block to randomly present “1” of the elements and check the “evenly” box.In each set annual_salary to a different value.Add 3 embedded data blocks under the Randomizer.Add a “ Randomizer” block below the embedded data block.Go to your survey’s “Survey Flow” page.This can expand different survey conditions quickly and easily. With some simple additions to a survey you can set variables and display different text based on conditions. Please contact us if you need help implementing these methods in Qualtrics. The examples below are generalized from real work done by the Research and Analytics team. These are some of our favorite Qualtrics hacks that multiply your ability to get a great data set. Here at Wharton we use Qualtrics regularly, and our postgraduates are always doing something more complicated than a conjoint analysis or Likert scale. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |