Skip to main content
Export Microsoft Clarity dashboard data (Data Export API) for the last 1 to 3 days: sessions, users, engagement time, scroll depth, dead, rage and quick-back clicks and script errors, by up to 3 dimensions such as device, country, source or URL. Clarity allows only 10 of these requests per project per day; for any other date range use microsoft_clarity_query_analytics_dashboard.

Inputs

Output

Type: Dict Returns rows and metadata. Each row has metric plus the requested dimension columns (Browser, Device, Country, OS, Source, Medium, Campaign, Channel, Url) and that metric’s values: Traffic has totalSessionCount, totalBotSessionCount, distinctUserCount, pagesPerSessionPercentage; EngagementTime has totalTime, activeTime (seconds); ScrollDepth has averageScrollDepth; the click and error metrics have sessionsCount, sessionsWithMetricPercentage, sessionsWithoutMetricPercentage, pagesViews, subTotal; top lists have name and sessionsCount (PopularPages: url, visitsCount). metadata.truncated_metrics names metrics Clarity cut at 1,000 rows, with metadata.warning. Fields: rows, metadata