# Cockpit Insights

Umbraco Engage includes a cockpit feature to help verify the tracking of analytics and understand personalization behavior. The cockpit adds a button to the front end, giving real-time insights:

![Umbraco Engage cockpit feature](https://1498851568-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeiQnEGdbGIoA0IQ3nJUK%2Fuploads%2Fgit-blob-b06404ee913b0dce4732c920e2ebd56dafdf0610%2Fengage-cockpit.png?alt=media)

Clicking the Open button provides detailed information:

![Detailed information displayed after clicking the Open button](https://1498851568-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeiQnEGdbGIoA0IQ3nJUK%2Fuploads%2Fgit-blob-3658ab7baaa66fd8bcf817cc495df394b7623d3d%2Fengage-cockpit-2.png?alt=media)

## Adding the Cockpit to Your Website

To add the cockpit to your website:

1. Render the HTML partial provided by Umbraco Engage.
2. The partial view is located at `/Views/Partials/Umbraco.Engage/Cockpit.cshtml`.
3. Insert the following code before the closing `</body>` tag:

   ```cs
   @Html.Partial("Umbraco.Engage/Cockpit")
   ```

The cockpit will only be rendered if the user is logged into Umbraco.


---

# 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.umbraco.com/umbraco-engage/marketers-and-editors/personalization/cockpit-insights.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.
