Skip to main content

xAPI / Tin Can Export

Does your LMS (Learning Management System) support xAPI, also called Tin Can? Then you can download an xAPI package for your project and add it to your LMS. It records each learner’s answers, progress and completion.

No LMS?

Then you don’t need xAPI or SCORM. Share or embed your project on any web page instead. Your project’s Analytics page shows your viewers’ choices.

SCORM or xAPI?

Both are global standards for connecting your project to a learning platform. Both send back your learners’ results. Here’s how to choose.

What are an LMS and an LRS?
An LMS is a Learning Management System. An LRS is a Learning Record Store, where xAPI records are kept. Some LMSs have an LRS built in. Others need a separate one.

SCORM works with almost every LMS. It records only the essentials: score, pass or fail, and completion.

xAPI records much more: each answer, each learner’s path, their progress and watch time. But your LMS or LRS must support xAPI.

SCORMxAPI
RecordsScore, pass or fail, and completionAnswers, paths, progress, watch time and completion
Works withAlmost every LMSOnly an LMS or LRS that supports xAPI
Choose it forThe key resultsDetailed reports

 

Need SCORM instead? See SCORM Export.

Not sure if your LMS supports xAPI? Ask the person who runs it.

What you’ll need

  • A plan with SCORM export. xAPI comes with it
  • An LMS or LRS that supports xAPI
  • A published project, with Publish embeddable player ticked

Step 1: Set up your project

Set the completion status

To tell your LMS when a learner finishes, set completion_status to completed:

  1. Open the island where learners finish.
  2. Find Changes to scores / variables for all viewers.
  3. Click Add a change.
  4. Set completion_status to completed.

Add a score, progress and pass or fail

These are optional, but most projects use them.

Score

  • score: add to it on each answer that earns points. Use Change score / variable if this choice is made, and add as much as you like.
  • max_score: the highest score a learner can get. Set its default value on the Scores / Variables page. Your LMS uses it to show a percentage. Without it, no score is sent.

Progress

progress_percent shows how far a learner got. Set it to 25, 50, 75 and 100 as they reach different islands. It isn’t worked out for you: you choose where each milestone is.

Pass or fail

Give passed a default value of false. Then set it to true when a learner reaches your pass mark. For example, add an If condition: if score is more than 4, link to your next island and set passed to true.

Your reports show passed with the learner’s other final values. xAPI doesn’t send a separate pass or fail result.

Questions and right answers

An island counts as a question if it has question text and two or more answer buttons. Questions show up as questions in your reports.

To mark the right answer:

  1. Open the right answer’s button.
  2. Find Change score / variable if this choice is made.
  3. Set any variable to correct.

All the other answers count as wrong. You don’t need to mark them.

Label your questions (optional)

Add hashtags to an island’s Description. They show next to the question in your reports. For example:

  • #baseline and #post for questions before and after
  • #confidence for a rating, not a test
  • your own words, like #oncology

The Readme in the package lists them all.

Step 2: Publish and download

  1. Publish your project with Publish embeddable player ticked.
  2. Go to Step 3) Share and Export.
  3. Open the xAPI tab.
  4. Click Download xAPI.

You’ll get a zip file named after your project. Don’t unzip it or rename it. Some platforms use its name.

From Publish to Download xAPI in Stornaway

Step 3: Add it to your LMS or LRS

Upload the zip as an xAPI (or Tin Can) package. Each platform does this a little differently. Search its help for “xAPI” or “Tin Can”.

You don’t need to enter any details. Your platform tells the package who the learner is.

We’ve used it with Tin Canny (on LearnDash) and GrassBlade.

Step 4: See your results

Your LMS or LRS shows:

  • each learner’s answers, right or wrong
  • the islands they visited
  • how far they got
  • when they finished, with their score and watch time

Need a hand?

Every LMS and LRS is a little different. We’re happy to help. Email us at support@stornaway.io.