surveys property
Enable Surveys
Notes:
- After calling
Posthog().close(), surveys will not be rendered until the SDK is re-initialized and the next navigation event occurs. - You must install
PosthogObserverin your app for surveys to display. - For Flutter web, this setting will be ignored. Surveys on web use the JavaScript Web SDK instead.
Defaults to true.
Implementation
var surveys = true;