Why Are Some Clicks Missing in Microsoft Clarity Heatmaps?

kris master 0 Reputation points
2026-12-03T21:23:34.28+00:00

Hi everyone,

I'm using Microsoft Clarity to track visitor interactions on my website, but I've noticed that some clicks aren't showing up in the heatmaps.

Is this a tracking issue, or could it be related to website elements or JavaScript?

Has anyone experienced this? What's the best way to fix it and make sure Clarity records clicks accurately?

Thanks!
Kris.

Microsoft Partner Center | Other

1 answer

Sort by: Most helpful
  1. AI answer

    2026-12-03T21:24:29.4433333+00:00

    A missing heatmap marker does not always mean the click was untracked; first compare the affected session recording with the click map, then verify collection only if the recording also lacks the click.

    1. Determine whether the click was captured

    1. In Clarity → Heatmaps, open the exact affected URL.
    2. Select Click map → All clicks. Other views—such as Error clicks, Dead clicks, or First clicks—show only those categories.
    3. Clear all filters, select the correct device (PC, Tablet, or Mobile), and set Time frame to Today. Incorrect filters are a documented cause of low click data.^1^
    4. Find the element in the left-hand click ranking and select View recordings. This opens recordings in which that element was clicked.^2^
    5. Reproduce the interaction yourself and inspect the resulting session recording:
      • Click appears in the recording but not over the expected element: this is likely a heatmap overlay or page-state limitation.
      • Click and surrounding interaction are absent: continue with tracking verification below.
      • Interaction appears, followed immediately by a JavaScript error: inspect Error clicks and the browser console. Clarity specifically categorizes clicks occurring immediately before JavaScript errors.^2^

    2. Check for visualization and element limitations

    Clarity builds heatmaps from CSS selectors and overlays aggregated data on a selected recording. Consequently, the screenshot’s page state might not contain the element that received the click. Clarity can then report that the element is not visible even though the click was collected.^1^

    This commonly affects:

    • Dropdowns, popups, flyouts, and menus that appear only after interaction.
    • Elements inserted, replaced, or repositioned dynamically by JavaScript.
    • Responsive layouts where the selected screenshot differs from the visitor’s device state.
    • Elements inside a third-party iframe or HTML canvas; Clarity cannot capture content inside these elements.^3^

    Standard heatmaps do not capture screenshots of different dynamic states, so clicks over those states might not be displayed. Try Change screenshot in the heatmap. For flyouts, popups, and dropdowns, use the Clarity Live extension, which can display heat dynamically while interacting with the page.^4^^5^

    If the affected control is inside a third-party iframe or canvas, changing its JavaScript event handler will not make Clarity capture its internal clicks. Track an equivalent interaction in the parent page or use the embedded provider’s analytics instead.

    3. Verify actual collection when recordings are also incomplete

    1. Confirm the tracking code exists on the affected page, including page templates introduced during a redesign.
    2. Open the page in a browser and select Inspect → Network.
    3. Filter for collect.
    4. Interact with the affected control.
    5. Confirm that POST requests to Clarity’s collection endpoint appear.
    6. Check Clarity → Recordings or the real-time project view for the test session.

    The tracking code is obtained from Clarity project → Settings → Setup and, for manual installation, belongs in the website’s <head>. Microsoft documents the Network-tab POST request as the installation verification method.^3^

    If no request appears, investigate conditions that prevent the Clarity script or collection request from loading, such as your consent implementation, Content Security Policy, tag-manager trigger rules, or browser/network blocking. The supplied documentation does not define one universal configuration fix for those site-specific conditions.

    After installing or restoring the code, allow up to 30 minutes for a heatmap to be generated, then retest with filters cleared.^1^

    Interpretation

    • Recording contains the click: collection worked; examine dynamic-state, selector, screenshot, responsive-layout, iframe, or canvas limitations.
    • Recording lacks the interaction and no collection request appears: repair the tracking-code or request-blocking configuration.
    • Collection works but only filtered heatmaps look incomplete: clear filters, correct the URL/device/time frame, and use All clicks.
    • Clicks follow JavaScript failures: use Error clicks, reproduce the error in DevTools, and fix the site exception separately.

    References

    1. Troubleshooting Heatmaps (or Heat maps)
    2. Click maps
    3. Setup Clarity
    4. Heatmaps features
    5. How to use Clarity Live Extension?
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.