Support Home Experiment Builder Tutorials Tutorial: Branching from a Questionnaire

Tutorial: Branching from a Questionnaire

Overview

This tutorial demonstrates how to branch participants in the experiment tree based on a response given in a questionnaire by using a Branch Node. In this tutorial, we want to branch participants based on whether they prefer dogs or cats.

In the Questionnaire, we have a question that asks participants to choose their preferred animal. For this question, we choose to save the response to the Store. To do this, we used the "Save to Store" toggle within the Multiple Choice object. Then, we choose to save the response to a field in the Store called "choice." This means that the value within the Store is accessible at the experiment tree level, and we can use this within the Branch Node.

In the experiment, we add a Branch Node. The first branch is going to be called "Cat Lovers." Participants will go down this branch if the value stored in: our choice field - which is the field we created in the questionnaire, is equal to cats. Then, we are going to add a second branch. We are going to call this branch "Dog lovers." Participants will go down this branch if the value stored in our choice field is equal to dogs. It is important that the values exactly match the Responses in the Questionnaire. You must also select one of these branches to be the Default. Participants who do not match any rules in the Branch Node will be assigned to the default branch.

Finally, we need to connect the branches to the appropriate nodes in the experiment tree. Here, we want the Cat Lovers branch connected to the "Cat choice" questionnaire, and the Dog Lovers branch connected to the "Dog choice" questionnaire.

Open in Gorilla

Pro Tip

If you want to branch participants based on Task Performance, you can check out our Performance Branching Tutorial


Info

This video and walkthrough use the new Experiment Builder interface. If you’re still using the classic interface, it will appear slightly different.