create_an_interactive_e-learning_template
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
create_an_interactive_e-learning_template [2019/07/25 12:50] – external edit 127.0.0.1 | create_an_interactive_e-learning_template [2020/08/11 19:26] – lucy | ||
---|---|---|---|
Line 19: | Line 19: | ||
**How to configure the quiz?** | **How to configure the quiz?** | ||
- | **Step 1 - Enable the Quiz Feature**: First of all, in order to enable quiz answers tracking, you should set a “Quiz” checkbox for awareness template you are working on. There are two places where you can enable it: | + | **Step 1 - Enable the Quiz Feature**: First of all, in order to enable quiz answers tracking, you should set a “Quiz” checkbox for the awareness template you are working on. There are two places where you can enable it: |
a) If you are working on an awareness template in the awareness template section then click here (see pic) | a) If you are working on an awareness template in the awareness template section then click here (see pic) | ||
Line 27: | Line 27: | ||
b) If you are working on an awareness website within a campaign then click here (see pic) | b) If you are working on an awareness website within a campaign then click here (see pic) | ||
- | {{ q2.png?600 }} | + | {{ :: |
Lucy then will automatically inject a JavaScript called /js/quiz.js to your template, making quiz-‐related functions available | Lucy then will automatically inject a JavaScript called /js/quiz.js to your template, making quiz-‐related functions available | ||
Line 48: | Line 48: | ||
===== How to track users watching an awareness video ===== | ===== How to track users watching an awareness video ===== | ||
- | **Method 1: using the quiz checkbox** | + | LUCY allows you to verify if a training video was played. The video-tracking statistics are not personified and are displayed as a general chart in the report (PDF \ DOCX \ HTML) and on the statistics page. Once a recipient finished watching the video he should be marked as " |
- | 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. | + | To find more information regarding this feature, please, consult this [[video_tracking|chapter]]. |
- | * Mark the awareness template or website as " | ||
- | {{ quiz_enabled_c.png? | + | ===== Extended method of tracking the end of the quiz ===== |
- | * Make sure your awareness website (or template) has the quiz-question-titles.js static file with the following content: {" | + | Starting |
- | * Add " | + | |
- | <body onload=" | + | {{ :: |
- | * Add " | + | Default state: disabled. |
- | <video onplay="lucyQuizAnswer(1,1);"> | + | In order for this method to work, you will need to add a call to an additional function |
+ | :!: Attention! Enabling this option without calling the " | ||
+ | By default, Lucy marks each recipient as " | ||
- | **Method 2: using the video tracking JavaScript** | + | ==== An example of usage the function lucyQuizEnd() in awareness training ==== |
- | Using our custom tracking JavaScript which can be downloaded {{:: | + | Using the awareness template |
- | {{ video_tracking_new.png? | + | Add a new variable " |
- | 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 " | + | < |
+ | var correctAnswersCount = 0; | ||
+ | </ | ||
- | {{ video_stats_sample.png?600 }} | + | {{ :: |
+ | Find the place in the code where function lucyQuizAnswer is called and insert a call of the function lucyQuizEnd after it with the condition as shown below. | ||
+ | |||
+ | < | ||
+ | correctAnswersCount++; | ||
+ | if (correctAnswersCount >= 5) { | ||
+ | lucyQuizEnd(); | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | {{ :: | ||
+ | |||
+ | Save the template and run the campaign. After 5 quiz questions are answered correctly, the recipient will be marked as " | ||
+ | |||
+ | :!: **Attention**. Using the function // | ||
+ | |||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | __Issue.__ Lucy marks the recipients as ' | ||
+ | __Solution__: | ||
+ | |||
+ | __Issue.__ Lucy does not mark the recipients as ' | ||
+ | __Solution__: |
create_an_interactive_e-learning_template.txt · Last modified: 2021/04/30 11:38 by lucy