User Tools

Site Tools


create_an_interactive_e-learning_template

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
create_an_interactive_e-learning_template [2017/01/26 20:58] – [How to enable tracking of users watching a video] lucycreate_an_interactive_e-learning_template [2017/07/29 21:51] – [How to track users watching an awareness video] lucy
Line 47: Line 47:
  
 ===== How to track users watching an awareness video ===== ===== How to track users watching an awareness video =====
 +
 +**Method 1: using the quiz checkbox**
 +
 +This method allows you only to verify, if the video was played. It does not allow tracking of the video lenght. Please use method 2 to track more details.
  
   * Mark the awareness template or website as "Quiz"   * Mark the awareness template or website as "Quiz"
 +
 +{{ quiz_enabled_c.png?600 }}
 +
   * Make sure your awareness website (or template) has the quiz-question-titles.js static file with the following content: {"1": "Video Played"}   * Make sure your awareness website (or template) has the quiz-question-titles.js static file with the following content: {"1": "Video Played"}
   * Add "onload" attribute to body tag of HTML content, so you get the following:   * Add "onload" attribute to body tag of HTML content, so you get the following:
Line 58: Line 65:
   <video onplay="lucyQuizAnswer(1,1);">   <video onplay="lucyQuizAnswer(1,1);">
  
 +
 +**Method 2: using the video tracking JavaScript**
 +
 +Using our custom tracking JavaScript which can be downloaded {{::lucy-event-javascript.zip|here}}, allows you to track video's played in LUCY's "flowplayer" which are used for all our video templates. The JS should be inserted into the bottom of the page where the flowplayer video is uploaded:
 +
 +{{ video_tracking_new.png?600 }}
 +
 +This script allows you to track a video start and finish event and also display the progress in statistics (rounded percent in different event types like video-10 for 10% video played or video-90 for 90% video played, etc.). When the video is started, it sends a "video-start" event. When the video is finished (played to the end), it sends a "video-finish" event to LUCY which leads to statistics like in this graphic:
 +
 +{{ video_stats_sample.png?600 }}
  
create_an_interactive_e-learning_template.txt · Last modified: 2021/04/30 11:38 by lucy