A Customer Passed Parameter (CPP) is a data point created by, or currently available in, the client's app that is captured by ForeSee code and sent with a survey submission. CPPs provide additional data for analysis without increasing the number of questions asked on the survey.
Many ForeSee clients opt to provide their app version as a CPP, which helps greatly when it comes to analyzing changes in customer satisfaction between app upgrades.
(No longer required as of SDK version 4.3.0)
Clients can define CPPs in two ways:
foresee_configuration.json: There is a cppParameters key in the JSON file that is a collection of key-value pairs.
- In code via the SDK: You can use the
ForeSee.appendCPPValue("key", "value")methods to dynamically add CPPs. This is useful when you want to add CPPs based on specific conditions.
By default, the SDK automatically captures and sends the following device-related CPPs with the survey:
model_nameis the model name of the device, e.g., GT-S7560M.
brand_nameis the brand name of the device, e.g., Samsung.
browseris the browser, e.g., Android WebKit.
osis the device operating system, e.g., Android 4.4.
os_versionis the operating system version, e.g., 4.4.
is_tabletreturns ‘True’ if the device is a tablet.
resolution_widthis the screen width in pixels.
resolution_heightis the screen height in pixels.
screen_widthis the screen width in millimeters.
screen_heightis the screen height in millimeters.
notification_typeis the type of survey invitation.
Updated over 3 years ago