{"data":{"slug":"github-composiohq-awesome-claude-skills-composio-skills-microsoft-clarity-automation-11596d2a4fc9","title":"Export Microsoft Clarity Analytics Data","summary":"Export Microsoft Clarity user behavior analytics segmented by browser, device, country, and other dimensions using the Composio integration. The export covers data from the last 1 to 3 days and provides engagement metrics for analysis.","url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-microsoft-clarity-automation-11596d2a4fc9","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-composiohq-awesome-claude-skills-composio-skills-microsoft-clarity-automation-11596d2a4fc9","markdown_url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-microsoft-clarity-automation-11596d2a4fc9.md","download_url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-microsoft-clarity-automation-11596d2a4fc9\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure the Composio MCP server is added to your configuration with the URL `https:\/\/rube.app\/mcp` and that your Microsoft Clarity account is connected. Verify that your Clarity project has sufficient data collection enabled for the dimensions you want to analyze.","instructions":"---\nname: Microsoft Clarity Automation\ndescription: \"Automate user behavior analytics with Microsoft Clarity -- export heatmap data, session metrics, and engagement analytics segmented by browser, device, country, source, and more through the Composio Microsoft Clarity integration.\"\nrequires:\n  mcp:\n    - rube\n---\n\n# Microsoft Clarity Automation\n\nExport **Microsoft Clarity** user behavior analytics directly from Claude Code. Pull heatmap data, session metrics, and engagement insights segmented by multiple dimensions without leaving your terminal.\n\n**Toolkit docs:** [composio.dev\/toolkits\/microsoft_clarity](https:\/\/composio.dev\/toolkits\/microsoft_clarity)\n\n---\n\n## Setup\n\n1. Add the Composio MCP server to your configuration:\n   ```\n   https:\/\/rube.app\/mcp\n   ```\n2. Connect your Microsoft Clarity account when prompted. The agent will provide an authentication link.\n3. Ensure your Clarity project has sufficient data collection enabled for the dimensions you want to analyze.\n\n---\n\n## Core Workflows\n\n### 1. Export Recent Analytics Data\n\nExport Clarity analytics data for the last 1-3 days, segmented by up to three dimensions simultaneously.\n\n**Tool:** `MICROSOFT_CLARITY_DATA_EXPORT`\n\nKey parameters:\n- `numOfDays` (required) -- number of days to export: `1` (last 24h), `2` (last 48h), or `3` (last 72h)\n- `dimension1` -- first breakdown dimension\n- `dimension2` -- second breakdown dimension (optional)\n- `dimension3` -- third breakdown dimension (optional)\n\nAvailable dimensions:\n- `Browser` -- Chrome, Firefox, Safari, Edge, etc.\n- `Device` -- Desktop, Mobile, Tablet\n- `Country\/Region` -- geographic location of users\n- `OS` -- Windows, macOS, iOS, Android, etc.\n- `Source` -- traffic source (e.g., google, direct, referral)\n- `Medium` -- traffic medium (organic, cpc, referral, etc.)\n- `Campaign` -- marketing campaign name\n- `Channel` -- traffic channel grouping\n- `URL` -- specific page URLs\n\nExample prompt: *\"Export Clarity data for the last 24 hours broken down by Device and Country\/Region\"*\n\n---\n\n### 2. Device Performance Analysis\n\nAnalyze how user behavior differs across device types to optimize responsive design.\n\n**Tool:** `MICROSOFT_CLARITY_DATA_EXPORT`\n\nConfiguration: `numOfDays: 3`, `dimension1: \"Device\"`, `dimension2: \"Browser\"`\n\nExample prompt: *\"Show me Clarity metrics for the last 3 days by Device and Browser\"*\n\n---\n\n### 3. Traffic Source Breakdown\n\nUnderstand which traffic sources drive the most engaged users.\n\n**Tool:** `MICROSOFT_CLARITY_DATA_EXPORT`\n\nConfiguration: `numOfDays: 2`, `dimension1: \"Source\"`, `dimension2: \"Medium\"`\n\nExample prompt: *\"Export Clarity data for the last 48 hours broken down by Source and Medium\"*\n\n---\n\n### 4. Geographic User Behavior\n\nAnalyze user engagement patterns across different countries and regions.\n\n**Tool:** `MICROSOFT_CLARITY_DATA_EXPORT`\n\nConfiguration: `numOfDays: 3`, `dimension1: \"Country\/Region\"`, `dimension2: \"Device\"`\n\nExample prompt: *\"Get Clarity data for the last 72 hours segmented by Country\/Region and Device type\"*\n\n---\n\n### 5. Page-Level Performance\n\nExamine which specific URLs have the highest or lowest engagement metrics.\n\n**Tool:** `MICROSOFT_CLARITY_DATA_EXPORT`\n\nConfiguration: `numOfDays: 1`, `dimension1: \"URL\"`, `dimension2: \"Device\"`\n\nExample prompt: *\"Export yesterday's Clarity data broken down by URL and Device\"*\n\n---\n\n### 6. Campaign Attribution Analysis\n\nEvaluate marketing campaign effectiveness through user behavior metrics.\n\n**Tool:** `MICROSOFT_CLARITY_DATA_EXPORT`\n\nConfiguration: `numOfDays: 3`, `dimension1: \"Campaign\"`, `dimension2: \"Channel\"`, `dimension3: \"Device\"`\n\nExample prompt: *\"Show Clarity engagement data for the last 3 days by Campaign, Channel, and Device\"*\n\n---\n\n## Known Pitfalls\n\n- **Limited time window:** Data export is limited to the last 1, 2, or 3 days only. The `numOfDays` parameter only accepts values of 1, 2, or 3. For longer historical analysis, you need to run exports periodically and aggregate them externally.\n- **Dimension name exact match:** Dimension values must match exactly as listed (e.g., `Country\/Region` not `country` or `region`). Case and slashes matter.\n- **Maximum three dimensions:** You can segment by up to three dimensions per export. For more complex analysis, run multiple exports with different dimension combinations.\n- **Data availability lag:** Clarity data may have a short processing delay. Very recent sessions (last few minutes) may not appear in exports.\n- **Single tool limitation:** The Clarity integration currently offers only the data export tool. For heatmap visualizations and session recordings, use the Clarity web dashboard directly.\n- **Response size:** Exports with high-cardinality dimensions like `URL` combined with other dimensions can produce large response payloads. Consider narrowing your time window or using fewer dimensions.\n\n---\n\n## Quick Reference\n\n| Tool Slug | Description |\n|---|---|\n| `MICROSOFT_CLARITY_DATA_EXPORT` | Export analytics data with up to 3 dimensional breakdowns |\n\n**Available Dimensions:**\n\n| Dimension | Description |\n|---|---|\n| `Browser` | Web browser (Chrome, Firefox, Safari, etc.) |\n| `Device` | Device type (Desktop, Mobile, Tablet) |\n| `Country\/Region` | Geographic location |\n| `OS` | Operating system |\n| `Source` | Traffic source |\n| `Medium` | Traffic medium |\n| `Campaign` | Marketing campaign |\n| `Channel` | Traffic channel grouping |\n| `URL` | Specific page URL |\n\n---\n\n*Powered by [Composio](https:\/\/composio.dev)*\n","use_cases":["Export Clarity data for the last 24 hours broken down by Device and Country\/Region","Analyze user behavior across different device types","Understand which traffic sources drive the most engaged users","Examine user engagement patterns across countries and regions","Evaluate marketing campaign effectiveness through user behavior metrics"],"limitations":[],"compatibility":[],"setup_tip":"1. Add the Composio MCP server to your configuration:\n   ```\n   https:\/\/rube.app\/mcp\n   ```\n2. Connect your Microsoft Clarity account when prompted. The agent will provide an authentication link.\n3. Ensure your Clarity project has sufficient data collection enabled for the dimensions you want to analyze.\n\n---","sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/ComposioHQ\/awesome-claude-skills\/blob\/be2a406907dbc61b73e6827ded415c96139d13a2\/composio-skills\/microsoft-clarity-automation\/SKILL.md","source_commit":"be2a406907dbc61b73e6827ded415c96139d13a2","license":null,"version":null,"listing_approved_at":"2026-11-20","created_at":"2026-11-20T08:27:33.000000Z","updated_at":"2026-11-20T20:16:01.000000Z","seo_title":"Export Microsoft Clarity Analytics Data","seo_description":"Export segmented user behavior analytics from Microsoft Clarity with Composio. Analyze engagement metrics by browser, device, and country.","seo_keywords":["Export Microsoft Clarity data","Clarity analytics segmentation","User behavior analytics export","Microsoft Clarity data export","Clarity engagement metrics","User behavior segmentation"]}}