This week I watched Increase the Value of Your eLearning with HTML5 and xAPI with James Kingsley from the e-Learning Brothers.
This was exactly the piece I felt like I was missing from understanding how xAPI statements GET made. Most of the webinars, white papers and blogs I’ve ‘experienced’ have described the components of the xAPI code, but left out how to get the code to actually work. James showed his end product, a web page created with bootstrap with 3 types of content each triggering a different type of xAPI statement. Here’s what I learned:
- You must have a data call ‘trigger’ in the html anchor tag which ‘calls’ the xAPI statement you require.
- If you are having your actors sign on using oAuth access (pulling from existing google, facebook, twitter, etc accounts), you must have code to ask each account for the information you need.
Ultimately, if you are creating an xAPI enabled activity you will need 3 parts to enable your statements to be sent. This is how it works.