Community研究&データ分析github.com

ComposioHQ/Microsoft-Clarity-Automation

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.

対応Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-codex-skills/tree/main/composio-skills/microsoft-clarity-automation

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

ドキュメント

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

Quick Reference

Tool SlugDescription
MICROSOFT_CLARITY_DATA_EXPORTExport analytics data with up to 3 dimensional breakdowns

Available Dimensions:

DimensionDescription
BrowserWeb browser (Chrome, Firefox, Safari, etc.)
DeviceDevice type (Desktop, Mobile, Tablet)
Country/RegionGeographic location
OSOperating system
SourceTraffic source
MediumTraffic medium
CampaignMarketing campaign
ChannelTraffic channel grouping
URLSpecific page URL

Powered by Composio

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ComposioHQ/-21risk-automation

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/-2chat-automation

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agent-deep-links

Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools. Use when users ask for clickable links (especially in Slack) that open threads, files, folders, or app settings.

関連スキル

xqy272/Litminer

Litminer 是一个面向 AI Agent 的科研文献信息获取 skill。它提供的是一层可复用、可追踪、可验证的文献发现和处理底座,让 Claude Code、Codex 等 Agent 不必只依赖通用 WebSearch/WebFetch 来处理科研检索任务。

community

affaan-m/social-graph-ranker

Weighted social-graph ranking for warm intro discovery, bridge scoring, and network gap analysis across X and LinkedIn. Use when the user wants the reusable graph-ranking engine itself, not the broader outreach or network-maintenance workflow layered on top of it.

community

benlidgey/bullet-journal

A generic, shareable Claude skill that records dated bullet journal entries with configurable storage and tags

community

kostja94/seo-strategy

When the user wants to plan SEO strategy, prioritize SEO work, or understand the SEO workflow. Also use when the user mentions "SEO strategy," "SEO plan," "SEO roadmap," "SEO priority," "SEO audit," "SEO workflow," "where to start SEO," "SEO approach," "organic growth strategy," "why SEO," "SEO value," or "search strategy." For technical/crawl audit execution, use seo-audit. For keyword research, use keyword-research. For AI search visibility, use generative-engine-optimization.

community

github/create-technical-spike

Create time-boxed technical spike documents for researching and resolving critical development decisions before implementation.

community

tayyabexe/skills

Provide standard AI/ML task definitions as portable skills for use with major coding agents like OpenAI Codex and Claude Code.

community