# Preview

There are several options for previewing your survey:

## In-Console Preview

Click on the <img src="https://563760996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkJBdddbwa2Hgh4yTRC5g%2Fuploads%2FmidbBrge3T9pcrDoTPeI%2Fimage.png?alt=media&#x26;token=e9a264b3-71c2-498a-b5a4-7148c3752fc4" alt="" data-size="line">button in the bottom left to view your survey within the console editor.

This is a good preview option to use as you are making survey edits and want to quickly reference how your survey looks and flows.

## Live Preview

This is a more "true" preview as it renders the survey on your website and you fan see how it looks amongst the environment of the whole page.&#x20;

While in Live Preview mode, the survey displays surveys with a status of “Draft” for your browser, but other live users on your site will not be able to see the survey while in Draft mode.&#x20;

In Live Preview Mode, answers are not stored in your reporting, so you don’t need to manually remove any test responses. Non-production data is not sent to your other systems because custom data callback code does not execute in Live Preview mode.&#x20;

To view a survey in Live preview mode, two requirements must be met:

1. The Pulse Insights code snippet must be present on the page.
2. The survey in question must be configured to display on that page. The survey’s URL targeting must include the page that is being tested.

### From the Editor:

You can access Live Preview in our Console by clicking the <img src="https://563760996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkJBdddbwa2Hgh4yTRC5g%2Fuploads%2FanoaxeuY5ewtUMfUX0XV%2Fimage.png?alt=media&#x26;token=0d5db6ab-7977-4c1b-922c-b33f7b892172" alt="" data-size="line">button in the bottom left of the editor.

Upon clicking Live Preview button, you’ll be asked for the URL you’d like to view. Click "Preview" and the URL you entered will open in a new tab and display the survey.

<figure><img src="https://563760996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkJBdddbwa2Hgh4yTRC5g%2Fuploads%2Fl3vyjoSFT0P8w5gM1A6x%2Fimage.png?alt=media&#x26;token=15c5a95c-3d8a-4508-88e3-b356f69bdb51" alt=""><figcaption></figcaption></figure>

### From Your Website&#x20;

You can also turn Live Preview mode on by appending *?pi\_live\_preview=true* to any URL that contains the Pulse Insights code snippet.

You can turn off Live Preview Mode by appending *?pi\_live\_preview=false* to the URL.

{% hint style="info" %}
Your browser will remain in live preview mode until the browser is closed. We recommend previewing in an incognito window.
{% endhint %}

<br>


---

# 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://docs.pulseinsights.com/configuring-pulse-insights-console/editor/preview.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.
