Plugin Author
otacke
(@otacke)
@adg437 Are you saying that the backend doesn’t show any statements at all or that some fields are not filled? The latter would be normal, because not all xAPI statements contain values for all the fields.
Thread Starter
adg437
(@adg437)
I mean that for those columns on the plugin page (object def description, choices, correct responses, result response columns), there are no entries in any cells.
However, if I use this script:
H5P.externalDispatcher.on(‘xAPI’, function (event) {
console.log(event.data.statement);
});
I am able to see the data in the console.
Plugin Author
otacke
(@otacke)
@adg437 What’s the xAPI verb for those statements that lack the entries for the columns?
H5P.externalDispatcher.on('xAPI', function (event) {
console.log(event.data.statement.verb.id.split('/').pop(), event.data.statement);
});
Usually only entries for xAPI statements with the verb answered or completed have the other columns filled.
Thread Starter
adg437
(@adg437)
I am going by this page which I am taking to suggest that these events get triggered during question activities:
https://h5p.org/node/615/xapi-coverage
Thanks,
Andrew
Plugin Author
otacke
(@otacke)
@adg437 That’s a list of xAPI statements that will be triggered by the subcontents that are used in Question Set, but I fear that’s not any useful information here.
You should e.g. get an answered statement if you click on the “Check” button of a multiple choice question. The entry for that statement should for instance have the Result Response field filled. There are other statements, e.g. for interacted or progressed that do not have those fields filled.
Have a look at the plugin’s sample screenshot for example. The upper entry is an interacted statement and the entries of the columns that you mentioned are empty. Perfectly normal. The next entry is an answered statement with everything filled – as it should be.
So, it’s still not clear to me if you’re looking at statements that are not supposed to have those fields filled, or if you are in fact looking at answered or completed statements that lack only those entries (that would be very weird).
Thread Starter
adg437
(@adg437)
Apologies, but I am not sure I understand why the field below would be blank after a user responds to a question and clicks “Check”:
result.response
Plugin Author
otacke
(@otacke)
@adg437 We’re back to my question above: What verb is showing up for the entry that’s showing an empty response? There are some statements that simply are not concerned with results.
Could you please share a screenshot or create a user on your WordPress site for me so I can check?
Thread Starter
adg437
(@adg437)
Do you have an email I can use to send an invite to the WP site?
Thread Starter
adg437
(@adg437)
Thanks, I will send you an invite.
Plugin Author
otacke
(@otacke)
@adg437 The problem on your site is not that the columns are not filled, but for some reason, no answered statements or other statements of subcontents are logged. There are only entries for attempted and completed statements of the main content type, those don’t carry any of those fields, and that’s why there are no entries in the other columns.
I assume there’s a bug with restricting the plugin to catch only single content types. Could you please check whether everything works if you choose the “Capture everything” option instead?
Plugin Author
otacke
(@otacke)
@adg437 Version 0.4.12 that I just released should fix the issue.
Thread Starter
adg437
(@adg437)
I just changed the setting and added another MC question set. I am not seeing entries for the same fields though.
Thread Starter
adg437
(@adg437)
Apologies, I did not see your last post. I will update the plugin and see if it works.
Much Thanks,
Andrew
Thread Starter
adg437
(@adg437)
It looks like it is working now. Is it still the case that “there’s a bug with restricting the plugin to catch only single content types”?
Thank you very much for you help.