Skip to content

Display logic and routing

Display logic controls who sees a page, section, or question based on a condition — not a random pick from a pool.

Use Path Logic → Display Logic on the target (page, section, or block).

For random exposure (shuffle or subset), use the Randomiser instead.


SituationExample
Assignment from a URL parameter?cohort=beta from Prolific or custom email links
Participant sample fieldPre-imported segment or plan type
Earlier answerShow follow-up only if NPS ≤ 6
System / sessionMobile vs desktop
Cookie or data layerIn-product surveys via SDK
Manual group wiringShow Page 2 only when study_group = B

Use display logic when:

  • Assignment is deterministic from context (URL, device, sample)
  • Rules depend on answers during the study
  • You need show/hide without picking K of N from a pool

Use the Randomiser when:

  • You want random shuffle or random subset sampling
  • You want Randomisation groups with automatic setup

DriverExample
URL parameter?condition=B → show Section B only
Participant samplesegment = enterprise → show enterprise flow
Question responsePrior answer equals “Yes” → show follow-up page
Randomisation variabletask_variant = C → show Page C
System variableDevice type is mobile → show mobile-optimised page

FeatureRandomisation groupsManual display logic
SetupRandomiser → subset → enable groupsDisplay Logic tab per target
AssignmentRandom, balanced, stored on responseAny condition you define
RulesAuto-compiled (read-only on targets)Fully editable
Best forA/B/C experimentsURL routing, answer-based paths, custom logic

The Randomiser tab includes a callout pointing to Display Logic when subset mode is active — especially for URL- or device-based routing.


For panel links that encode the condition in the URL:

  1. Create a URL parameter variable (e.g. condition from ?condition=B)
  2. Add Display logic on each page or section: show when variable equals the right value
  3. Do not use section subset mode — assignment comes from the link, not a random pick

See Experiment recipes — Prolific routing.


Branching (Path Logic → Branching) jumps participants to another page or section after they answer questions on the current page. Use it for path changes mid-study; use display logic for show/hide before the page is reached.

For variables, formulas, and piping, see Conditional logic and variables.