> For the complete documentation index, see [llms.txt](https://docs.pulseinsights.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/supporting-inline-surveys.md).

# Supporting Inline surveys

An inline survey is a survey that looks and acts like part of the page. Users get frustrated with various popups as they browse, so inline surveys are a great way to capture feedback contextually in a way that doesn't feel like an interruption or afterthought.

Pulse Insights needs a Target CSS Selector (configured in Console) to insert inline surveys.&#x20;

The positioning of inline surveys is dictated by their **Target** (CSS selector), **Location** (Above/Inside/Below) and, if located inside the target, the **Order** with Target (First/Last).&#x20;

See more details in the [Formatting section](broken://pages/qjLxxvYTvRqypS9lANyU) of Console Configuration.

## Inline Survey FAQs

### Do I need to create a specific div to host inline surveys?

{% code title="Example:" %}

```html
<div id="pulse-survey"></div>
```

{% endcode %}

In most cases, **you** **don't** need to create an empty div. As long as there is a consistent CSS selector, that will suffice.&#x20;

There are two cases where it is helpful to have a dedicated div to host the surveys:

* the survey is targeted to show across multiple pages and not all pages contain the same CSS selector&#x20;
* the structure of the page changes (e.g. different page content for customers vs. prospects)


---

# 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.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/supporting-inline-surveys.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.
