Combining custom and out-of-the-box xapi statements

Hi everyone

The out-of-the-box xapi statements that storyline sends out when publishing for xapi are nicely reported in Scormcloud. I've also had success when publishing for HTML/SCORM and sending custom xapi statements to Yet LRS. I think both options are really cool to play around with. However I would like to combine the ease of use of the out-of-the-box xapi statements with the flexibility of tracking whatever I want with custom xapi statements. 

Can anybody confirm if this is possible and send me in the right direction on how to do it? 

With kind regards

1 Reply
Doug Nelson

Hi Anneleen,

It's completely possible. If you publish as an xAPI package you'll get the "out-of-the-box" statements. And then you can add custom statements via Javascript for individual objects, triggers, etc. that will get sent separately to the LRS. 

I found this series of video tutorials very helpful for learning how to insert custom statements into Storyline via the "Execute Javascript" trigger. It's based around using the tool to construct the statements, but you can construct them manually and use the same approach: