Share via

Issue with Session Replay Rendering (Page Appears Without CSS)

Selim UÇMAK 0 Reputation points
2026-03-13T07:42:38.1466667+00:00

Hello,

We are using Microsoft Clarity to analyze user sessions on our website. However, in some session replays the page appears as if it is an old HTML page without proper styling.

It looks like the CSS and layout are not rendered correctly in the Clarity playback. Elements such as menus, pop-ups, and widgets overlap or appear unstyled, even though the live website works normally.

This makes the page look like a very basic HTML structure during the replay.

We would like to understand:

Is this a known limitation of Clarity session replay?

Can external CSS or JavaScript files sometimes fail to render correctly in playback?

Are there any recommended configurations to improve replay accuracy?

Our website works correctly in real browsers, so this issue seems to happen only in Clarity recordings.

Any guidance would be appreciated.

Thank you.

clarity issue

Microsoft Advertising | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-13T07:43:08.6066667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    This behavior is expected when Clarity cannot correctly load your site’s styling assets (CSS, fonts, sometimes images) during playback. In that case, recordings look like plain or “old” HTML with overlapping elements, even though the live site is fine.

    Key points and recommendations:

    1. Known limitation of session replay
      • Clarity replays depend on being able to fetch your site’s CSS, fonts, and other styling resources. If these resources are blocked or unavailable, recordings and heatmaps render without styling or with old styling.
      • Some recordings may also look broken or have missing images if Clarity has difficulty locating CSS, fonts, or images.
    2. Why CSS/JS may fail to render in playback Common causes include:
      • Styling resources are not publicly accessible (for example, only on production servers, localhost, intranet).
      • Your site blocks Clarity from fetching resources (for example, IP restrictions, geolocation rules, domain/referrer rules, or CSP blocking Clarity domains).
      • Stylesheets or fonts are temporary or expire quickly.
      • Resources are served with an incorrect content type, so Clarity does not treat them as stylesheets/fonts.
      • For inline players, HTTP sites can cause rendering issues.
    3. Recommended configuration and checks
      • Ensure all CSS and font files used by the pages you analyze are publicly reachable from the internet.
      • If you use a Content Security Policy (CSP), add Clarity to the allowed sources, preferably in default-src, for example:
        • default-src 'self' https://*.clarity.ms https://c.bing.com 'unsafe-inline';
      • Allow requests that contain the header User-Agent: Clarity-Bot and ensure no firewall/WAF or IP/geo rules block Clarity from fetching your assets.
      • Make CSS and font URLs stable and long-lived; avoid temporary URLs that expire.
      • Serve CSS and font files with the correct MIME types so they are recognized as stylesheets/fonts.
      • Prefer HTTPS for your site to reduce layout issues in the inline player.
    4. When issues persist
      • If the above steps do not resolve the problem, capture one or more affected recordings/heatmaps and send a support request to the Clarity team, including:
        • Links to the problematic recording(s) or heatmap(s).
        • A list of resource URLs (CSS, fonts, images) that appear to fail loading in the browser developer tools.

    References:

    0 comments No comments

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.