I have added Clarity to one of my SharePoint sites, but it is not pulling data

Inhoff, Christopher 80 Reputation points
2025-06-06T12:24:09.83+00:00

I have added Clarity using the following method:

Only enable this app.

User's image

After that, you could go to specific site > Settings (at the top right) > Add an app > Proceed to add Microsoft Clarity. Screenshot showing the Add an app command in SharePoint.

This has been running for several days now. I have been visiting myself to add data to it, but no data is being pulled.

Is there something else I need to do? I am Admin of SharePoint and also and owner admin of the site I placed Clarity on.

I did try applying Clarity using the tenant-wide method, and it start capturing data just fine. I have since removed that and just added the one site as mentioned above.

Microsoft 365 and Office | SharePoint | Development
0 comments No comments
{count} vote

Accepted answer
  1. Jack-Bu 2,300 Reputation points Microsoft External Staff Moderator
    2025-06-06T15:33:14.0966667+00:00

    Hello Inhoff, Christopher, 

    Thank you for posting your question in the Microsoft Q&A forum.   

    Based on your inquiry, we understand that you have added Clarity to one of your SharePoint sites, but it seems it cannot pull the data you require. We will be glad to assist you with this. 

    After testing, I have found a possible method using PowerShell that you through PnP Online (this solution can assist the Clarity app direct to your specific SharePoint site). PnP Online allow you to manage and automate tasks within the Microsoft 365 environment, specifically focusing on SharePoint Online and it can help you to add Clarity app in SharePoint site more effective. 

    You can follow this link to start connecting PnP PowerShell in your PowerShell environment: 

    How to connect to PnP Online with Interactive Authentication 

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link 

    You can follow these steps to configure it: 

    You should run this command first to connect Pnp in PowerShell 

    Connect-PnPOnline -Url " You input your specific SharePoint site URL here " -Interactive 

    Set your variables $clarityProjectID = "YOUR_CLARITY_PROJECT_ID_HERE" -> You get from project Id in Clarity $clarityComponentId = "9088b932-6b45-4dc7-a391-256c4933526f" -> this one is a static Clarity ID so you dont need to change it. It can also use for another Sharepoint site. 

     $componentProperties = '{"clarityId":"' + $clarityProjectID + '"}' 

      

    Run the command to activate Clarity on the connected site Add-PnPApplicationCustomizer -Title "MicrosoftClarity"       -ClientSideComponentId $clarityComponentId       -ClientSideComponentProperties $componentProperties `      -Scope Site    Here is my example: 

    undefined

    Noted: You should use PowerShell 7.5 for a more effective configuration. What's New in PowerShell 7.5 - PowerShell | Microsoft Learn 

    Here is my result after adding it in Clarity app (You should wait around 15-30 minutes for it activate): 

    undefined

    Please let me know if you encounter any issues during configuration, and we can work together to get it working effectively. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".     

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.     


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.