Event tracking

When a modal is opened for an activity, the content is fetched through a web service and loaded in the modal. When the content is fetched capabilities are checked the same as with the standard view page to see that the user can access the content. A view event is triggered since the user requests the same information that is seen on the view page of the course module. When the modal is closed, the course page is updated by another web service. This also records a  Course viewed event since the user is returning to the course page. 

Activity completion

Viewing a page ore  completing a H5P or SCORM activity in a modal has the potential to change the current completion state of activities. Which may affect availability. These are updated and checked with each server call so that activity completion and restriction will work more or less like any other course format.

Since completion and availability may change based on what is done in the modal, the course page needs to be updated when a modal is closed. This is done without leaving the page. If there are no major changes that happen the use will not notice it happening. 


Laatste wijziging: maandag, 29 maart 2021, 07:27 AM