Our use of cookies

We use cookies to tailor your experience, gather analytics, and provide you with live assitance. By clicking "Accept" or continuing to browse our site you agree to the use of cookies. For more details please read our Cookie Policy.

Bring Clarity to your SharePoint with MS Clarity


There has been an exponential growth in SharePoint usage over the past few decades due to its vast set of capabilities to fulfill the most challenging business requirements especially transformation towards the modern workplace. One of the primary milestones on the road to the modern workplace is setting up an Intranet Portal which servers a one-stop-shop for information and communication and that’s where SharePoint shines the brightest. However, soon site owners realize the need for understanding how their portal sites are being used or not used and which features are the most popular among the users. One of the key ingredients of improving user experience is to gather insights on the site user behaviours. In order to facilitate this, Microsoft has released a new free-to-use tool called Clarity that comes with some innovative user analytics features to understand how site users are using the sites in real-time in order to help site managers improve their site experiences by better understanding site visitor behaviour.  In this article, we will take an in-depth look at Microsoft Clarity, what it brings to the site, and user analytics table and how it can be integrated in the SharePoint site.

Microsoft Clarity: Make user behaviour analytics easy

Just like Managers need summarized reports and dashboards to analyse data in order to make an informed decision, Site Managers and administrators need an insight tool to analyse the site usage data and that’s essentially the primary purpose of MS Clarity. It is a free-to-use analytics product built to help site admins to improve their site user experiences by getting more clarity for site visitor behaviours. It provides a set of tools to facilitate site managers to decide what modifications they should make to their sites in order to improve the site usage. Clarity points out which parts of the site get the most and least engagement and it provides an invaluable interface for debugging.  MS Clarity records information about users who visit your site, and how they behave. It summarises that information in the form of dashboards and allows site managers to explore and highlight interesting segments and behaviours.

AxioWorks SQList continuously export SharePoint lists and libraries as normalised SQL Server tables, making live SharePoint data available to reporting tools like Power BICrystal Reports, or SSRS.

What makes MS Clarity Great

Insights Dashboard and matrices

Insights dashboard allows site managers to view aggregated metrics on the site analytics to understand your site’s traffic.it provides information like how many users were clicking on links that don’t exist, how many people scrolled up and down a page looking for information, average time users were active on the site, were JavaScript errors, and the average time a user spends on your site. There are some unique reports as well like ‘rage clicks’ and ‘excessive scrolling’ which show users who might have been confused or annoyed.

Session recording

MS Clarity also includes a great session recording tool that provides recordings of user sessions on the site. It logs the mouse movements, scrolling, and clicks of every visitor to the site. These records can help you to better understand your user’s behavior and identify their problems. These session recordings can be viewed and replayed at any time in the future.


Clarity Heatmaps tool helps us to understand how users behave while they are on a specific page which includes what areas they are clicking on. For example, if there is an underlined text and the user is clicking on it then it means that the user is confusing it for a hyperlink. This kind of view can help UX designers to understand what their users want and which segments of designs and layout might be confusing them.

Bringing MS Clarity to SharePoint site

Now, lets take a look at how we can use MS Clarity for a SharePoint Site. Go to the Clarity website at https://clarity.microsoft.com/ and sign in using your Microsoft account. Then click on create a ‘project’.  On the website, enter your SharePoint site address.

Once that’s done, you will see a setup screen with Clarity tracking code  “Highlighted” which you will need to connect your SharePoint site to this project.

Once you get the unique identifier for the Microsoft Clarity project it’s time to get the Clarity in your SharePoint environment. This can be done by using an App Customizer using your clarity tracking code. There is a prototype solution available on GitHub which you can download from here. Upload the solution package in your preferred App Catalogue and then Deploy the package.

Now the App Customizer will be available for installation on all the sites of your organization. Use the following Powershell script to install it on any SharePoint Site.

Connect-PnPOnline -UseWebLogin -Url “Your Site URL”

Add-PnPCustomAction -ClientSideComponentId “7f8fd1f2-9d26-4a4a-a607-bf4622d7ec11” -Name “Microsoft Clarity” -Title “Microsoft Clarity” -Location ClientSideExtension.ApplicationCustomizer -ClientSideComponentProperties: ‘{“clarityID”:”yourOwnId”}’ -Scope site

Note: Replace yourOwnId with Clarity tracking code

That’s it, It takes around one to two hours for clarity to set up the dashboard and start receiving user analytics data from your SharePoint site. Refresh the dashboard and once its ready, you will see a dashboard with all the matrices.

The Heatmaps section will show which areas of the site are most/least clicked by users.

To Summarize

AxioWorks SQList continuously export SharePoint lists and libraries as normalised SQL Server tables, making live SharePoint data available to reporting tools like Power BICrystal Reports, or SSRS.

MS Clarity does come with some great features that can certainly help SharePoint site managers to understand the site user behaviour and study the user sessions in order to make changes to the site which can improve the user experience. But is this an alternative to a more mature Site Analytics suite like Google Analytics, I would say “No” and in fact, it is not meant to be an alternative as well and can easily be used alongside it to get the best of both worlds by connecting your Project to your Google Analytics account. It is targeted towards both Site Managers to review and compare site analytics data via a large set of matrices and UX designers to review user sessions and heat maps to understand user behaviour and more importantly identify the improvements which can help remove the complexities from the site.


Latest articles

AxioWorks Newsletter November 2023: ESPC23, new partnership, and SQList update!

30 Nov 2023

Hello Reader, Welcome to this month’s edition of the AxioWorks newsletter! We’re thrilled to bring you updates on our recent […]
[read article]

Why Support Legacy SharePoint Versions Like SharePoint 2010?

16 Nov 2023

In the fast-paced world of technology, where new versions and updates are continuously rolled out, a recurring question often arises: “Why […]
[read article]

Why Companies are choosing SQList over Power Automate

30 Oct 2023

In the realm of synchronisation services, AxioWorks’ SQList and Microsoft’s Power Automate (earlier known as PowerApps) have emerged as […]
[read article]

AxioWorks Newsletter October 2023: An exhilarating month.

28 Oct 2023

Hello Reader, As we step into the season of autumn, we are thrilled to share with you the latest developments and opportunities unfolding at […]
[read article]

Why Choose SQList for SharePoint Data Extraction Over DIY Solutions

16 Oct 2023

In the ever-evolving world of technology and data management, the question often arises: “Why should I use a product like #SQList when I can […]
[read article]

AxioWorks Newsletter September 2023: An exhilarating month.

30 Sep 2023

Hello Reader, September has been a bustling and exhilarating month for us at AxioWorks, filled with advancements, collaborations, and a whole lot of […]
[read article]

The Collaborative Pathway: Bridging Minds in the AI Ecosystem

19 Sep 2023

In recent days, I found myself immersed in an enlightening conversation with a friend, a fellow entrepreneur steering his ship in the vast sea of […]
[read article]

AxioWorks Newsletter August 2023: A month of milestones and innovation.

28 Aug 2023

Hello Reader, September seems to be a month of unexpected milestones and continued innovations at AxioWorks. As the summer wanes and the autumn […]
[read article]

Use Graph API in Power Automate to read large Excel files from SharePoint

28 Aug 2023

Power Automate, a part of Microsoft’s suite of tools, is increasingly becoming a preferred choice for automating workflows and business […]
[read article]

From Punch Cards to Python: Still Hitting the Keys in my 50s

16 Aug 2023

I spent the entire weekend writing code, not because of deadlines to meet or million-pound dreams, but for the kick that I still get from doing it. […]
[read article]

Get SharePoint and SQL news to your inbox

Stay up-to-date with industry news and trends, SQL and SharePoint innovations and all the latest from AxioWorks by subscribing to our monthly newsletter.

Subscribe to the AxioWorks newsletter