Surveys Overview
What Surveys are and how the storefront SDK consumes them.
Updated
On this page
Surveys
Surveys let you build questionnaires and branching quizzes in the dashboard (Dashboard → Surveys) and render them on your storefront through the SDK. Responses are stored encrypted and can be attributed to a logged-in customer or a guest.
Question types
- Short text / long text (with optional
min_length) - Single choice / multiple choice
- Number
- Rating — 1–5 stars
Questions support conditional visibility, so later questions can appear only when an earlier answer matches a value (branching).
Two flavors
- Standard surveys — keyed by slug, fetched and submitted with
dash.survey.get()/dash.survey.submit(). - Landing surveys — bespoke branching quizzes submitted with
dash.survey.submitLanding().