SEO + AEO on AutopilotFrom the team at Stackmatix
The Growth Library

Test Survey Branching Against the Data Export Before Fieldwork

Test questionnaire branches against exported eligibility and stale-answer handling, using six synthetic paths before real survey collection begins.

A branching questionnaire is ready when the displayed questions and exported analysis states agree. Test the route people take, the answers retained after changes and the distinction between not asked and skipped. A polished form can export a dataset that assigns respondents to the wrong denominator.

Write a branch contract before fieldwork. It should define screening responses, question eligibility, permitted unknowns and treatment of answers left behind after a participant changes an earlier choice.

Pew Research Center's questionnaire guidance describes pretesting as an essential part of evaluating questions and the overall questionnaire. The truth table below is an original acceptance method, not a claim that every survey platform implements the same routing or export behavior.

Draw the minimum branch graph

For a fictional documentation survey, Q1 asks whether the organization currently uses a review tool. Yes exposes Q2, which asks for tool type. No exposes Q3, which asks about the main barrier. Unknown exposes neither follow-up and preserves uncertainty.

State the eligibility rule in plain language: Q2 is applicable only under a final yes screening state; Q3 only under a final no state. Unknown is not a no answer. Keep any other study-specific screening or consent requirements separate.

The survey design guide establishes the research question and response options. This test checks whether the implementation preserves those decisions through actual navigation and export.

Specify the export contract

Record the final screening answer, active branch, raw follow-up value if retained, analysis-eligible value, missing-state code and questionnaire version. Do not assume that hidden fields are automatically empty or that empty fields reveal why no answer exists.

A platform may preserve old answers for history. That can be acceptable if the analysis reliably excludes inactive branch values and the retention is appropriate. Another implementation may clear them. Choose and document the actual behavior rather than demanding one universal storage rule.

Define skipped, not asked, failed capture and unknown separately. If the tool cannot provide those distinctions natively, determine whether an approved derived state can be reconstructed. Do not invent information absent from the export.

Run six fictional respondent paths

Use authorized synthetic test responses, clearly marked outside the real research dataset.

CaseNavigationRequired analysis result
AYes, then tool typeQ2 eligible with supplied type; Q3 not asked
BNo, then barrierQ3 eligible with supplied barrier; Q2 not asked
CUnknown screeningNeither follow-up eligible; uncertainty retained
DYes and type, back to No and barrierOld Q2 value inactive; Q3 eligible
ENo and barrier, back to Yes and typeOld Q3 value inactive; Q2 eligible
FYes, follow-up capture failsQ2 eligible but unavailable; no invented type

The examples are fictional. A, D and E cannot be counted by simply searching every nonempty raw type or barrier field. Final applicability determines which retained values enter the analysis.

For case F, a failed capture is not evidence that the organization uses no tool. The screening answer says yes; the type remains unavailable. Preserve the failure for investigation.

Test the paths people actually use

Include back navigation, changing an earlier answer, refresh where supported, a saved partial response and the final submitted export. Check mobile presentation if the survey supports it.

Do not assume a hidden question's old value stops influencing routing elsewhere. A later branch may still read it. Follow the dependency graph and compare the actual active path with the intended one.

Test the unknown and prefer-not-to-answer options without forcing a guess. A required-field setting can inadvertently make uncertainty impossible to submit. The research owner must decide which states are allowed, and the interface must implement that decision honestly.

The lead-form behavior test offers a useful discipline for marked internal fixtures. Survey tests likewise should not create real participants or enter public result counts.

Reconcile the exported fixture

Under the final states in this six-case example, A, E and F are Q2 eligible. A and E have supplied type values; F does not. B and D are Q3 eligible with supplied barriers. C belongs to neither follow-up.

Thus Q2 has three eligible cases, two observed type answers and one unavailable type. Q3 has two eligible cases and two observed barriers. The six screening cases reconcile as three yes, two no and one unknown.

If the raw file also contains D's earlier type and E's earlier barrier, those historical values must not inflate the active answer counts. A report counting four type values would fail this fixture even if its CSV syntax is valid.

Use a small independent calculation or manual review to reproduce those memberships. A screenshot of correct visibility does not establish correct export classification.

Bind the decision to the questionnaire version

Save the branch diagram, field map, synthetic inputs, final export, expected states and observed differences. Identify the form version and any analysis transformation used.

A wording change can alter the research instrument; a routing change can alter who sees an item. Record both. Do not silently pool responses collected under incompatible versions because their column names match.

The research table dictionary should explain the missing and inactive states. Analysts should not need to reconstruct the branch logic from a designer's memory.

Release or hold the fieldwork

Approve collection when the tested paths preserve eligibility, active answers and uncertainty under the documented contract. Assign unresolved failures to the form or analysis owner before collecting a larger dataset.

If a defect is discovered after launch, identify affected versions and cases. Decide whether correction, recollection or a narrower finding is supportable. Do not guess the answers people would have supplied on the intended path.

The finish line is a questionnaire whose analysis can distinguish a missing answer from a question that was never applicable. That is what makes a later survey denominator defensible.

Sources

Matt Pru

Co-founder and CEO of Stackmatix. Writing about growth, customer acquisition, and the decisions behind useful marketing. Connect on LinkedIn.

Developed with AI assistance under Matt's editorial direction. Our Editorial Approach