Research checked: 17 November 2026. Microsoft Clarity is a behavioural-analytics tool for understanding how visitors interact with a website. Its heatmaps show where people click and scroll, while session recordings let you review individual journeys and spot friction such as repeated clicks, confusing navigation or forms that visitors abandon.
Clarity is free to use, but installing it correctly involves more than copying a tracking script. WordPress site owners should check plugin compatibility, verify that data is arriving, configure masking and consent, and decide whether to connect Google Analytics 4. This guide is based on Microsoft’s documentation and the official WordPress plugin listing. It is desk research, not a hands-on installation or performance test on a live WordPress site.
What Microsoft Clarity does
Clarity provides three main ways to investigate user behaviour:
- Heatmaps: visualise clicks, scrolling and areas of engagement on a page. They help you see whether visitors interact with the elements you expect them to use.
- Session recordings: review a recorded visitor journey to understand where a person hesitated, repeated an action, encountered a dead click or left a page.
- Insights and summaries: use Clarity’s dashboards and AI-assisted summaries to find patterns and narrow down sessions worth reviewing.
Clarity answers a different question from Google Analytics 4. GA4 is useful for measuring traffic, events, conversions and acquisition. Clarity helps explain what a visitor did on a page. They can complement each other, but Clarity is not a replacement for analytics events, conversion configuration or Search Console.
Is Microsoft Clarity free?
Microsoft currently describes Clarity as free, with its pricing page listing access to its features at no cost. That makes it possible for a small business or editorial website to examine heatmaps and recordings without adding a monthly software subscription. Always review the current terms and privacy documentation before enabling tracking.
Free does not mean that every recording is guaranteed to be retained at any traffic volume. Microsoft’s client API documentation says Clarity keeps up to 100,000 session recordings per project per day; if a project exceeds that volume, Clarity may sample the recordings it keeps. This is a recording-volume behaviour, not a paid-plan threshold.
Before installing: check the WordPress plugin
Microsoft publishes an official Microsoft Clarity plugin in the WordPress Plugin Directory. It can create a new Clarity project or connect an existing one from the WordPress admin area.
At the time this guide was checked, the plugin directory listed version 0.10.38, more than 200,000 active installations and a tested-up-to version of WordPress 7.0.8. If your site runs a later WordPress version, the listing does not yet declare that version in its tested-up-to field. That does not prove the plugin is incompatible, but it is a reason to check the current changelog and test on a staging copy before enabling it on a production site.
Use the official plugin rather than an unfamiliar third-party copy. Review the plugin author, latest update, compatibility information and support forum before installing. If you manage a business-critical site, take a backup and test the integration away from the live site first.
Method 1: install Clarity with the WordPress plugin
This is the simplest route for a WordPress site owner who prefers to connect Clarity from the dashboard rather than editing theme files.
- Create or open your Clarity account. Visit Microsoft Clarity and sign in with the account that should own the website’s analytics project.
- Create a project for the correct domain. Use the public website domain you want to measure. If you operate several unrelated domains, create a separate project for each one so the reports remain distinct.
- Open WordPress admin. Go to Plugins, choose Add New and search for Microsoft Clarity.
- Check the listing. Confirm that the plugin is published by Microsoft and review its version, update date and compatibility information.
- Install and activate. Select Install Now, then Activate. Open the Clarity entry in the WordPress navigation area.
- Connect the project. Follow the sign-in and connection prompts to create a new project or connect the existing Clarity project for your domain.
- Verify the installation. Follow Microsoft’s installation-verification instructions and confirm that the project receives data from the correct domain.
Do not install the plugin and also paste a second copy of the same Clarity tracking script into the site header unless Microsoft’s instructions for your specific setup require it. Duplicate tracking installations can make it harder to diagnose data and consent behaviour.
Method 2: install the tracking code manually
Manual installation is an alternative when the plugin is unavailable, unsuitable for the site or not compatible with the current WordPress environment. It requires access to the website’s document head and a safe way to add a script without editing a parent theme file that may be overwritten during an update.
- Sign in to the Clarity project you want to use.
- Open Settings, then Setup, and choose Get tracking code.
- Copy the unique tracking code shown for that project.
- Add the code to the site’s head section using a maintained integration or a developer-managed method appropriate to your WordPress setup.
- Save the change, clear any relevant page cache and load the public site in a fresh browser session.
- Use Microsoft’s verification steps to confirm that the code is running and sending data to the intended project.
If you are not comfortable editing site code, use the official WordPress plugin after checking compatibility or ask your developer to install the script. Do not paste the code into a post, page or ordinary text block; it belongs in the site’s head section.
How to verify that Clarity is collecting data
After the tracking code is installed, Microsoft says Clarity begins collecting data, but it can take a few hours for information to appear in the dashboard. Do not assume that an empty dashboard immediately after installation means the integration has failed.
- Confirm that the project domain matches the public site you are visiting.
- Open the site in a fresh browser session and navigate between a few public pages.
- Check Microsoft’s installation-verification guidance for the project.
- Wait for the dashboard to process the first visits, then check whether the correct pages appear in recordings and heatmaps.
- If no data appears, check whether a caching layer, script optimisation, consent banner, browser extension or content-security rule is preventing the tracking code from running.
- Confirm that the same project ID has not been installed twice through a plugin and a separate header script.
Connect Microsoft Clarity to Google Analytics 4
Clarity can connect to Google Analytics so that analytics information can be viewed within the Clarity experience. This is useful when you want to move from a metric or conversion pattern in GA4 to a closer examination of the behaviour behind it.
Microsoft’s documented setup flow is:
- Finish the Clarity project setup first.
- Open the project and go to Settings, then Setup.
- Find Google Analytics integration and select Get Started.
- Sign in to the Google account that has access to the relevant Analytics property.
- Select the web property you want to connect and save the selection.
- Return to Clarity and confirm that the integration is active.
Microsoft’s documentation says one web property can be connected to each Clarity project at this time. Connecting GA4 does not remove the need to configure your GA4 events and conversions, and it does not mean that Clarity automatically knows which business outcomes matter to you. Set up the events and reports you need in GA4, then use Clarity to investigate relevant visitor behaviour.
Configure privacy and content masking before reviewing recordings
Session recordings can contain page content and user interactions, so privacy settings need attention before you rely on them. Microsoft says Clarity masks sensitive content by default. It treats input-box content and dropdown menus as sensitive in all modes, and its default masking behaviour also hides certain sensitive text such as numbers and email addresses.
Clarity offers different masking modes and lets project administrators mask selected page elements. Review the settings for forms, account areas, checkout pages, customer portals and any page that could display personal or confidential information. Avoid unmasking an element simply because it makes a recording easier to read.
Do not place passwords, payment details, private account information or other sensitive values in ordinary page text and assume the recording tool will always recognise them. Check the rendered page, form fields, custom components and any elements that a developer has explicitly unmasked. Masking settings affect new recordings; Microsoft says changes are not retroactive.
Consent requirements for visitors from Europe
Microsoft’s consent documentation says Clarity began enforcing consent-signal requirements for visits originating in the European Economic Area, the United Kingdom and Switzerland from 31 October 2025. Consent Mode is enabled by default for visitors from those regions, and Clarity needs a valid consent signal to provide the full cookie-dependent feature set.
When Consent Mode is enabled, Clarity waits for the visitor’s consent state before setting cookies. If consent is denied, the tag may still collect cookieless data, but features that depend on cookies, such as session recordings and some funnel functionality, may be limited. Your site must pass the visitor’s actual consent choice to Clarity; simply displaying a cookie banner does not prove that the tracking script received the signal.
Microsoft documents several ways to pass consent, including a supported consent-management platform, Clarity’s Consent API and Google Consent Mode for sites that already use Google’s consent framework. Microsoft’s documentation currently names CookieYes as an integration and also describes custom API-based implementations. Check the current supported-platform list before choosing a consent plugin or assuming that an integration is automatic.
- Review whether your cookie banner categorises Clarity as an analytics technology.
- Confirm that the consent choice is passed before Clarity sets cookies.
- Test both accepted and denied consent states.
- Check that withdrawing consent updates the state and handles existing Clarity cookies as documented.
- Review the privacy and cookie information shown to visitors, and obtain appropriate legal advice for the jurisdictions in which your site operates.
This is a technical setup guide, not legal advice. Requirements depend on the visitors, data and jurisdictions involved. Microsoft also says Clarity should not be used on websites or apps targeting users under 18 globally.
How to use heatmaps and recordings to improve a website
Once data is available, start with a specific question rather than watching random recordings. Examples include whether readers reach the call to action, whether a pricing table is difficult to use on mobile, or whether a form causes repeated errors.
- Start with an important page. Choose a landing page, product page, contact form or article that supports a measurable business goal.
- Check the device type. Compare desktop and mobile behaviour. A layout that is easy to use with a mouse may be difficult on a small screen.
- Look for repeated friction. Review dead clicks, rage clicks, excessive scrolling and repeated navigation patterns.
- Compare behaviour with outcomes. Use GA4 or another analytics system to check whether the page’s conversion or engagement metrics changed.
- Make one controlled change at a time. Record what changed and compare results over a meaningful period rather than assuming one recording proves a design problem.
- Recheck privacy settings. Make sure new forms, widgets and page components are masked appropriately before collecting more recordings.
Common Microsoft Clarity setup mistakes
- Expecting instant reports: allow time for the first data to appear and verify the installation before troubleshooting further.
- Installing the script twice: use one installation method unless the documented integration specifically requires otherwise.
- Ignoring plugin compatibility: check the current WordPress version, plugin changelog and staging behaviour before activating it on a production site.
- Assuming GA4 integration installs Clarity: tracking installation and analytics-account connection are separate steps.
- Showing sensitive information in recordings: review default masking and add element-level masking where required.
- Displaying a banner without passing consent: verify the actual consent state received by Clarity for visitors in regions where consent signals are required.
- Treating recordings as proof of causation: use recordings to form a hypothesis, then test the change with appropriate analytics or an experiment.
Microsoft Clarity for WordPress: final verdict
Microsoft Clarity is worth evaluating if you want to understand how visitors use your WordPress pages without adding another paid analytics subscription. Its combination of heatmaps, recordings and insights can help explain why a page is not performing as expected, while GA4 can continue measuring traffic and conversions.
The safest setup is deliberate: check the official plugin’s compatibility, install Clarity once, verify that the correct project receives data, review masking, pass consent where required and connect GA4 only if the integration is useful to your reporting. Do not treat the tool’s free price as a reason to skip privacy or data-quality checks.
Official sources
- Microsoft Clarity pricing
- Microsoft Clarity official WordPress plugin
- Microsoft Clarity setup and installation
- Microsoft Clarity FAQ and installation verification
- Connect Google Analytics to Clarity
- Microsoft Clarity content masking
- Microsoft Clarity consent management
- Microsoft Clarity Consent Mode
- Microsoft Clarity client API and recording limits
Research note: This guide reflects Microsoft’s public Clarity documentation and the WordPress Plugin Directory checked on 17 November 2026. Plugin compatibility, privacy requirements, consent integrations and product features can change. Hearthloop has not installed Clarity on a live WordPress site or performed a performance benchmark as part of this article.

Leave a Reply