> For the complete documentation index, see [llms.txt](https://docs.optibase.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.optibase.io/features/tests/preview-variants.md).

# Preview Variants

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

<figure><img src="/files/I14uuvShb81q5unTvOhk" alt=""><figcaption></figcaption></figure>

Before making a test live, you can preview each variant to make sure everything looks and works as expected. This is especially useful for double-checking layout, content, and interactions in Webflow.

***

### How to preview a variant

1. Open the Optibase Web App
2. Navigate to the Test that contains the variant you want to preview
3. Click the Preview/Force Icon next to the variant
4. A modal will appear with a preview URL
   * Input the base URL of your website (where the test runs)
   * Click Copy to copy the full preview URL
5. Open the link in a browser to view the variant live

> The preview URL includes a special optibaseVariants search param that forces Optibase to load the specific variant.

***

### Example preview URL

```
https://example.com?optibaseVariants=hero_headline:variant_b
```

You can also preview multiple variants from different tests by chaining them:

```
https://example.com?optibaseVariants=hero_headline:variant_b;cta_button:variant_a
```

***

### Notes

* Previewing does not affect your test data — no page views or conversions are tracked
* You can share preview URLs with clients or teammates for feedback
* If nothing changes on the page, double-check that the variant is connected properly


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.optibase.io/features/tests/preview-variants.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
