SurveyMonkey

Advanced branching lets you customize the behavior of your survey based on multiple conditions and it's one of our most powerful logic features.

Advanced branching rules are based on Conditions and Actions. 

Conditions are things like a respondent's answers to a survey question, custom data from Contacts, custom variables, or survey language. 

When the criteria defined in your conditions are met, the Actions will:

  • Skip respondents to a future point in your survey, either on the same-page, or to a future page.
  • Show or hide questions
  • Show or hide pages
  • Invalidate questions and customize error messages
  • Add unconditional skip logic to a page, so that everyone who reaches that page is skipped to a specific page later in the survey.

TIP! It's best to apply Advanced branching after your survey design is finalized.

  • Example for how you can use Advanced branching

Before adding Advanced branching rules, consider what data you can base conditions on, and what collector types you'll need to use for everything to work smoothly.

Data
Description
Compatible Collector Types
QuestionsAny question type except Text, Image, Click map, Text A/B test, Question A/B test, and Image A/B test. For questions with multiple rows, you can specify the row you want to base your condition on.All collector types
Contact dataThe custom data about your respondents that's stored in Contacts. For example: Email, First Name, Last Name, Custom 1, etc. Email invitation
Custom variablesThe values of the custom variables in the survey URL.Web link
Survey languageThe language the respondent takes the survey in.All collector types
Image of how to apply multiple rules. Shows advanced branching logic tab that includes two rules and an option to add another. There is an option to choose a page to go to after rules.

To add Advanced branching to your survey:

  1. In the Design Survey section, go to the page you want to add logic to.
  2. Click Page Logic at the top of the page.
  3. Choose Advanced branching logic.
  4. Click + NEW RULE.
  5. Define the Conditions and Actions for this rule. You can add more rules after you save this one.
  6. Click Save Rule.
  7. Click Apply.

TIP! If you’re adding more than one rule, check out Using multiple rules.

You can add Same-page logic to your survey from the Advanced branching rule builder.

Set up your conditions and actions to either the Show question or Hide question. Same-page logic seamlessly adapts in real-time, as a respondent answers prompts respondents with the appropriate follow-up questions, on the same-page, in real time, potentially limiting the number of page breaks and eliminating unnecessary respondent clicks. 

Same-page logic keeps respondents engaged, and they’re more likely to provide more contextual responses for deeper insights. 

  • Steps to add Same-page Logic to Your Survey
  • Same-page logic limitations
  • Preview Your Same-page Logic
advanced-branching-rule
  • Types of Rules
  • Order of Rules and Conflicts
  • Using Advanced Branching with Question Skip Logic

Creating rules is as easy as creating logical sentences based on questions in your survey, or information about your respondent. Every rule is made up of two parts: a condition and an action.

You can build rules based on the following subjects. Keep in mind that some subjects will only work when you use a certain collector type to send your survey.

  • Conditions
  • Actions

To view or edit an existing rule:

  1. Click the advanced branching icon « at the top of a page to view or edit the rules applied to that page.
  2. Click the down arrow to the right of any existing rule to edit, copy, delete, or move a rule.

You can't copy or move rules to another page in the survey. You need to re-build the rules on the new survey page.

TIP! When you save a rule, we convert it into a script. To understand what an existing rule means, you can hover over the script to see what each piece represents.

The best way to test Advanced branching depends on the subjects you based your rules on.

When previewing a survey, you can view your Advanced branching rules alongside your survey preview, so you can test your logic flows are set up properly.

  • Testing Rules Based on Questions
  • Testing Rules Based on Custom Data from Contacts
  • Testing Rules Based on Custom Variables
  • Testing Rules Based on Survey Language

Your results in the Analyze Results section will look the same as any normal survey. If a respondent was skipped past a question or page due to a branching action, or if a question was hidden from a respondent, the questions they didn't see are marked as skipped in the Analyze Results section.

There's no way to view or export the logic path that a particular respondent took through your survey.

  • Will my rules update if I delete or add more questions and pages?
  • Are values case sensitive?
  • What's the difference between Advanced Branching and Question Skip Logic?