---
title: Using MVT testing - example
related:
  - https://docs.kentico.com/k12sp/on-line-marketing-features/managing-your-on-line-marketing-features/optimization-testing/multivariate-testing/creating-mvt-tests.md
  - https://docs.kentico.com/k12sp/on-line-marketing-features/managing-your-on-line-marketing-features/optimization-testing/multivariate-testing/analyzing-mvt-test-results.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

> **Info:** **Kentico EMS required**
>
> Features described on this page require the **Kentico EMS** license.

The example on this page demonstrates the functionality of the sample [multivariate test](https://docs.kentico.com/k12sp/on-line-marketing-features/managing-your-on-line-marketing-features/optimization-testing/multivariate-testing.md) included on the Corporate Site and shows how you can expand the test by adding another variant.

## Adding a testing variant

1. Open the **Pages** application and select the **MVT test** page in the page tree, under **Examples -> On‑line marketing -> Optimization**.
   - This page already has a pre‑defined MVT test.
   - The page is composed of a header, content text and a link at the bottom.
2. Switch to the **Design** tab.

   > **Info:** Users with the **[Design website](https://docs.kentico.com/k12sp/managing-users/configuring-permissions/configuring-design-permissions.md)** permission for the **Design** module can manage web parts on a page's **Design** tab. 

   - You can see that there are three versions of the **Editable text** web part that displays the link (the original and two MVT variants).
   - Each link variant uses a different background color.
   - The goal of the test is to find out which variant gets more link clicks from visitors.

   ![Different web part variants](https://docs.kentico.com/docsassets/k12sp/using-mvt-testing-example/sample_webpart_variants.png "Different web part variants")

> **Tip:** **Using the slider for switching between variants**
>
> Try switching between the content of individual variants using the slider in the web part's header. Also, notice the combination panel at the top of the page. It shows which combination of variants is currently being viewed and may also be used to switch between individual combinations or configure their behavior. Since the default test page only contains variants of a single web part, each "combination" represents the same page with a different link color.

3. Open the **HeaderText** web part's menu (), hover over the **MVT variants** option in the context menu and select **Add web part variant**.

   ![Adding new web part variant](https://docs.kentico.com/docsassets/k12sp/using-mvt-testing-example/adding_new_webpart_variant.png "Adding new web part variant")
4. Enter the following values for the variant's properties:

   - **Display name**: Header text - Red
   - **Enabled**: Yes (leave it selected)
5. Click **Save & Close**.
   - A configuration dialog appears for the **Editable text** web part used to display the page's header.
6. Type _Red link header variant_ into the **Web part title** property.
   - Setting an appropriate title allows you to identify which variant you are working with on the Design tab straight from the description in the web part header.
7. Click **Save & Close**.
   - There are now two different variants of the page's header text, which doubles the number of possible content combinations.
8. Switch to the **Page** tab and select one of the new combinations that contains the _Header text - Red_ variant.
9. Type the following text into the empty editable region at the top of the page: _MVT Test - Red Download Link_.
10. Click **Save**.
11. Select the fourth combination using the panel and unselect the **Enabled** check box next to the drop‑down list. Repeat this also for the sixth combination.

This ensures that versions of the page where the new "red" header is combined with a blue or green link will not be included in the MVT test, which leaves only four active combinations: all of the variants with the original header and a new combination that contains the red link together with the second header.

![Disabling variant combinations](https://docs.kentico.com/docsassets/k12sp/using-mvt-testing-example/disabling_variant_combinations.png "Disabling variant combinations")

## Enabling the sample multivariate test

The testing combinations are now prepared and you can start the MVT test.

1. In the **Pages** application, switch to the **Analytics -> MVT tests** tab of the page.
2. **Edit** () the **Sample MVT Test**.
3. Check the **Enabled** box on the **General** tab.
4. Click **Save**.

## Live testing

View the tested page on the live site:

1. Sign out of Kentico.
2. On the live site, navigate to **On‑line marketing -> Optimization -> MVT test**.
   - When you view the page, the system randomly selects and displays one of the possible combinations.
3. Click the **Download here** link.

   - The system logs a conversion for the given combination on the sample **Conversion page**.
   - If you return to the MVT test page, the same combination that was assigned during the first visit is always displayed.
4. Open the testing page in a different browser.

Again, the page automatically chooses and displays one of the combinations. Please note that it may be the same combination as before, since the selection process is entirely random. You can simulate visits from multiple users by clearing the cookies from your browser between views of the tested page. Try to use this approach to log several conversions for each combination.

See [Analyzing MVT test results](https://docs.kentico.com/k12sp/on-line-marketing-features/managing-your-on-line-marketing-features/optimization-testing/multivariate-testing/analyzing-mvt-test-results.md) to learn how to view the results measured for the sample test.
