Branch Logic
About Branch Logic
Branches are useful when you want to send respondents down different paths in the survey. You can use branch logic to branch respondents to different survey flow elements based on variables like question responses or embedded data. It’s a bit like a choose your own adventure novel. Depending on how your respondents answer certain questions, they will take different routes through your survey.
This survey uses branch logic to send E-Book reader owners to the e-Book Current Customers block and non-owners to the Potential Customers block.
Adding a Branch
- While editing your survey, click the Survey flow icon in the left navigation bar.
- Click Add Below or Add a New Element Here.
- Choose Branch.
- Click Add a Condition and add a logic condition (conditions can be based on questions, Embedded Data, Device Type, Quotas, or GeoIP Location).
Qtip: For more information on setting logic conditions, see using logic. - Create a new element or move an existing one underneath the branch.
Participants who answer “Yes” to the question “Do you own an E-Book reader?” will be shown the E-Book Current Customers block.Qtip: Click the minus sign on the top left of the branch to collapse the items beneath it and save space.
Understanding Branches
The survey flow represents the order that respondents will move through your survey. Each time someone takes the survey, they move through the flow top-to-bottom and left-to-right. When a respondent reaches a branch in the survey flow, they will follow that branch until they reach a condition that they do not meet, or until they reach an end of survey element.
Each respondent taking this survey will start with the Introduction and Demographics blocks of questions. After, males who are under 18 years old will be directed out of the survey. Everyone else will then continue to the E-Book Current Customers block.
When a respondent reaches the end of a branch that does not terminate in an end of survey element, they will pick up with the next section of the survey.
When a respondent reaches this point in the survey and clicks the next button, the branch logic condition will be assessed. If they meet the condition (they are male under 18 years old), they will be directed to the end of survey element and their survey will terminate. Those who do not meet the condition will continue to the next element in the survey flow.
To add multiple items in a Branch
Sometimes you may want to nest multiple items under one branch or have a branch within a branch. To do this, add the items as normal and then move them under the desired branch.
After viewing the Demographics block, any respondent who is male and under 18 will be shown a special Exit Block and then have their survey terminated.
You can also use a branch to group items together. For more information on grouping items under a branch, see the using branch logic section in our advanced randomizer options page.
Exclude from Progress Bar Calculation
To help your respondents keep track of how much of the survey they’ve completed, you can insert a progress bar into your survey. By default, the survey’s progress increments for every question the respondent passes when hitting Next.
But let’s say you want to exclude a set of questions from the survey’s progress. Maybe you have a branch where you ask some filler questions before screening participants out, and you don’t want the progress bar to make such a big leap when other respondents successfully make it past this screen-out. Or maybe you’d like your survey progress not to increment so that when you assess the percentage a respondent still working on their survey has finished, or export the percent completion for an incomplete response, you get a more accurate reading.
There is an option that allows you to exclude a branch from the survey’s progress. In the survey flow, click Options on your branch.
Select Exclude from progress bar calculation. Then click OK.
Types of Projects this Feature Is Available In
Branches are compatible with every type of project that lets you customize a survey flow. This includes: