department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
283 stars 204 forks source link

[Discovery] Evaluate ability to retrieve historical analytics data from ForeSee #459

Closed joanneesteban closed 4 years ago

joanneesteban commented 5 years ago

User Story

As a Product Owner, I need to have automatic, regular, and easy to consume Foresee analytics updates in order to use user-centric data regularly as a part of my workflow.

Discovery Question

Can we pull real-time data that shows weekly and monthly analytics and display it somewhere for edu stakeholder to access?

Constraints/Assumptions

Acceptance Criteria

Definition of Done

rianfowler commented 5 years ago

Foresee has two export APIs worth looking into:

CX Measure Export API Documentation Feedback Export API Documentation

joanneesteban commented 5 years ago

Data Points for Education:

Custom Question:

CC: @amycesal - These are the only Education related Foresee data points that I found.

rianfowler commented 5 years ago

Responses

The project data api returns the responses to each survey:

{
    "hasMore": false,
    "total": 6,
    "items": [
        {
            "id": "0Nolkwodoghkp5BtF948kA4C",
            "responseTime": "2018-10-09T19:42:29Z",
            "rating": 2,
            "topic": "Topic One",
            "url": "https://survey-dev.foresee.com/f/yFeS5ZdxAL",
            "response": [
                {
                    "id": "XIA0046271",
                    "type": "CQ",
                    "answers": [
                        "2"
                    ]
                },
                {
                    "id": "XIA0046272",
                    "type": "CQ",
                    "answers": [
                        "Site is too slow"
                    ]
                },
                {
                    "id": "device_version",
                    "type": "CPP",
                    "answers": [
                        "Chrome"
                    ]
                },
                {
                    "id": "os",
                    "type": "CPP",
                    "answers": [
                        "Windows 10"
                    ]
                }
         }
 }

CSAT Score

the measure data api returns information on each of the client's measures.

{
  "hasMore": true,
  "total": 5227,
  "items": [
    {
      "id": "ABC2013234486504",
      "responseTime": "2013-08-01T04:14:00.000Z",
      "latentScores": [
        {
          "id": "M003703L0002",
          "name": "Product Images",
          "type": "ELEMENTS",
          "score": 87.81034
        }
      ],
      "responses": [
        {
          "id": "ENM003703Q00100",
          "name": "Please rate the number of clicks to get where you want on this site.",
          "phrase": "Please rate the number of clicks to get where you want on this site.",
          "type": "MQ",
          "answers": [
            "9"
          ]
        }
      ]
    }
  ]
}

Notes

andreahewitt-odd commented 4 years ago

@joanneesteban Is this work you still plan on doing or can it be closed? Or should this ticket be changed to finish the export of 2018 and 2017?

joanneesteban commented 4 years ago

Will repurpose this ticket to finish the export of 2017-2019 ForeSee data.

joanneesteban commented 4 years ago

Work for ForeSee has been changed. Ice-boxing and have open tickets/will open tickets about retrieving ForeSee data as necessary.