Conditional logic

Home / Knowledge Base / Website Builder / Conditional logic

Conditional logic displays different content when the page URL contains a specific hash value.

Add a conditional block

Website Builder — Add a conditional block

  1. Drag the Conditional element onto the page.
  2. Click the eye icon to open conditions.
  3. Click the plus icon to add a condition.
  4. Set Show when #type=value (for example #show=yes when the URL ends with #show=yes).

Default active

Set Default active if no active #type=value so one variant always shows when no hash matches. Link to a hash URL from a button using /page-path#show=yes.

DEVELOPMENT VERSION