---
title: "Preview a web experiment"
slug: "preview-a-web-experiment"
abstract: "Describes how to test and preview a web experiment on your organization’s website."
---
# Preview a web experiment

Sitecore Personalize enables you to test and preview a web experiment to see how it will display on your organization’s website.

You can choose to preview the web experiment using your own credentials or you can select a different guest to apply their credentials. Selecting a guest other than yourself is especially useful if the variant is targeted at a segment of guests. You might not be a member of the targeted segment, so the variant will not launch for you until you apply another guest's credentials.

> [!note]
> The web experiment is only visible to you. To share the preview URL with a colleague or anyone else, click **Copy preview URL** ![copy_preview_url.png](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/copy_preview_url.png) on the banner of the QA Tool. The URL of the preview is copied to your clipboard. Paste the URL into email messages, work chat groups, and so on to gather feedback from colleagues and stakeholders.

To preview a web experiment:

1. On the experiment builder, click **Preview**.
2. In the **Website URL** field, enter the URL where the web experiment is targeted to display, for example, `https://www.yourwebsite.com/booking`.

    > [!note]
    > If you configured the experiment to target a page and used the equals operator, you must manually remove any query parameters appended to the URL for the preview to display.

3. To preview the web experiment as a different guest instead of using your own attributes, click **Impersonate a guest**.
4. In the **Select guest to impersonate** field, enter the guest's email address, guest reference, or browser ID and select the guest from the results.

    If you applied audience targeting to the variant, you must select a guest with the required guest attributes to run the experiment.

5. Click **Preview**. The page URL you entered previously opens in your default browser.

    ![Previewing on your website](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/collapsedqatool.png)

6. Click the **QA icon** to open the QA Tool.

    The QA Tool is represented by the QA icon on the left side. A green checkmark indicates the web experiment preview is error-free. A yellow wrench icon indicates the [web experiment needs troubleshooting](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/introduction-to-experiments-in-sitecore-personalize/introduction-to-web-experiments-in-sitecore-personalize/preview-a-web-experiment/troubleshooting-web-experiments.html "Troubleshooting web experiments").

    You can also [preview other variants and experiments](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/introduction-to-experiments-in-sitecore-personalize/introduction-to-web-experiments-in-sitecore-personalize/preview-a-web-experiment/preview-other-variants-and-web-experiments.html "Preview other variants and web experiments"). To preview the variant using another guest's attributes:

    - Click **Run as a specific guest** ![run_as_guest.png](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/run_as_guest.png) on the banner of the QA Tool.
    - Turn on the  **Run as Guest** switch.
    - In the **Guest Reference** field, enter the guest reference.
    - Click **Reload**. The QA Tool tests and previews the variant based on the attributes of the entered guest reference.
7. To view the JSON response, turn on the switch on the **API Response** status block. The JSON response displays.
8. To reset any QA Tool settings, such as the guest reference you entered, click **Reset**.