> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datasite.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Use heatmaps, error monitoring, and performance

> Configure Datasite heatmaps, inspect grouped browser errors, capture exceptions, and monitor Web Vitals from real website visits.

Datasite quality reports show how visitors interact with a page, which browser exceptions occur, and how real visits perform across core Web Vitals.

## Heatmaps

Heatmaps aggregate clicks or scroll depth for a URL and require the recorder script.

**1. Enable heatmaps**

Enable heatmaps in website setup and install the recorder snippet.

**2. Collect interaction data**

Wait for visits to collect clicks or scroll activity.

**3. Open the report**

Open **Reports → Heatmaps**, then select a page and heatmap type.

Responsive layouts and different viewport dimensions can place points differently from the screenshot background. Cross-origin iframe interactions are not part of the parent page's DOM heatmap.

## Browser errors

**Errors** groups similar browser exceptions into issues. Open an issue to inspect occurrences, message, stack, frames, tags, page, release, environment, browser, operating system, and device. Mark an issue resolved after deploying a fix. Later occurrences remain in its event history.

```js theme={null}
try {
  await submitOrder();
} catch (error) {
  await datasite.captureException(error, {
    tags: { area: 'checkout' },
  });
}
```

Error ingestion is rate-limited per website. Do not put tokens, passwords, or private form values in errors or tags.

## Web performance

```html theme={null}
<script defer src="https://app.datasite.sh/script.js"
  data-website-id="YOUR_WEBSITE_ID"
  data-performance="true"></script>
```

Datasite reports LCP, INP, CLS, FCP, and TTFB. Results reflect real visits that supplied the metric. Unsupported browsers or pages closed too quickly may not report every value.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.