Categories: Microsoft Clarity

If you are using Microsoft Clarity and have not yet set up the Google Analytics integration, it’s worth checking out. And even more so now because you can filter your recordings using a Clarity User ID. Each visitor that comes to your site has an ID assigned, meaning you can gather all of the recordings and data for one specific anonymous person. Or, when testing your site for new features or possible issues, find out when the tester was on the site and narrow it down to find their Clarity User ID, and then filter all of the recordings they generated via the visits. Let’s look at how to find the Clarity user ID in a couple of ways to start using it as a filter.

First things, the Clarity user ID option can be found when clicking on filters, then adding an id in to the Clarity user ID field. Easy right? But how do you even find that ID?

Click to view in detail

From within Microsoft Clarity, this can be found by clicking on a recording, then clicking on More details.

Click to view in detail

From there, you can find out session information like the date and time, browser and the operating system used, country, and the entry and exit pages. Near the bottom, we can find the User ID. You can copy that and then add it to your filter.

Click to view in detail

Yeah, for me that isn’t realistic. I have to search for a recording first to then even try and find a specific user I am looking for. A bit trickier doing it that way. We can also find it in Google Analytics (assuming the integration has been set up). Go to a report and add a secondary dimension, which provides an additional column to your report. Start typing the word Clarity and you should find the Clarity Playback URL as a Custom Dimension (again, assuming you set this up).

Click to view in detail

Once you’ve added it, you can then get the User ID from the URL string. It’s the second lot of letters and numbers that you need. Getting it this way means you could create a report to show pageviews and sort by the most, or search for visits to a specific page and get the Clarity User ID that way. It really depends on your requirements as to how you might try and find the correct user.

Click to view in detail

Do you think you will use this feature? Let me know what you think in the comments below!

You can watch a video on how to do this too.

Check out the latest post:
Trigger Journey After Topic Is Opted In To

This is just 1 of 459 articles. You can browse through all of them by going to the main blog page, or navigate through different categories to find more content you are interested in. You can also subscribe and get new blog posts emailed to you directly.

3 thoughts on “Filtering Using The Microsoft Clarity User ID

  1. Hey Megan, I can’t seem to find this answer anywhere.

    Can you use clarity to examine customer issues, for example, when a customer says they were only provided one shipping option?

    In this example, you’d need to find a specific session. How could you go about that? Checking every recording of the checkout page on a certain morning would be out of the question, so how do you drill down to that specific customer? Can you search by form entries? Is there another way?


    1. Hi Pete, you could but only if you had some kind of way to identify who that customer was. Meaning, if there was some kind of parameter you were passing from your URL. If you’ve not done that already, then likely your only way would be to hunt for it. However, for the future, this post might be of interest: – this shows you how to add custom tags, and I have examples where it allows you to filter based on pages with forms, and also if you are able to get a parameter on the URL and pass a Contact ID of some kind, that would help you.

    2. You have support for adding a custom user id, session id and customPageId through the clarity identify API.

Comments are closed for this post.