You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
Home > PIXO Platform Unity SDK > Understanding xAPI > Data Reporting 101 - Context
Data Reporting 101 - Context
print icon

Context

The context, not surprisingly, provides a place to include additional information surrounding the context in which an activity took place. Some of the defined properties for context include tracking the platform on which an activity happens (ie Vive, Quest, iOS, etc) and the version number of the build that is installed.

 

The context also is a place to include custom information about the activity- for example if you were building a driving simulation you might want to track the user's top speed and/or average speed over the course of the test. In our test example we could hypothetically say that there are 3 different models of equipment rooms that get chosen randomly when you start the module, and you would like to track which one they loaded into. You could include that or any other custom information in the "extensions"

 

For our basic example, the context property would like like this:

 

"context":{

  "platform":"Pico Neo 3",

  /* revision holds the version number of the build */

  "revision":"1.1.0"

  "extensions":{

        "https://www.pixovr.com/xapi/fallpro/extensions/equipmentroom":"A"

  }

 

Feedback
0 out of 0 found this helpful

scroll to top icon