xAPI: How can I collect and store learner information to use for learning analytics on OpenLearning?

xAPI lets you gather specific information about how learners interact with your courses, and stores it in your own LRS (Learning Record Store).

Additionally, OpenLearning's HTML5/xAPI widget allows you to include your own HTML5 content inside an OpenLearning course which also tracks and stores specific data to your LRS. In OpenLearning's authoring tools, it has the following icon:

xAPI specifies how learning content, activities, and systems share data and track user interactions, behaviours, state, and context which can be stored in an independent database (which xAPI calls the Learning Record Store or LRS). xAPI is the successor to the now obsolete SCORM standard, providing a new approach to address the needs of greater flexibility, security, and interoperability in modern platforms.

Adding your LRS to a course means that the following learner interactions can be recorded as statements with all your other learning data:

  • Visiting a page

  • Commenting/replying on a page

  • Commenting/replying on a post

  • Sharing a post from a widget

  • Completing a widget, page, or course

OpenLearning will send the configured LRS system statements for all collected interactions within a user’s OpenLearning course, as well as any xAPI-supporting tools which the course author has embedded into the course.

This is in addition to any widget-specific xAPI statements generated by content launched from within an OpenLearning course (e.g. xAPI-enabled packages built and uploaded by the course creator using the OpenLearning xAPI widget).


A diagram of how xAPI integrations are structured in a typical education technology ecosystem.


OpenLearning cannot create an LRS for you as of yet. However, if you have your own, it can be integrated with your course.

If you would like to create one, you can do so using one using one of the following: 

Once you have an LRS set up, contact us at support@openlearning.com and provide us with:

  • The URL of your course(s)
  • The URL your LRS uses as its xAPI endpoint
  • The Username (Key) and Password (Secret) to access your LRS

Once we have this information, we will set up these courses to start tracking statements to your LRS.

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like2 Follow
  • yesterdayLast active
  • 93Views
  • 3 Following