Skip to content

@uservane/browser: SurveyDefinition

SurveyDefinition = object

Defined in: types.ts:30

optional corner?: Corner

Defined in: types.ts:38


optional delayMs?: number

Defined in: types.ts:44

Fixed delay (ms) after page-idle before auto appearance. Fires once. Not idle-detection hunting. Default 8000.


optional endLabels?: object

Defined in: types.ts:50

high: string

low: string


optional followUpQuestion?: string

Defined in: types.ts:36

Optional free-text follow-up. Always skippable.


id: string

Defined in: types.ts:31


presentation: Presentation

Defined in: types.ts:37


question: string

Defined in: types.ts:34


optional samplePercent?: number

Defined in: types.ts:46

Deterministic audience sampling 0–100. Default 100.


optional showBadge?: boolean

Defined in: types.ts:49

Free plan shows a small “Powered by UserVane” link.


slug: string

Defined in: types.ts:32


optional targeting?: TraitPredicate[]

Defined in: types.ts:47


trigger: Trigger

Defined in: types.ts:39


type: SurveyType

Defined in: types.ts:33