GUIDE: Send an xAPI Statement from Storyline 360

Feb 24, 2019

Hello everyone! I've written up a 3-part tutorial series that walks you through how to send custom xAPI statements from a Storyline (2, 3, or 360) course. You don't need any prior JavaScript knowledge, and this series has helped dozens of others send their first statements. 

Even if you have already sent custom statements, giving the first tutorial a read will give you a pretty solid understanding of an xAPI statement.

Well, here they are!

Part 1: Write an xAPI Statement from Scratch

Part 2: Collect the User's Name & Email from Storyline

Part 3: Send an xAPI Statement from Storyline

As always, let me know if you run into any trouble or have any additional questions.

17 Replies
Vincent Golding

Hi Devlin, I just came across this. It's helped my understanding of xAPI hugely so thanks for taking the time to write it.

I've just followed all the instructions, pressed submit and... nothing. I can't figure out where I'm going wrong! Could any xAPI guru's take a look to help me understand the issue? Files attached for reference. The statement doc is helpfully called "statement1.js".

Brian McCann

Hi Devlin, 

Thanks so much for this. I came across your writeup while trying to accomplish something similar and your explanation has been tremendously helpful. I followed the  instructions in an attempt to get this to work, but when I hit submit nothing happens, much like Vincent describes above. I'm hoping someone might have an idea of where I'm going wrong with this. I'm going to attach my output files for reference as well. Thanks in advance!

Devlin Peck

I put together a "common issues" troubleshooting guide in case anyone else is having trouble sending their statements:

I am also writing additional xAPI & Storyline tutorials, and you can find the full list of them here: