...
The data used in the following explanations comes from this API call
Code Block |
---|
https://eusurvey-fra-mapleapi.conceptsaucecsiolabs.iome/?projectid=d9a9f2174963d1e1-0c9a0776-498e48c6-b4616690-e96976a92f3683a76a7c7b5f&pageid=01ae82e89178c8b3-d3541dc1-4c76444d-8abc65c0-56614fefdde18e5e142b7e50&respondentid=davidtesthn12345 |
This API call returns data on a Page basis. Each page may have multiple questions represented in the questions array
...
Code Block | ||
---|---|---|
| ||
{ questionID: "2d6cdef9-d707-4e94-95cb-17eb89ee1944", // unique questionID questionTitle: "q2", // question human title duration: "1970-01-01T00:00:22.253Z", // how long respondent took for this question endTime: "2016-07-31T08:22:37.981Z", // end time for this question startTime: "2016-07-31T08:22:15.728Z", // time respondent starts to see question eventStream: [], // raw events qResponseData: {} // sections of event data — exact contents vary by question type and response actions } |
Time data
All time fields are named as follows and occur multiple times in the data for different sections and events recorded.
...
Holds an object for every product placed into the virtual shopping basket along with data on qty in basket, price and so on:
Code Block |
---|
{ meta: { height: 11.5, width: 4.6 }, priceParams: { basePrice: 65, // base price of a single product priceLabelSetupID: "", priceLogicID: "" }, productID: "4c58541c-61b9-4db5-6f2a-c3e1a7216d69", quantity: 2, // number of product items placed in basket title: "Rexona Roll on Motionsense Sexy Bou50", userMeta: { UPC: "4800888191212", claimText: "", offer: "", packSize: "50 Ml" }, weightDescription: "50 Ml" }, |
Note! This is the final contents of the basket. It does not indicate order or placing items in and taking items out of the basket.
...
This holds one object per interaction with the basket which is adding or removing a product from the basket or changing the quantity in basket for a given product.
Code Block | ||
---|---|---|
| ||
{
eventName: "ProductQtyChangedInCart", // what happened (can be also ProductAddedToCart)
newQty: 1,
oldQty: 0,
priceParams: {
basePrice: 65,
},
productID: "4c58541c-61b9-4db5-6f2a-c3e1a7216d69",
quantity: 1,
startTime: "2016-07-31T08:22:24.890Z",
title: "Rexona Roll on Motionsense Sexy Bou50",
userMeta: {
UPC: "4800888191212",
claimText: "",
offer: "",
packSize: "50 Ml"
},
weightDescription: "50 Ml"
},
|
Note! For every ProductAddedToCart event there is always at least one ProductQtyChangedInCart because technically adding a first product changes the qty in cart from zero to 1. If a user adds that product a second time only the ProductQtyChangedInCart event is triggered changing qty from 1 to 2.
...
The base start time for the page is in the startTime field at the outer level of the data:
Code Block |
---|
{
projectID: "93857dab-8b56-4a1c-b8a6-0d4bbdf4e2aa",
respondentID: "davidtest",
startTime: "2016-07-31T08:21:57.942Z", // start time of page
endTime: "2016-07-31T08:22:37.981Z", // end time of page
duration: "1970-01-01T00:00:40.039Z", // time spent on page
PageID: "2c8800f4-5a53-4457-abaf-2286bcbd3adb",
questions: []
}
|
Time to first product selection
...