The ForeSee® Mobile SDK is an iOS framework that includes ForeSee’s CX Measure (formerly Trigger) product. The current version of the SDK supports iOS versions 11+.
The Trigger module allows you to define loyalty criteria and track a user’s progress towards fulfillment. Once fulfilled, users are automatically invited to participate in a Customer Satisfaction survey.
Once you have incorporated the SDK into your app (see the Getting Started article), you are responsible for instrumenting your app. There are two main tasks to be performed:
- Define the loyalty criteria - All configuration is done through the provided
foresee_configuration.jsonfile that must be added to your project. Consult the Configuration article for more information on what this file should contain.
- Check if the user has met the loyalty criteria - The Trigger module automatically tracks the user's progress towards fulfilling the loyalty criteria, but you must decide when to check if the user has become eligible for a survey. There is a single API method,
[ForeSeeCxMeasure checkIfEligibleForSurvey]that you can call to check the user’s current eligibility status. If the user has fulfilled the loyalty criteria and is in the sampling pool, an invitation is presented. It is recommended that you call
[ForeSeeCxMeasure checkIfEligibleForSurvey]when the app is launched and when the app is resumed. While it may be preferable from a user-experience perspective to place the call elsewhere, care must be taken that all users trigger this call to avoid skewing the response data or reducing the number of respondents.
The SDK package also contains:
- API docs: These can be found in the 'docs' folder of the release package and online. These documents explain the various functions available within the app and how to use them.
Samples showing various use cases are available on GitHub:
For more detailed information, please read the Frequently Asked Questions page, which contains important information about data storage, security, and compatibility. If you have any problems implementing the SDK, please consult the Troubleshooting page which has useful information on the correct way to adjust the behavior of the SDK during testing, or to remotely disable the SDK in the unlikely situation that a problem arises in the production environment.
Updated about 2 years ago