GitHub Pages Quiz Data

Hi H5P Community,

I have seen that quiz submission data is available for supported platforms like Moodle, Wordpress, and Drupal. Is there also a way to do this for quizzes embedded in GitHub pages?

I'm still getting familiar with the tool and supporting ecosystem so I apologize if this is a simple or already answered question. If this is not a feature I'd be happy to look into ways to help contribute toward getting support for it (if it's even possible).

Thank you for any help you can provide,

- Joe

 

 

icc's picture

Hi Joe,

The events and result data should be there but it isn't used in any way if the user isn't signed in to the page where the content is hosted. You could set up your own JS to process the results for anonymous/GitHub users. You probably have an idea of how it should work? 

Anyway, a good place to get started is this:

H5P.externalDispatcher.on('xAPI', function (e) {
  console.log(e.data.statement);
});