Upload and Track xAPI (TinCan) Content on Moodle LMS

xAPI Content on Moodle LMS

If you’re looking for a definitive guide to upload and track xAPI Content on Moodle LMS? Then you’re in the right place.

We made a better version of xAPI Launch Link called GrassBlade xAPI for Moodle. Learn more

Before getting started, let`s take look at the requirements:

  1. Running Moodle LMS
  2. xAPI Launch Link Plugin
  3. GrassBlade Cloud LRS or any other LRS
This tutorial does not cover installation and setup part of Moodle LMS, use official documentation to install plugin.

Click on the images to enlarge them.

This tutorial is divided into 3 parts:

  1. Connection with the GrassBlade Cloud LRS
  2. Adding or Uploading Content
  3. 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

Step 1:
Go to Dashboard > Site administration > Plugins > Plugins overview > Additional Plugins.

moodle plugins. TinCan Launch Link

Step 2:
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.

You need following details to allow LRS to recieve data. Example:
1. Endpoint: http://lrs.example.com/endpoint/
2. AuthUser: 155-df3957a7e8d6121
3. AuthPass: b6af8c49ba6d34f1303d0d037
GrassBlade Cloud LRS user can find these details here.

Step 3:
Enter LRS authentication details here:

TinCan launch link LRS configuration

Step 4:
Click save changes to update.

You have successfully connected your LRS with Moodle.

Adding xAPI Content in Course

Step 5:
Add a New Course Course, use official documentation for this process.

Step 6:
Click on “Add an Activity or Resource” link, you can see this option under every topic.

Test Course

Step 7:
Select TinCan Launch Link option from the left sidebar and click Add button.

add TinCan Launch link

Step 7:
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.

Step 8:
Zip Package: Click on the down arrow and, select Upload a File option from the file picker.

Upload xAPI Content on Moodle

Step 9:
Click Choose File option and select the xAPI content zip file from your computer.

Step 10:
Click Upload this file button to save.

Step 11:
Check other appropriate options as per need and click the Save and return to course button.

Add content in course

Step 12:
Go to the course page and click on the added content to attempt.

Launch xAPI Content

Step 13:
Click the Launch button to play your content. It will be launched in NewTab, you can edit your content settings by editing it.

play xAPI Content

Step 14:
Complete the content to check reports in the Learning Record Store.

xAPI Content Preview in moodle lms

After completion, you can check the content details in your LRS. In my case, it is GrassBlade Cloud LRS.

Check Reports in LRS

Step 15:
Go to GrassBlade Cloud LRS, click Statements Widget.

reports in Learning Record Store

Step 15:
Check highlighted parts on the statements.

completed and passed statements
xAPI Content Completion with Score obtained in the Content
answers report in the LRS
Answers of the xAPI Content
launched and experienced statements in the GrassBlade Cloud LRS
Launched and Experienced Statements

You can also check Rich Quiz Reports in the LRS, follow this tutorial.

Rich Quiz reports for xAPI Content in Moodle
xAPI Content Attempt Summary
Rich Quiz reports for xAPI Content in Moodle
Answers in Rich UI

Conclusion

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.

For more latest and quick updates, follow us on Facebook, Twitter, LinkedIn and YouTube.

2 thoughts on “Upload and Track xAPI (TinCan) Content on Moodle LMS”

  1. Hi everyone. First of all, congratulations with the explanation of the install and upload the plugin.
    I have a question. I dont know how to report my own verbs. i use the plugin and all of my own verbs like “passed”,”checked”,”completed” become in default verbs like “experienced” or “passed”.
    is possible to report custom verbs? Can you explain me how to do to report with the plugin my own verbs?
    Thanks.

    1. Saurabh Chauhan

      Hi Pablo,

      I never tried to track custom activities or sending custom statements. You might need to check with xAPI Launch Link plugin devs, they can guide you better.

      If you have any queries related to GrassBlade Products, feel free to reach us.

Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart
Scroll to Top
We are making major changes on payment options & license management. Please, click here to report any issues you face during the purchase.