If you’re looking for a definitive guide to upload and track xAPI Content on Moodle LMS? Then you’re in the right place.
Before getting started, let`s take look at the requirements:
This tutorial is divided into 3 parts:
- Connection with the GrassBlade Cloud LRS
- Adding or Uploading Content
- Tracking Reports in LRS.
In this tutorial, I’m using GrassBlade Cloud LRS. You can use this or any other Learning Record Store.
Why Learning Record Store?
In any xAPI environment, a Learning Record Store is a necessary element. Your content will only play if it has the correct launch URL. Which includes details of your LRS.
Connection with the GrassBlade Cloud LRS
Go to Dashboard > Site administration > Plugins > Plugins overview > Additional Plugins.
Find the plugin you have installed previously named “Tin Can Launch Link,” and click on the settings. You can do these settings while plugin installation.
1. Endpoint: http://lrs.example.com/endpoint/
2. AuthUser: 155-df3957a7e8d6121
3. AuthPass: b6af8c49ba6d34f1303d0d037
GrassBlade Cloud LRS user can find these details here.
Enter LRS authentication details here:
Click save changes to update.
You have successfully connected your LRS with Moodle.
Adding xAPI Content in Course
Add a New Course Course, use official documentation for this process.
Click on “Add an Activity or Resource” link, you can see this option under every topic.
Select TinCan Launch Link option from the left sidebar and click Add button.
Enter basic details for your xAPI Content in General tab. On the Launch Settings tab, you can use hosted content on another server using the content URL or upload content zip on this server.
Zip Package: Click on the down arrow and, select Upload a File option from the file picker.
Click Choose File option and select the xAPI content zip file from your computer.
Click Upload this file button to save.
Check other appropriate options as per need and click the Save and return to course button.
Go to the course page and click on the added content to attempt.
Click the Launch button to play your content. It will be launched in NewTab, you can edit your content settings by editing it.
Complete the content to check reports in the Learning Record Store.
After completion, you can check the content details in your LRS. In my case, it is GrassBlade Cloud LRS.
Check Reports in LRS
Go to GrassBlade Cloud LRS, click Statements Widget.
Check highlighted parts on the statements.
You can also check Rich Quiz Reports in the LRS, follow this tutorial.
Moodle does not provide native support for Experience API but you can follow this method to upload, add and track xAPI Content on your Moodle LMS. It allows adding content hosted somewhere else or you can upload content on the moodle server.
Here reporting depends on the LRS, GrassBlade Cloud LRS can be your option or any other LRS you like.