Configuration Structure
This is example code showing the JSON structure for all possible keys in the configuration file.
This is only intended to show the structure; you probably have a much simpler configuration as described here.
{
"clientId": "your_client_id",
"measures": [
{
"surveyId": "survey_id1",
"launchCount": 4,
"daysSinceLaunch": 5,
"significantEventThresholds": {
"event1": 6,
"event2": 7
}
},
{
"surveyId": "survey_id2",
"launchCount": 8,
"daysSinceLaunch": 9,
"significantEventThresholds": {
"event3": 10,
"event4": 11
}
}
],
"cppParameters": {
"MyCPP": "CPP \#1",
"AnotherCPP": "CPP \#2"
},
"appName": "your_app_name",
"invite": {
"logo": "foresee_logo",
"header": "foresee_header",
"baseColor": [0, 159, 234]
},
"survey": {
"closeButtonColor": [0, 0, 0],
"closeButtonBackgroundColor": [255, 255, 255],
"headerColor": [87, 87, 87]
},
"notificationType": "EXIT_SURVEY",
"localNotificationDelay": 4,
"feedback": {
"feedbackSurveys": [
{
"name": "<YOUR FEEDBACK SURVEY NAME>",
"feedbackId": "<YOUR FEEDBACK SURVEY ID>"
},
{
"name": "<YOUR FEEDBACK SURVEY NAME>",
"feedbackId": "<YOUR FEEDBACK SURVEY ID>",
"surveyCompletionPageDelay": -1
}
],
"surveyCompletionPageDelay": 3
},
"supportLandscape": false
}
Updated over 2 years ago