Skip to content

Dataset

Microsoft Clarity session behavior datasets for AI training

A Microsoft Clarity dataset is the behavior data from one site owner's Clarity project: click, scroll and area heatmap tables per page and device type, dashboard metrics, and counts of the signals Clarity assigns to sessions, such as rage clicks, dead clicks, quick backs and excessive scrolling, with session-level interaction events where the site captures them itself. SourceX sources it to a buyer's spec from established businesses that run Clarity. Because Clarity keeps little history, a request is generally framed as collection from an agreed start date. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Heatmap tables, dashboard metrics and frustration-signal counts from one Clarity project, with captured session events where agreed
Typical systems
Microsoft Clarity for websites, with recordings, heatmaps, funnels, smart events and the Data Export API; the Clarity mobile SDK where an app is in scope
Typical history
Short; recordings expire after weeks, heatmap data after months, and the export API covers the last one to three days, so collection generally runs forward from an agreed start date
Modality
Daily metric rows by dimension, heatmap rows per element and device type, and, where captured, session event sequences with element targets
Delivery formats
Agreed per order; metric pulls as JSON, heatmap downloads as CSV, captured session events as JSONL
Preparation
URLs templated and query strings removed; custom tag values and unmasked page text screened; visitor and session IDs rekeyed in captured streams
Licensing
Rights reviewed per site owner, including the notice visitors were given; permitted use set in the license
Availability
Sourced to your spec from site owners that agree; supply is not guaranteed and back history is rare
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
project_refstringPseudonymous key for the Clarity Project, one tracked site or app with its own masking mode and settings.
pagestringThe URL the row describes, from the Data Export API's URL dimension or the Heatmap's page, with IDs templated and query strings removed.
periodobjectThe UTC day or days a metric pull covers, or the date range a Heatmap was downloaded for.
dimensionsobjectUp to three Data Export API dimensions on the row, from Browser, Device, Country/Region, OS, Source, Medium, Campaign, Channel and URL.
trafficobjectThe Traffic Dashboard Metric: session count, bot session count, distinct users and pages per session.
engagementobjectThe Scroll Depth and Engagement Time Dashboard Metrics for the same period and dimensions.
insight_signalsobjectAggregate counts of Clarity's session labels for the period and dimensions: Dead Click, Rage Click, Quick Back and Excessive Scrolling, with script errors and error clicks.
heatmap_viewobjectWhich Heatmap a download came from: click, scroll or area, the device type, the clicks shown, such as dead clicks, and any filter applied.
heatmap_rowsarrayRows of the Heatmap's CSV download with those filters applied, such as an element and its click count on a click map.
smart_eventsarrayThe project's Smart Events, such as purchase or submit form, each marked as detected by Clarity or created by the owner in settings.
custom_tagsobjectCustom Tag keys the site sends through Clarity's set call, with values screened for account details.
session_captureobjectWhere the site captures sessions itself with the open-source clarity-js library, a pointer to decoded page visits and interaction events, which carry no Clarity labels.
captureobjectHow the row was obtained and from what date, with the project's masking mode and bot detection setting.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "project_ref": "clr_proj_7c2e",
  "page": "/cart",
  "period": {
    "day": "2026-03-11",
    "timezone": "UTC"
  },
  "dimensions": {
    "URL": "/cart",
    "Device": "Mobile",
    "OS": "Android"
  },
  "traffic": {
    "sessions": 1284,
    "bot_sessions": 97,
    "distinct_users": 1102,
    "pages_per_session": 2.31
  },
  "engagement": {
    "scroll_depth_pct": 61.4,
    "engagement_time_s": 48
  },
  "insight_signals": {
    "dead_click_count": 31,
    "rage_click_count": 6,
    "quickback_click": 9,
    "excessive_scroll": 2,
    "script_error_count": 4,
    "error_click_count": 1
  },
  "heatmap_view": {
    "type": "click",
    "clicks_shown": "dead clicks",
    "device": "Mobile",
    "date_range": "2026-03-01 to 2026-03-11",
    "filters": {
      "custom_tag": {
        "theme_version": "v14"
      }
    }
  },
  "heatmap_rows": [
    {
      "element": "div.shipping-estimate > span",
      "clicks": 83,
      "share_pct": 39.2
    },
    {
      "element": "button.qty-step.plus",
      "clicks": 41,
      "share_pct": 19.3
    }
  ],
  "smart_events": [
    {
      "name": "Add to cart",
      "source": "auto"
    }
  ],
  "custom_tags": {
    "theme_version": "v14"
  },
  "session_capture": null,
  "capture": {
    "methods": [
      "data_export_api",
      "heatmap_csv"
    ],
    "masking_mode": "balanced",
    "bot_detection": true,
    "collected_from": "2026-03-01"
  }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Locate where an interface fails

Dead click and rage click heatmap rows name the page and the element, giving candidate defects to rank.

Train front-end repair agents

A dead click hotspot on a named selector, beside script error counts for the same URL, is a bug report with evidence to pair with a fix.

Predict clicks and scroll from a page

Heatmap rows per element and device type are targets for models that estimate attention from page structure.

Model browsing on small sites

A captured stream of ordered page visits, clicks and scrolls shows how visitors move through small shops and service sites.

Evaluate usability review

Give a model the page and its all-clicks rows, hold back the dead click and rage click rows, and score which elements it flags.

Use-case guides: Coding agents, Private evaluation sets, Enterprise and computer-use agents

What makes this data valuable

Masking mode on record

The project's mode and every unmask override are stated for the whole collection window.

Unbroken daily pulls

Metric pulls ran every day, since the export API reaches back three days at most.

Custom tags in use

The site sends its own facts, such as plan or theme version, which Clarity cannot infer.

Outcome smart events

Purchase, sign-up or form events were set up and checked against the site's own counts.

Bots and staff excluded

Bot detection is on and office IP addresses are blocked in the project settings.

Release dates noted

Site changes are dated, so selectors are compared within one version of a page.

System export

Microsoft Clarity dataset

This page covers microsoft Clarity session behavior records.Illustrative

A free tool that labels frustration on every session

Clarity is free, with no paid tier, no traffic limit and no sampling, so it also runs on sites that never had an analytics budget: small shops, local service firms and niche software products, often installed through a WordPress, Shopify or Wix integration. Many of those sites are small, with no data team or tracking plan behind them, which gives a lab breadth across ordinary interfaces and little depth on any one.

A project is one site. Clarity's script sends the page's structure and what the visitor did, and a session is a run of page visits by one browser, identified by a first-party cookie. Clarity's service then applies its own rules to every session and marks rage clicks (repeated clicks in a clustered area within a short period), dead clicks (a click with no detected response), quick backs (returning from a page almost at once) and excessive scrolling. The site owner does not write these rules, so a label is applied the same way on every project, though Microsoft can revise a rule. The labels are assigned on Microsoft's side: the open-source capture library sends clicks and scrolls, not verdicts.

The labels are weak ones: a dead click on body text is often someone selecting a phrase to copy, and fast clicks on a quantity stepper are normal use. Clarity also holds no order table: a purchase exists only as a smart event that Clarity detected or the owner created. Heatmaps are aggregates per page and device type with no visitor rows, built from CSS selectors over one sampled playback of the page, so a menu that opens on hover is not covered. Custom tags are the one place the site adds its own facts, such as a plan or an experiment variant.

The export returns recent aggregates, so data is collected forward

A site that installed Clarity years ago does not hold years of sessions. Microsoft's documentation gives recordings 30 days, with a longer life, counted in months, for favorites, for a sample Clarity selects and for heatmap data, and it says a recording cannot be downloaded. The Data Export API, which a project admin enables with a token, returns dashboard metrics for the last one to three days only, broken down by at most three dimensions from a fixed list that includes browser, device, country, source, campaign and URL. Calls per project per day and rows per response are capped, with no paging. It returns a count of each signal but no session, recording or interaction event.

Three things leave a project, at three grains. Daily API pulls, saved up, become a metric history by page and device. Heatmaps download as CSV with the current filters applied, which is how dead clicks and rage clicks reach element level. Session-level events come only from the site running the open-source clarity-js library and its decoder against a server of its own, a separate pipeline whose stream lacks Clarity's labels. The buyer and the site owner should read each method against Microsoft's terms for Clarity, with counsel, before collection starts.

Test a sample for what masking left behind. Clarity masks page text according to the project's mode, strict, balanced or relaxed, and per element where the site set a mask or unmask attribute. Input boxes are masked in every mode, and query-string parameters only where the owner asked Clarity support to mask them. Read element labels in heatmap rows, URLs with tokens, custom tag values, and any custom ID passed through the identify call. Ask how visitors who declined cookies appear, since without its cookie Clarity treats each page view as a separate session.

What to check before licensing

  • Have the buyer's counsel and the site owner read Microsoft's terms for Clarity and its API as they apply to extracting behavior data and reusing it outside Clarity.
  • Ask which masking mode the project ran in for the whole collection window, strict, balanced or relaxed, and which elements the site unmasked by attribute.
  • Read a sample of element labels, URLs and custom tag values for names, email addresses, order numbers and tokens, starting with checkout and account pages.
  • Ask for the privacy notice and consent banner in force during collection, and have counsel confirm visitors were told of recording.
  • Ask how each record was obtained, by API pull, heatmap download or first-party capture, and get the pull log so gaps show.
  • Where a captured stream is in scope, check that Clarity user IDs and custom IDs from the identify call were rekeyed, and that one visitor keeps one key across sessions.
  • Ask whether bot detection was on and internal IP addresses were blocked, and for the dates of site redesigns that change what a selector points to.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

What does a Microsoft Clarity dataset contain?

It contains one site's behavior data in the forms Clarity lets out: daily dashboard metrics by dimension, counts of rage clicks, dead clicks, quick backs and excessive scrolling, and heatmap tables per page and device type. Session-level interaction events are included only where the site captured them itself. It does not contain orders or customer records, which Clarity never held.

Can past Clarity sessions be licensed?

Generally no. Microsoft's documentation says recordings are kept for 30 days, longer for favorites, and cannot be downloaded, and the export API returns only the last one to three days of aggregated metrics. Heatmap data lasts longer. A request is usually framed as collection from an agreed start date, and a match is not guaranteed.

How reliable are the rage click and dead click labels?

They are useful weak labels, not ground truth. Clarity applies its own rules on every project, so the labels are consistent across sites, but a dead click can be a text selection and fast repeated clicks can be normal use. Treat a count as a pointer to a page and an element worth inspecting.

Does Clarity's export include session-level data?

No. The Data Export API returns dashboard metrics such as traffic, scroll depth and counts of rage and dead clicks for the last one to three days, broken down by up to three dimensions. Sessions, recordings and interaction events are not in it. Session-level rows have to come from a first-party capture the site owner runs, agreed in advance.

How is personal data in recordings handled?

Two layers apply, and the buyer should check both. Clarity masks text at capture according to the project's masking mode, and URLs, custom tag values and any captured identifiers are rekeyed or screened before delivery. Masking can be relaxed or overridden per element, so review account and checkout pages in a sample. No de-identification method is perfect.

Is SourceX affiliated with Microsoft?

Microsoft Clarity is named to identify the system the records come from. That does not imply a partnership with or endorsement by Microsoft. The records belong to the business that runs Microsoft Clarity, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies