Customizing Survey Behavior

This page covers the in-app survey behavior you can customize and related APIs for React Native apps.

Showing a Welcome Screen

You can show your users a welcome screen before a survey rather than asking the first question immediately. By default, this is disabled. To enable the survey welcome screen, use the following method.

JavaScript
Surveys.setShouldShowWelcomeScreen(true);

Integrating with Slack

If you have an existing Slack integration (or plan to create one), you can enable auto-forwarding of survey responses. If enabled, all NPS survey score responses and Custom survey responses will be forwarded to your Slack integration on the channel you choose.

  • Forwarded NPS responses will display user email, responses, and score.

  • Custom survey responses will display the user email and every question and its response.

  • You'll also have the option to reply to the user, which will redirect you to the chat window to reply.

Setting App Store URL

While the SDK will normally automatically link to your application on the app store when needed, if your application is limited to certain regions, the automatic linking might not work. In these cases, use the API below to manually set the URL of your application in the store.

Last updated