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

# Query Analytics Dashboard

> Query the Microsoft Clarity analytics dashboard with one plain-language question, for any date range: top pages, traffic sources, devices, countries, smart events, rage and dead clicks, JavaScript ...

Query the Microsoft Clarity analytics dashboard with one plain-language question, for any date range: top pages, traffic sources, devices, countries, smart events, rage and dead clicks, JavaScript errors or Core Web Vitals. Clarity turns the question into a query and returns the rows. Ask for one metric per question and always state the time range.

| | |
| - | - |
| **App** | Microsoft Clarity |
| **Operation ID** | `microsoft_clarity_query_analytics_dashboard` |
| **Type** | Action |
| **Connection** | `microsoft_clarity` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `query` | string | Yes | - | One plain-language question about the project's sessions, answered by Clarity. Ask for a single metric or ranking and always state the time range; add the device, country, channel or full page URL when it matters. Covers users and sessions, pages, referrers, sources and campaigns, devices, browsers and countries, smart events, scroll depth, dead, rage and quick-back clicks, JavaScript errors and Core Web Vitals. Examples: 'Top 10 pages by sessions for mobile in the last 30 days', 'Sessions with rage clicks by device last week', 'Top JavaScript errors on `https://example.com/checkout` in the last 7 days'. Split anything broader into separate questions. |
| `timezone` | string | No | `UTC` | IANA timezone used to read dates and relative periods, e.g. 'Europe/London' or 'America/New\_York'. Defaults to UTC. |

## Output

**Type**: `Dict`

Returns interpreted\_query (how Clarity understood the question, including the exact dates it used; check it matches the intent) and rows (the result, with columns that depend on the question).

**Fields**: `interpreted_query`, `rows`


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