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 20:05] – 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** | + | When using an awareness training video in LUCY one can consider useful to track down the number of users that have played the video after receiving the awareness training email or after redirect to the awareness website. Some statistics regarding the average time of the video being played by recipients might also be useful in terms of awareness campaign effectivity assessment and personnel training productivity. |
- | This method | + | LUCY allows you to verify if a training |
- | * Mark the awareness template or website as " | + | To find more information regarding this feature, please, consult this [[video_tracking|chapter]]. |
- | {{ quiz_enabled_c.png? | ||
- | * Make sure your awareness website (or template) has the quiz-question-titles.js static file with the following content: {" | + | ===== Extended method of tracking |
- | * Add " | + | |
- | <body onload=" | + | Starting with version Lucy 4.6, there is a new option called “Use extended method of tracking the end of the quiz”, which is designed to track when the user finishes the quiz. The option is available on the Awareness Template editing page: |
- | * Add " | + | {{ :: |
- | <video onplay=" | + | Default state: disabled. |
+ | In order for this method to work, you will need to add a call to an additional function " | ||
- | **Method 2: using the video tracking | + | :!: Attention! Enabling this option without calling |
+ | By default, Lucy marks each recipient as " | ||
- | Using our custom tracking JavaScript which can be downloaded {{:: | + | ==== An example |
- | {{ video_tracking_new.png?600 }} | + | Using the awareness template " |
- | 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" | + | Add a new variable |
- | {{ video_stats_sample.png? | + | < |
+ | var correctAnswersCount = 0; | ||
+ | </ | ||
+ | {{ :: | ||
+ | |||
+ | 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