Quiz Logic and Product Linking

Understanding Default Results and Dynamic Content Blocks

By default, Lantern recommends products with the highest match score for the customer based on their quiz answers.

This is straightforward and efficient and requires you to link matching products to each answer in your quiz.

In the below example, we ask our customers what is their budget for a tennis racket and we match our Over £100 tennis racket collection with the corresponding answer in our quiz:

If you are creating the type of quiz where the result are not only based on product attributes (like weight, color, size, ingredients etc) but more focused on the customer's profile ( for example a skincare routine based on a customer's skin type) and you require multiple results categories (for example an AM and PM routines), then we recommend you check out the following article to find out more about building your results page using dynamic content blocks.

Match Score

This indicates how well a given product matches a customer's preferences based on their quiz answers. It has an x/y format where y is the number of questions in the quiz, and x is the number of times that product was a match for the chosen answer.

For example if a quiz has a total of 6 questions (not including input fields questions) and a particular product is linked to 4 of the chosen answers, its match score will be 4/6.

The more present a product is as a match to the selected answers the higher its score will be. By default the quiz will display the products with the highest match scores.

If multiple products have even match scores, you can sort these by different criteria such as their price, alphabetical order or randomly.

Answer Weights

Using Answer Weights, you can assign varying levels of importance to specific answers within your quiz, ensuring the results are even more tailored to your customer's needs.

By default, every answer in your quiz has a weight of 100.

You can adjust this weight up to 10,000, giving particular answers more influence over the final product recommendations.

The higher the weight you assign to a particular answer, the more it boosts the likelihood of the products linked to that answer being displayed.

Linking Products

To build the quiz logic all you need to do is add products in the Results Page inside the quiz flow editor.

Each answer you’ve given will come with two sections: Matched Results and Excluded Products

In most cases, you’ll only need to add matched results. Excused products are for very specific scenarios where you absolutely do not want certain products to be included in the results if a specific answer is selected. Being excluded from certain answers won’t affect the product’s final match score.

For each answer you can link products, specific variants of products or dynamically link entire collections.

To link products, start off by clicking the Link Products button. You can filter these by their names by typing inside the search bar or by their tags. To filter using tags, enter the following in the search bar tag:xyz where 'xyz' is the actual tag applied to your products.

The process for linking variants is exactly the same, simply click the Link Variants button instead.

Linking Collections will allow you to link all products inside a specific collection directly to your quiz. Similarly, you can exclude entire collections from specific answers by linking them under the Excluded Products section of each answer.

Please note: when linking collections, result matching is done at the product level, not at variant level.

Once a collection is linked, you can use our resync functionality to make sure that you keep it up to date whenever you add new products to your store or make changes to existing products

Excluded Products

Excluded products become useful in scenarios where if a particular answer is selected, then certain products or specific variants should absolutely not be included in the final results.

A useful example to think about are nutritional supplements and allergies. A supplement could be perfect for a customer's needs, however if it includes an ingredient that person is allergic to, then you absolutely do not want it to show up in your final results.

If you exclude a product ( or a specific variant) from an answer, and that answer is selected when taking the quiz, the excluded product (or variant) will not be included in the results regardless of the match score it accrued throughout the quiz.

Similarly, you can exclude entire collections from specific answers by linking them under the Excluded Products section of each answer.

To make it easier to exclude large numbers of products all at once without having to manually link hem we've introduced an Exclude all other option.

This will Exclude All Other Products, Variants & Collections (except the ones which are a positive match for this question).

An example where this option might be useful is if you have specific products for various age ranges. Instead of manually linking all the other products in your store that are not a match for the age range, you can use Exclude all other to automate the process and do it in one click.

Being excluded from a specific answers doesn't exclude a product from the quiz entirely. It can be set as a matched result to any other answers in your quiz.

For anyone taking the quiz and not selected the specific answer its excluded from, the product will still be included in the results based on its match score.

Match All Feature

A lot of our users use quizzes for data gathering purposes, meaning that there will be questions where the answer selected does not impact the products recommended.

An example of this is a question where we might ask customers if they're shopping for themselves or for someone else. The answer does not influence the recommendation in any way, the purpose of the question is data gathering.

In this instance all of the products and variants in the store are a match for any of the answers chosen and we've introduced the Match all function in order to allow you to quickly and easily link all products and all variants in your store without needing to manually select them.

This functionality allows you to focus on linking key products to key questions by ensuring that each one of your results gains a match score point for data gathering questions.

The recommended product's final score is not impacted by it not being linked to a non-essential, data gathering question.

Need support?

Contact us

Video tutorials on


Sign up for product updates

You can unsubscribe at any time.