Some Quick Starts use advanced logic and add up scores that are displayed on a Results page. In addition to the how-to post with publishing instructions, we’ve created logic templates to make the process of organizing and defining that logic a bit easier. Below you’ll find a guide to the logic template as well as a link to download the logic template itself.
The responses to each of the five questions are saved into corresponding Answer data fields (i.e. Answer01, Answer02, etc.). Each question includes two choices. The correct response saves a value of “correct” and an incorrect answer saves a value of “incorrect.” The example inputs in this logic template are used to demonstrate values saved to each Answer field.
Each correct answer is worth one point. Each correct answer adds a point to the “Score” data field.
In order to calculate the percentage of correct answers that were given, the total points saved to the Score field are divided by 5 (the number of questions) and then multiplied by 100. The example respondent in this logic template answered three questions correctly which means they got 60% of the answers correct. This value is saved to the ScorePercent data field.
This experience includes logic to make one of two recommendations based on the number of correct answers that were given. Any respondent who answered 3 or less questions correctly will receive a low end recommendation. Any respondent who answers 4 or more questions correctly will receive a high end recommendation. These messages are saved to the Recommendation data field. Because our example respondent answered 3 questions correctly, the low end message was saved to the Recommendation data field.
For more information on how to work with the Long Page with Lightbox Quiz creative, click here.