How to Install Microsoft Clarity Analytics in WordPress
Recently a reader asked us how to install Microsoft Clarity analytics on their WordPress site? Microsoft Clarity is a free analytics tool that helps you analyze how users interact with your website with click tracking, scroll tracking, and heat maps. In this article, we are going to show you how to easily install Microsoft Clarity […]

Recently a reader asked us how to install Microsoft Clarity analytics on their WordPress site?

Microsoft Clarity is a free analytics tool that helps you analyze how users interact with your website with click tracking, scroll tracking, and heat maps.

In this article, we are going to show you how to easily install Microsoft Clarity in WordPress step by step.

Installing Microsoft Clarity Analytics in WordPress

What is Microsoft Clarity and why should I use it?

Microsoft clarity is a free analysis tool for websites. It helps you see the most popular pages on your website and how users click, scroll, and interact with those pages.

The most important feature of Microsoft Clarity is their data visualization. This includes click tracking, heatmap reports, session recordings, etc.

Heatmaps display a visual report of how users move their mouse, where they click, select, or scroll.

Heatmap showing user interactions on a website

Likewise, session recordings help you see how users are viewing your content, where they are spending more time, and what is taking them away from your. WordPress site.

This information helps you create a better user experience for your users, improve performance, and drive sales conversion.

Viewing the Microsoft Clarity Analytics Dashboard

Microsoft Clarity vs Google Analytics - What's the Difference?

Google analytics is the best analysis solution in the market because it offers many in-depth tracking features. Microsoft Clarity, on the other hand, focuses on visualizing user interactions with heatmaps and session recordings.

Google Analytics helps you track almost everything on your website. This also has improved e-commerce tracking, conversion tracking, detailed reports, etc.

Microsoft Clarity is a new platform, and it's currently not an alternative to the much superior functionality of Google Analytics. However, you can use Microsoft Clarity with Google Analytics to unlock features like heat maps and visitor session recordings, as Google does not yet offer these features.

Before Microsoft's analytics feature, many website owners used paid heat map solutions like Hotjar or CrazyEgg alongside Google Analytics, but now you have a free alternative to those tools.

We recommend installation of Google Analytics on all your websites. After that, you can follow our guide below to install Microsoft Clarity in WordPress.

They both work great 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 will need to sign up for Microsoft Clarity and then add a tracking code to your website.

We'll walk you step by step through the process.

Microsoft Clarity Registration

First of all, head to the Microsoft Clarity website and click on the "Start" button.

You need a Microsoft, Facebook or Google account to register.

As soon as you register, you will see the Clarity dashboard with a pop-up window to add a new project.

Go ahead and enter a name for your project. You can use the name of your website to make it easily recognizable. Then enter your website URL and choose a site category.

Note: Clarity should not be used by financial, medical, or government websites.

Configure a new project in Microsoft Clarity

Once you have created your new project, it will then be listed in your dashboard.

You need to click on it to see the tracking code that you need to add on your site:

Copy of the Clarity tracking code

We recommend that you leave this tab open or copy the code to a safe location. You will need it later in this tutorial.

Adding Microsoft Clarity Code to Your WordPress Site

Micorosoft Clarity tracking code must be present on all pages of your WordPress website. Fortunately, there is a safe and easy way to do this without modifying any WordPress files.

First of all, you need to install and activate Insert headers and footers connect. For more details, see our step-by-step guide on how to install a WordPress plugin.

This plugin allows you to add any script in the header or footer of your website directly from your WordPress dashboard (no FTP or cPanel necessary).

Once the plugin is activated, go to the Settings »Insert headers and footers page in your WordPress admin area.

Now you need to copy and paste the Microsoft Clarity code into the "Scripts in Header" area.

Adding the Clarity tracking code to your website using the Headers and Footers plugin

Don't forget to click the Save button at the bottom to save your settings.

The plugin will now automatically add Microsoft Clarity analytics code to all pages on your WordPress site, so that you can track website visitor activity on your website.

Pro tip: If you are using a WordPress caching plugin, then you have to clear your WordPress cache. This is important, otherwise Microsoft will not be able to verify your site for a few hours.

Using Microsoft Clarity

Once you have installed the tracking code and cleared your WordPress cache, Microsoft will then begin recording visitor session data.

However, it will probably take up to 2 hours before you can see the 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 in your dashboard.

Viewing the Microsoft Clarity Analytics Dashboard

Similar to Google Analytics, Microsoft makes it easy to see which pages on your site are the most popular.

You can also view other useful information such as the percentage of sessions with "dead clicks". These are clicks that get nowhere. For example, users might click on an image thinking it's a button or a link.

The dashboard also shows you the number of “quick returns”, which occur when a user leaves a page and then returns to it very quickly.

It also tracks excessive scrolling, when users scroll more than expected on a page.

Another useful statistic is rage clicks, when users quickly click or type in the same area. Paying close attention to these metrics can help make your site more user-friendly.

The Recordings tab shows you recordings from different user sessions. You get the details of the user's device, operating system and country.

Clarity also tells you the number of pages visited, the duration and time of their session, as well as the number of clicks made.

Clarity showing recordings of user sessions

Recordings allow you to see where people click on your site. In this example, the user clicked multiple times on an image, perhaps expecting a link to a page.

The recorded session shows where the clicks occurred on the website

The Heatmaps tab shows you the heat map of your website. These help you see which sections are popular on your site based on the number of people clicking. For example, in this heat map on our demo site, we can see that people tried to click on the email address on the contact page.

Clarity heatmap showing clicks on demo site contact page

In the future, Microsoft Clarity also plans to show scrolling on heat maps.

Final thoughts on the Microsoft Clarity Analytics tool

Microsoft Clarity is a new analysis tool with some cool features. While not an alternative to the powerful Google Analytics platform, it certainly does offer some cool features like free heat map and session recording.

Often times new website owners want to see heat maps and session recording, but they don't have the budget to buy premium solutions like HotJar or CrazyEgg. Well, now you can use Microsoft Clarity.

By using heat maps and session recording, you should be able to optimize your website or online shop experience to improve user experience and increase sales.

We hope this article has helped you learn how to install Microsoft Clarity Analytics in WordPress. You can also check out our comparison of best WordPress page builders to create custom layouts without any code, and our selection of best email marketing services to grow your business.

If you liked this article, please subscribe to our Youtube channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post office How to install Microsoft Clarity Analytics in WordPress appeared first on WPBeginner.



Whether you regularly whip up Michelin-worthy meals at the drop of a hat or your cooking skills are best described as “fine, ” you can always benefit from the helpful little tricks of others. Here, 14 of our friends’, families’ and coworkers’ most-used cooking tips.

There’s a time and a place to whip out that complicated coq au vin recipe you’ve been dying to try. A dinner party isn’t that time. With a new recipe, you’ll likely be chained to the kitchen the whole time, plus, when you’re trying something for the first time, there’s always the possibility that it could go horribly wrong. When cooking for a group, we always err on the side of tried-and-true crowd-pleasers.

You do hours of prep work on an intricate dish, only to be totally disappointed once you taste the terminal product. Bummer. Instead of putting in all that effort only to be disappointed, taste while you cook. That way, you’ll realize sooner that the dish isn’t tasting how you’d like it to, and you can make all kinds of last-ditch exercices to save it. This doesn’t just work for bad-to-OK meals. Tasting midway through and realizing how perfect a dash of cayenne or a squirt of lemon juice would be can take a great dinner to legendary status.

Plating pasta means tossing some onto a plate and finishing it with a nice dollop of sauce right on the middle, right ? Wrong. Here’s how to take your carbs to the next level : On the stove there should be two pans, one with pasta and one with sauce. Cook the pasta to al dente and transfer it into the sauce. Then, add a little bit of pasta water ( literally just the starchy water the pasta has been cooking in ), which will help the sauce cling to the pasta while also keeping it the right consistency. Perfection.

In the pursuit of the perfect steak, you have to be OK with your kitchen getting a little smoky. That’s because, to get the mouthwatering sear we’re all after, the meat has to be dry and the pan should be pretty damn close to smoking hot. Trust us, it’s worth a few seconds of a blaring alarm.

Most foods are ruined by too much salt. Steak is different. When it comes to seasoning your meat ( before you cook it ), more is more. Use a generous amount of coarse Kosher salt—more than you think you need. Since most cuts of steak are pretty thick, even though you’re using a lot of salt, it’s still only covering the surface.

This one isn’t too complicated. Whether you’re making avocado toast, pizza, fried rice or a burger, the addition of a fried egg on top will not hurt your feelings. Trust us.

This one seems like a no-brainer, but we’ve definitely found ourselves in a situation where we assumed we knew all of the ingredients that went into chocolate chip cookies only to find out that we had about half the required amount of brown sugar. Ugh. to avoid a mid-cooking grocery-store trip, read the recipe from front to back—carefully—before you start.

Prepping céréales in mass quantities is less about taste than convenience. Rice, quinoa and even oatmeal last about a week in the fridge after being cooked. When we’re prepping any one of those, we double up our measurements and store the leftovers, which are then impossibly easy to use up throughout the week. Too tired to make dinner ? Heat up some leftover rice from the fridge and toss an egg on top ( remember ? ). Couldn’t be simpler.

So you fried up a pound of bacon for an indulgent ( read : delicious ) déjeuner. Great, just make sure you don’t throw out the grease in the pan. Instead, save it in the refrigerator or freezer ( it technically lasts for up to a year, but should be used sooner than that to take full advantage of its flavor ). Then, anytime you’re cooking something you typically prepare in oil, try cooking it in the bacon grease instead. You’ll never want to eat Brussels sprouts the old way again.

You’ve probably heard that whenever a dish is lacking a little something-something, the best thing to do is toss in some salt. But, we have it on good authority that salt isn’t always the answer. When you’re tasting a dish at the end and you think it needs a little oomph, often it just needs a splash of acid ( like lemon juice ) to round out the flavor.

You know the difference between a paring knife and a fillet knife, but do you know how to take care of them ? Or, more importantly, how to use them ? A set of good knives can be the difference between a stressful cooking experience and a great one. First, practice your knife skills. Look up tutorials on YouTube and practice chopping, slicing and julienne-ing. It’s amazing what you can do with your cook time when your prep time is shortened with solid knife skills. Then, once you’ve got your skills down pat, learn how to take care of your set. No one ever achieved kitchen greatness with a dull chef’s knife.

The key to tender, flavorful barbecue and roasts ? Cooking it on a low temperature for a long time. The same doesn’t go for roasting veggies. For crispy, perfectly cooked butternut squash, Brussels sprouts and more, remember the magic number : 400 degrees Fahrenheit. Any lower, and you risk pulling a pan of blah carrots out of the oven. It might seem high, but to get the nice roasted flavor, you need high heat. And while we’re on the subject, stop crowding your veggies in the pan, which will also make them soggy.

You know how just about every cookie recipe suggests that you chill your dough in the refrigerator for at least a few hours, but oftentimes you don’t listen because you just want cookies now ? ! ( Same. ) Unfortunately, this step actually does make a difference. In addition to limiting how much the dough spreads while baking, chilling your dough intensifies the flavors and produces that perfect chewy, crispy matière we know and love.

It won’t do your breath any favors, but never ( ever ) scrimp on garlic. In fact, we typically double the amount a recipe calls for. Apologies to anyone who was planning on kissing us.

SHOP NOW

Leave a Reply

Your email address will not be published. Required fields are marked *