I have created one learning-course in adapt-authoring tool. After downloading it I am serving it statically via nginx server. But on launch of the course I am not able to post statements in LRS.
I have included/configured adapt-tkhub-xAPI
and adapt-trackingHub
extension too. Following is configuration of both extensions
- adapt-trakingHub
"_trackingHub": {
"_browserChannel": {
"_ignoreEvents": [],
"_isLaunchManager": true,
"_isStateStore": false,
"_isStateSource": false,
"_tracksState": true,
"_reportsEvents": true,
"_isEnabled": true
},
"_identifyById": true,
"_courseID": "https://xxx.xxx.com/course/g/4/g4xpfhPTb8VR8xvNzMJX2D2m3pI404yH0zRJ1eLbeatkE2GefcoSPReeUnKDlp4O/#/",
"_isEnabled": true
},
- adapt-tkhub-xAPI
"_tkhub-xAPI": {
"_channels": [
{
"_generateIds": true,
"_password": "",
"_userName": "",
"_endPoint": "",
"_fullName": "",
"_mbox": "",
"_homePage": "",
"_isFakeLRS": false,
"_xapiLaunchMethod": "adlxapi",
"_ignoreEvents": [],
"_isMobile": false,
"_isCachedLocally": false,
"_isLaunchManager": true,
"_isStateStore": true,
"_isStateSource": true,
"_tracksState": true,
"_reportsEvents": true,
"_isEnabled": true,
"_name": "xapiLaunch"
}
],
"_isEnabled": true
},
While launching course it displays following alert
ERROR: could not get xAPI data from xAPI-launch server!. Tracking on this channel will NOT work!
How can I integrate xAPI-launch server in it? Is it mandatory to use xAPI-launch server?