You can use the mParticle SDK to integrate with an in-app user survey integration. After having configured the supported integration, you can retrieve a URL to be shown within a WebView. The mParticle SDK will automatically build the URL to include the required parameters of the desired integration.

Some survey providers such as ForeSee support adding additional user parameters to their respective survey URLs. The mParticle SDK will automatically include any user attributes or tags you may have previously specified for the given user, without any additional work.

Where appropriate for your app’s user experience, call the method to obtain a survey URL, specifying the desired integration, and load the URL into a WebView to retrieve the user’s feedback.

Currently supported survey providers:

Uri surveyUrl = MParticle.getInstance().getSurveyUrl(MParticle.ServiceProviders.FORESEE_ID);