Skip to main content
All CollectionsGetting started
How to Display Score-Based Results
How to Display Score-Based Results
Wendy avatar
Written by Wendy
Updated over a week ago

Lantern now features an innovative functionality that enables the display of results based on a total quiz score, rather than individual product scores. This guide will help you understand how to configure this feature using the [score] variable to differentiate between Dynamic Content Blocks and display specific results or information based on different ranges of scores.

Step 1: Hide Default Recommendations

Navigate to the Results Page within the quiz builder and where you can choose to hide the default recommendations.

Hiding the default recommendations is not required to create score-based results. However, score-based results are created using Dynamic Content Blocks, allowing you to display tailored information or recommendations based on specific score ranges, which may, in most situations, be the only results you would want to show.

Step 2: Preparing a score-based quiz

To illustrate how score-based results work, let’s create a quiz designed to identify the energy level of your dog and recommend products based on the score.

The responses to these questions will determine the total score, which reflects the energy level of the dog. The energy levels will then be categorized into three ranges:

  1. Couch Potato: Low energy level. Dogs that prefer staying indoors, have limited outdoor time, go on short walks, and engage in minimal play.

  2. Balanced Pacer: Medium energy level. Dogs that split their time indoors and outdoors, go on moderate walks, and enjoy occasional play sessions.

  3. Playful Warrior: High energy level. Dogs that thrive outdoors, spend hours outside, enjoy long walks, and engage in extensive play.

Step 3: Configuring variants and scores

What is important to keep in mind when using these score-based blocks is that you need to add all relevant matching answers. In this case, all answers to the questions will be selected as matches, and only the scores assigned to them will differ.

For each answer option, assign a weight value corresponding to the activity level. Here's an example to clarify the process:

  • Less Active Options: Assign 1 point (e.g., "Indoors" or "Less than 1 hour", Rarely plays outside, does not enjoy long walks or does not engage in yard activities). These responses reflect a low energy level.

  • Moderately Active Options: Assign 2 points (e.g., "Both indoors and outdoors" , "1 to 3 hours" of time spent outdoors, Occasionally plays outside etc. ). These responses represent a balanced energy level.

  • Highly Active Options: Assign 3 points (e.g., "Outdoors,” "More than 3 hours" of time spent each day outdoors, etc.). These indicate a high energy level.

Now we can calculate some ranges. For a score range of 0 to 6, meaning a selection of at most one answer that has a weight of 2 or 3 we consider that to be a couch potato, mainly represented by low energy answers.

In order to represent a range you can use the following syntax:

[score| 0,6]

Where 0 is the low end of the range and 6 is the high end of the range.

You can match specific products to fit this profile, and the first variant will be displayed only if the score sum of all answers is between 0 and 6 in answer weight.

The same process will be repeated with the other two variants using other higher score ranges and the same product matching system and answer weights for each other variant.

In the end after going through the quiz you will get to see a result that looks something like the example below:

Note that when using this function, we are displaying the value from the quiz as well. The syntax in the set-up of Dynamic Content Blocks helps pick out the correct range and display the attached variant with its product recommendations.

Optional: Displaying Only the Score

If you prefer to display just the score without using ranges or customized content blocks, you can use the syntax:

Your score is [score].

However, this approach doesn’t take advantage of the functionality to provide tailored results and recommendations based on score ranges, and it is not to be used with multiple variants.

This should be considered an alternative Dynamic Content Block picking system in which scores of answers decide which variant is the one to be displayed, not product matches like you would traditionally.

By using total score-based outcomes in your quizzes, you can create a highly tailored and engaging experience for your customers. Whether you’re offering personalized recommendations or simply showing a score, the Lantern Product Quiz Builder’s dynamic features allow for unmatched flexibility and interactivity.

Did this answer your question?