Learning Analytics with xAPI in Moodle-Up2U

The central deployment of the Moodle LMS inside the Up2U ecosystem is equipped with an extension able to send xAPI statements to an xAPI Learning Record Store (LRS), The xAPI LRS currently used in Up2U is a deployment of Learning Locker (LL). Other help pages illustrate learning analytics support provided by CommonSpaces both natively and with the support of the LRS that is shared with Moodle and with other tools of the Up2U ecosystem.

Relationships between Moodle logs and xAPI statements

This section summarizes the connection established by the Moodle logstore-xAPI plugin between the internal log of user actions that Moodle keeps in its database (the logstore) and the xAPI statements that it sends to the LRS.
The following aliases for namespaces are used to shorten prefixes of verb and activity type identifiers in the Mapping table below.

alias namespace
activitystream http://activitystrea.ms/schema/1.0
adlnetverb http://adlnet.gov/expapi/verbs
adlnetactivity http://adlnet.gov/expapi/activities
brindlewaye https://brindlewaye.com/xAPITerms/verbs
tincanapiverb http://id.tincanapi.com/verb
tincanapiactivity http://id.tincanapi.com/activitytype
tincanapilmsactivity http://id.tincanapi.com/activitytype/l
w3idactivity https://w3id.org/xapi/acrossx/activities/

 

Mapping of Moodle events to xAPI statements
Module Moodle event xAPI verb id xAPI activity type id
core course_completed tincanapiverb:completed tincanapilmsactivity:course
  course_viewed tincanapiverb:viewed tincanapilmsactivity:course
  user_created adlnetverb:registered tincanapiactivity:lms
  user_enrolment_created adlnetverb:registered tincanapilmsactivity:course
  user_loggedin brindlewaye:loggedin tincanapiactivity:lms
  user_loggedout brindlewaye:loggedout tincanapiactivity:lms
  course_module_completion_updated tincanapiverb:completed tincanapilmsactivity:module
assign assessable_submitted activitystream:submit adlnetactivity:assessment
  submission_graded adlnetverb:scored adlnetactivity:assessment
book course_module_viewed tincanapiverb:viewed tincanapiactivity:book
chat course_module_viewed tincanapiverb:viewed tincanapiactivity:chat-channel
choice course_module_viewed tincanapiverb:viewed tincanapilmsactivity:module
data course_module_viewed tincanapiverb:viewed tincanapilmsactivity:module
facetoface cancel_booking tincanapiverb:unregistered tincanapilmsactivity:module
  course_module_viewed tincanapiverb:viewed tincanapilmsactivity:module
  signup_success adlnetverb:registered tincanapilmsactivity:module
  take_attendance adlnetverb:attended tincanapilmsactivity:module
feedback course_module_viewed tincanapiverb:viewed tincanapiactivity:survey
  response_submitted tincanapiverb:submitted tincanapiactivity:survey
folder course_module_viewed tincanapiverb:viewed tincanapilmsactivity:module
forum course_module_viewed tincanapiverb:viewed tincanapiactivity:forum-topic
  discussion_viewed tincanapiverb:viewed tincanapiactivity:discussion
  user_report_viewed tincanapiverb:viewed tincanapiactivity:user-profile
glossary course_module_viewed tincanapiverb:viewed tincanapilmsactivity:module
imscp course_module_viewed tincanapiverb:viewed tincanapilmsactivity:module
lesson course_module_viewed tincanapiverb:viewed adlnetactivity:lesson
lti course_module_viewed tincanapiverb:viewed tincanapilmsactivity:module
page course_module_viewed tincanapiverb:viewed w3idactivity:page
quiz course_module_viewed tincanapiverb:viewed adlnetactivity:assessment
  attempt_abandoned   adlnetactivity:attempt
  attempt_started activitystream:start adlnetactivity:attempt
  attempt_reviewed activitystream:receive activitystream:review
  attempt_submitted adlnetverb:completed adlnetactivity:assessment
  attempt_viewed tincanapiverb:viewed adlnetactivity:attempt
resource course_module_viewed tincanapiverb:viewed tincanapiactivity:resource
scorm course_module_viewed tincanapiverb:viewed tincanapiactivity:legacy-learning-standard
  sco_launched adlnetverb:launched tincanapiactivity:legacy-learning-standard
  scoreraw_submitted adlnetverb:failed
adlnetverb:passed
adlnetverb:completed
tincanapiactivity:legacy-learning-standard
  status_submitted adlnetverb:failed
adlnetverb:passed
adlnetverb:completed
tincanapiactivity:legacy-learning-standard
survey course_module_viewed tincanapiverb:viewed tincanapiactivity:survey
url course_module_viewed tincanapiverb:viewed adlnetactivity:link
wiki course_module_viewed tincanapiverb:viewed tincanapilmsactivity:module
workshop course_module_viewed tincanapiverb:viewed tincanapilmsactivity:module

 

Moodle modules sources of xAPI statements

The table below lists the Moodle modules whose names occur in the table above as sources of xAPI statements.

name description
core Core Moodle functionality
assign The assignment module allows teachers to collect work from students, review it and provide feedback including grades
book The 'book' module enables a teacher to create a multi-page resource in a book-like format, with chapters and subchapters
chat The Chat activity module participants to have a real-time synchronous discussion in a Moodle course
choice The Choice activity allows you to ask a question and set up radio buttons which learners can click to make a selection from a number of ...
data The database activity module allows the teacher and/or students to build, display and search a bank of record entries about any conceivable ...
facetoface Face-to-face activities are used to keep track of in-person trainings which require advance booking
feedback The Feedback activity allows you to create and conduct surveys to collect feedback
folder Folders in Moodle work much like folders in other programs, as containers into which files (and other folders) are organised
forum The forum module is an activity where students and teachers can exchange ideas by posting comments
glossary The glossary activity module allows participants to create and maintain a list of definitions, like a dictionary
imscp IMS content package
lesson The lesson module presents a series of HTML pages to the student who is usually asked to make some sort of choice underneath the content ...
lti LTI - IMS Learning Tool Interoperability interface
page A page resource creates a link to a screen that displays the content created by the teacher
quiz The Quiz activity module allows the teacher to design and build quizzes consisting of a large variety of Question types
resource A resource is an item that a teacher can use to support learning, such as a file or link. Moodle supports a range of resource types ...
scorm The SCORM module enables you (the teacher) to upload any SCORM or AICC package to include in your course
survey The Survey module is a course activity that provides a number of verified survey instruments
url A URL (Uniform or Universal Resource Locator) is a link on the internet to a website or online file
wiki A wiki is a collection of collaboratively authored web documents
workshop Workshop is a powerful peer assessment activity