Configuration - Configuration Structure

This is an example showing the JSON structure for all possible keys in the configuration file.

Note
This is only intended to show the structure and you will usually 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"
    },
    "cxReplayEnabled": true,
    "cxReplayStorage": {
        "cxReplayStorageLimitMegabytes": 750,
        "cxReplayStorageLimitAsPercentageOfTotalSpace": 10,
        "cxReplayCellularTransmissionLimitMegabytes": 200    
    },
    "repeatDaysAfterDecline": 1,
    "repeatDaysAfterComplete": 2,
    "repeatDaysAfterAccept": 3,
    "customLogoName": "foresee_logo.png",
    "notificationType": "EXIT_SURVEY",
    "localNotificationDelay": 4,
    "whitelistedHosts": [
        "www.domain1.com",
        "www.domain2.com"
    ]
}

 

Other articles in this section:

  1. Configuration Options
  2. Configuration Structure (current article)
  3. Specifying Configuration Sources