# Result weight logic

The Result weight logic type recommends products based on their frequency of being chosen as an answer.&#x20;

Instead of opting for answer paths, you directly link answers with results on the question creation page. When an answer is chosen, the logic assigns additional points to that result.

At the end of the quiz, the product with the highest point accumulation is recommended. Each answer can only be associated with a single result.

## In this section

* [Changing the results logic type](#changing-the-results-logic-type)
* [Setting up Result weight logic](#setting-up-result-weight-logic)
  * [Step 1: Setting up a result outcome](#step-1-setting-up-a-result-outcome)
  * [Step 2: Associating answers with results](#step-2-associating-answers-with-results)
  * [Tiebreaker](#tiebreaker)
* [Result outcome types](#choosing-a-result-outcome-type)

***

## Changing the results logic type

You can adjust the results logic on any quiz that has been created with a blank template.&#x20;

**Steps:**

1. From the quiz builder, click **Settings.**
2. Click **Recommendations**.&#x20;
3. Under **Results Logic**, click the drop-down menu for logic options, and click **Result weight.**&#x20;
4. Click **Save**.

***

## Setting up Result weight logic

Before you start, it's helpful to understand the [result outcome types](#choosing-a-result-outcome-type) that you can choose for the results page.

### Step 1: Setting up a result outcome

1. From the quiz builder menu, click the **Results** tab.
2. From the left-hand menu, click **Add result**, and give the result a name under **Result name** on the right-hand menu.
3. Click **Outcome**, and from the right-hand menu, select an [outcome type ](#choosing-a-result-outcome-type)for this result path.
4. Select the results that you want displayed for this path.
5. Click **Save**.

### Step 2: Associating answers with results

1. From the quiz builder menu, click the **Quiz** tab.
2. Click the question, then the answer that you want to edit.
3. On the right-hand menu, under **Result**, click **Select Result**.
4. Click **Select** beside the result that you want this answer to be associated with. If a customer selects this answer, then it will give points to this result.
5. Repeat steps 2-4 for all of your answers.
6. Click **Save**.

### Tiebreaker

At the end of the quiz, if there is a tie where multiple results receive the same number of points, then the recommendation defaults to the first result configured in your quiz.&#x20;

This result is the one at the top of your results list, or with the ID `01` in the **Select result** menu.

{% embed url="<https://www.youtube.com/watch?v=_MyqFqrieAQ>" %}

***

### Result outcome types <a href="#choosing-a-result-outcome-type" id="choosing-a-result-outcome-type"></a>

For a Result weight logic result, you can choose from several different outcome types. When you set up a new path, you need to set up the outcome type under the **Outcome** section.

* **Product:** Provide product suggestions tailored to your customers' responses.
* **Collection**: Provide a specific collection of products tailored to your customers' responses.
* **Tags:** Choose tag(s) to be assigned to your customer according to their responses.
* **Text:** Write a message to appear on the results page according to your customers' responses.
* **URL redirect**: Based on their responses, the customer will be redirected to [a specific URL](https://support.quizkitapp.com/analytics-and-optimization/analytics-and-tracking/quiz-analytics/url-redirect-analytics).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.quizkitapp.com/building-a-quiz/results/results-logic/result-weight-logic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
