ForeSee Developer Portal

Everything you need to set up and optimize your ForeSee product. Home of developer documentation, implementation guides, and question/answer forums.

Blueprint

SDK Overview

The ForeSee Replay for Mobile SDK is a single static framework that encapsulates ForeSee’s two mobile products: Trigger and Replay. The current version of the SDK supports iOS versions 7.0 - 10.3.2.

CX Measurement

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 satisfaction survey.

Replay

Replay records how a user interacts with the application. The user's screen is recorded along with gestures, such as taps and swipes, which together are used to produce a movie on the ForeSee servers. Replay is dependent on Trigger. Only users who have opted to participate in a satisfaction survey have their recordings sent to ForeSee servers.

Instrumenting Your App

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:

  1. Define the loyalty criteria - All configuration is done through the provided foresee_configuration.json file that must added to your project. Consult the Configuration article for more information on what this file should contain.
  2. 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, [ForeSee 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 [ForeSee 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.

Also in the SDK

The SDK package also contains:

  • Sample projects: These are found in the 'samples' folder of the Zip file and give examples of how to implement the SDK in a number of different scenarios.
  • API docs: These are found in the 'docs' folder of the Zip. These documents explain the various functions available within the app and how to use them.

Further information

For more detailed information, we encourage you to 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.

SDK Overview