Branching logic
Updated August 20265 min read
Branching logic exists to ask each person only the questions that concern them. It shortens the conversation and improves completion, and it is also the easiest part to break without noticing.
Skips — On this page
A rule links an answer to a destination: "if Q3 = no, go to Q7". Rules are read top to bottom and the first match wins, which makes their order meaningful. A question with no rule simply moves on to the next.
Quotas — On this page
A quota sets the number of answers expected for a profile: one hundred women aged 25 to 34 in Douala, say. Once a quota is met, matching respondents are thanked and the conversation ends cleanly, without using up the remaining sample.
Testing the logic — On this page
Before publishing, check three things in the sandbox.
Every branch leads to an end of survey, never to a loop.
No question has become unreachable after an edit.
Screened-out profiles are thanked at the filter, not after eight questions.
