Recently a reader asked us how Microsoft Clarity Analytics should be installed on their WordPress website.
Microsoft Clarity is a free analytics tool that you can use to analyze how users are accessing your website using click-tracking, scroll-tracking, and heatmaps.
In this article we will show you step by step how you can easily install Microsoft Clarity in WordPress.
What is Microsoft Clarity and why is it used?
Microsoft Clarity is a free website analytics tool. It helps you view the most popular pages on your website and see how users click, scroll, and interact with those pages.
The most important feature of Microsoft Clarity is data visualization. This includes click tracking, heat map reports, session recordings and more.
Heat maps show a visual report of how users move their mouse, click, select, or scroll.
Similarly, session recordings allow you to see how users are viewing your content, where they are spending more time, and what is taking them away from your WordPress website.
You can use this information to create a better user experience for your users, improve performance, and increase sales revenue.
Microsoft Clarity vs Google Analytics – What's the Difference?
Google Analytics is the best analytics solution on the market because it has many detailed tracking features. Microsoft Clarity, on the other hand, focuses on visualizing user interactions with heat maps and session recordings.
You can track almost everything on your website with Google Analytics. It has also improved ecommerce tracking, conversion tracking, detailed reports, etc.
Microsoft Clarity is a new platform and currently no alternative to the far superior functions of Google Analytics. However, you can use Microsoft Clarity alongside Google Analytics to unlock features like heat maps and visitor session recordings, as Google doesn't yet offer these features.
Before Microsoft's analysis function, many website owners used paid heatmap solutions such as Hotjar or CrazyEgg in addition to Google Analytics. Now you have a free alternative to these tools.
We recommend installing Google Analytics on all of your websites. After that, you can follow our guide below to install Microsoft Clarity in WordPress.
Both work quite well without affecting the functionality of your website.
How to install Microsoft Clarity Analytics in WordPress
It's easy to add Microsoft Clarity to any website, including your WordPress site. You need to sign in to Microsoft Clarity and add a tracking code to your website.
We will walk you through the process step by step.
Register for Microsoft Clarity
First, go to the Microsoft Clarity website and click the "Get Started" button.
You need a Microsoft, Facebook, or Google account to sign in.
Once logged in, the Clarity dashboard will appear with a popup where you can add a new project.
Enter a name for your project. You can use your website name to make it easily recognizable. Next, enter your website url and select a website category.
Note: Clarity should not be used by finance, medical, or government websites.
Once you've created your new project, it will be listed on your dashboard.
You need to click on it to see the tracking code that you need to add on your website:
We recommend leaving this tab open or copying the code to a safe place. You will need it later in this tutorial.
Adding the Microsoft Clarity Code to your WordPress site
The Micorosoft Clarity Tracking Code must be present on all pages of your WordPress website. Fortunately, there is an easy and safe way to achieve this without editing WordPress files.
First you need to install and activate the Insert Headers and Footers plugin. For more information, see our step-by-step guide on installing a WordPress plugin.
This plugin allows you to add any script to the header or footer of your website right in your WordPress dashboard (no FTP or cPanel required).
Once the plugin is activated, go to Settings »Insert headers and footers Page in your WordPress admin area.
Now you need to copy the Microsoft Clarity code and paste it into the "Scripts in the header" field.
Don't forget to click the "Save" button below to save your settings.
The plugin will now automatically add the Microsoft Clarity analysis code to all pages of your WordPress site so that you can track the activities of the website visitors on your website.
Pro tip: If you're using a WordPress caching plugin, you'll need to clear your WordPress cache. This is important because it will prevent Microsoft from checking your website for a few hours.
Using Microsoft Clarity
Once you've installed the tracking code and cleared your WordPress cache, Microsoft will start recording visitor session data.
However, it will likely take up to 2 hours before you can see results in your Clarity account.
Just log into your Clarity account after a few hours and you should be able to see the activity summary on your dashboard.
Similar to Google Analytics, Microsoft makes it easy for you to see which pages on your website are the most popular.
You can also view other useful insights, such as: B. the percentage of sessions with "dead clicks". These are clicks that are going nowhere. For example, users might click on an image thinking it was a button or link.
The dashboard also shows you the number of "quick backs" that occur when a user leaves a page and then comes back to it very quickly.
It also tracks excessive scrolling when users scroll through a page more than expected.
Another useful statistic is anger clicks when users quickly click or tap on the same area. If you pay close attention to these metrics, you can make your website more user-friendly.
Recordings from various user sessions are displayed on the Recordings tab. You will get details about the device, operating system and country of the user.
Clarity also tells you the number of pages they visited, the length and time of their session, and the number of clicks they made.
The records let you see where people click on your website. In this example, the user clicked an image multiple times and expected it to link to a page.
The Heatmaps tab displays your website's heat map. You can use this information to determine which sections of your website are popular based on the number of clicks. For example, in this heat map on our demo site, we can see that users tried to click the email address on the contact us page.
In the future, Microsoft Clarity also plans to scroll the heat maps.
Final thoughts on Microsoft Clarity Analytics Tool
Microsoft Clarity is a new analysis tool with some nice features. While it is not an alternative to the powerful Google Analytics platform, it definitely offers some interesting features such as free heatmap and session recording.
Often times, new website owners want to see heatmaps and session recordings, but don't have the budget to purchase premium solutions like HotJar or CrazyEgg. You can now use Microsoft Clarity.
Using the heatmaps and session recording, you should be able to optimize the experience of your website or online store to improve user experience and increase sales.
We hope this article has helped you learn how to install Microsoft Clarity Analytics in WordPress. You might also want to see our comparison of the best WordPress page builders to create custom layouts without code and our picks of the best email marketing services to grow your business.
If you enjoyed this article, please subscribe to our YouTube channel for WordPress video tutorials. You can also find us on Twitter and Facebook.