Trax Logs for Moodle implements the xAPI Moodle / VLE Profile.
Please, refer to this documentation to understand xAPI data structures and rules.
-
\core\event\user_loggedin
: a user logged into Moodle ( JSON example). -
\core\event\user_loggedout
: a user logged out from Moodle ( JSON example). -
\core\event\user_enrolment_created
: a user registered to a course ( JSON example). -
\core\event\course_viewed
: a user navigated in a Moodle course ( JSON example). -
\core\event\course_category_viewed
: a user navigated in a Moodle course category ( JSON example). -
\core\event\course_completed
: a user completed a Moodle course ( JSON example). -
\core\event\course_module_completion_updated
: the completion status of a course module changed. Regarding auto-completion, a statement is sent only when the status is completed ( JSON example). Regarding declarative completion, a statement is sent when the status is completed or incomplete (JSON example). -
\core\event\user_graded
: a user got a grade in the Moodle gradebook. A Statement is sent only when the type of grade is value or scale and when the grade is associated with a course module (JSON example).
\mod_xxx\event\course_module_viewed
: a user navigated in a Moodle course module,xxx
being the type of the module (JSON example).
\mod_scorm\event\sco_launched
: a user launched a SCO of the SCORM package (JSON example).
-
\mod_forum\event\discussion_viewed
: a user viewed a forum discussion (JSON example). -
\mod_forum\event\discussion_created
: a user created a forum discussion (JSON example). -
\mod_forum\event\post_created
: a user created a post in a forum discussion (JSON example).
Some statements are sent on a regular basis by CRON jobs:
-
Course defined: a course has been created or updated. The statement defines the structure of the course ( JSON example).
-
Group defined: a group has been created or updated. The statement defines the members of the group ( JSON example).