跳到正文
Skillpedia
分析与电子表格77k · #2246

Microsoft Clarity Automation

它能做什么

这个工具可以帮你下载 Microsoft Clarity 中的用户行为分析数据。你可以按浏览器、设备、国家等类别细分,了解用户在你的网站上是如何互动的。

适用场景

  • ✓当你想了解用户最常使用哪些浏览器时。
  • ✓当你想了解访客来自哪里(国家、流量来源)时。
  • ✓当你想对比移动端用户和桌面端用户在网站上的互动情况时。

技能链接

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/microsoft-clarity-automation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/microsoft-clarity-automation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我导出过去 2 天的 Clarity 数据,按设备和国家细分。”

每周 5 个新技能,1 分钟读完。

工作原理

你需要先连接你的 Microsoft Clarity 账号。然后,你让 AI 导出数据,并说明要分析的天数以及想要的分类(比如设备或国家)。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Microsoft Clarity Automation

Export 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.

Toolkit docs: composio.dev/toolkits/microsoft_clarity


Setup

  1. Add the Composio MCP server to your configuration:
    https://rube.app/mcp
    
  2. Connect your Microsoft Clarity account when prompted. The agent will provide an authentication link.
  3. Ensure your Clarity project has sufficient data collection enabled for the dimensions you want to analyze.

Core Workflows

1. Export Recent Analytics Data

Export Clarity analytics data for the last 1-3 days, segmented by up to three dimensions simultaneously.

Tool: MICROSOFT_CLARITY_DATA_EXPORT

Key parameters:

  • numOfDays (required) -- number of days to export: 1 (last 24h), 2 (last 48h), or 3 (last 72h)
  • dimension1 -- first breakdown dimension
  • dimension2 -- second breakdown dimension (optional)
  • dimension3 -- third breakdown dimension (optional)

Available dimensions:

  • Browser -- Chrome, Firefox, Safari, Edge, etc.
  • Device -- Desktop, Mobile, Tablet
  • Country/Region -- geographic location of users
  • OS -- Windows, macOS, iOS, Android, etc.
  • Source -- traffic source (e.g., google, direct, referral)
  • Medium -- traffic medium (organic, cpc, referral, etc.)
  • Campaign -- marketing campaign name
  • Channel -- traffic channel grouping
  • URL -- specific page URLs

Example prompt: "Export Clarity data for the last 24 hours broken down by Device and Country/Region"


2. Device Performance Analysis

Analyze how user behavior differs across device types to optimize responsive design.

Tool: MICROSOFT_CLARITY_DATA_EXPORT

Configuration: numOfDays: 3, dimension1: "Device", dimension2: "Browser"

Example prompt: "Show me Clarity metrics for the last 3 days by Device and Browser"


3. Traffic Source Breakdown

Understand which traffic sources drive the most engaged users.

Tool: MICROSOFT_CLARITY_DATA_EXPORT

Configuration: numOfDays: 2, dimension1: "Source", dimension2: "Medium"

Example prompt: "Export Clarity data for the last 48 hours broken down by Source and Medium"


4. Geographic User Behavior

Analyze user engagement patterns across different countries and regions.

Tool: MICROSOFT_CLARITY_DATA_EXPORT

Configuration: numOfDays: 3, dimension1: "Country/Region", dimension2: "Device"

Example prompt: "Get Clarity data for the last 72 hours segmented by Country/Region and Device type"


5. Page-Level Performance

Examine which specific URLs have the highest or lowest engagement metrics.

Tool: MICROSOFT_CLARITY_DATA_EXPORT

Configuration: numOfDays: 1, dimension1: "URL", dimension2: "Device"

Example prompt: "Export yesterday's Clarity data broken down by URL and Device"


6. Campaign Attribution Analysis

Evaluate marketing campaign effectiveness through user behavior metrics.

Tool: MICROSOFT_CLARITY_DATA_EXPORT

Configuration: numOfDays: 3, dimension1: "Campaign", dimension2: "Channel", dimension3: "Device"

Example prompt: "Show Clarity engagement data for the last 3 days by Campaign, Channel, and Device"


Known Pitfalls

  • 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.
  • Dimension name exact match: Dimension values must match exactly as listed (e.g., Country/Region not country or region). Case and slashes matter.
  • Maximum three dimensions: You can segment by up to three dimensions per export. For more complex analysis, run multiple exports with different dimension combinations.
  • Data availability lag: Clarity data may have a short processing delay. Very recent sessions (last few minutes) may not appear in exports.
  • 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.

…

常见问题

我能查看 3 天以前的数据吗?

不能。这个工具只能下载最近 1、2 或 3 天的数据。

我可以同时按多个类别细分数据吗?

可以,每次最多可以按三个类别(维度)细分数据。

我需要在网站上安装什么吗?

不需要。你只需要连接 Microsoft Clarity 账号,工具会直接从那里获取数据。

详情

作者的原始描述

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.

repo: ComposioHQ/awesome-claude-skills

热度

GitHub 星标
77k
排名
#2246
许可证
—
更新时间
2026/9/18

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能