Soenneker.Blazor.Clarity A Blazor interop library that sets up Microsoft Clarity Installation dotnet add package Soenneker.Blazor.Clarity Usage Register the interop within DI (Program.cs) public static async Task Main(string[] args) { ... builder.Services.AddClarity(); } Inject IClarityInterop within your App.Razor file @using Soenneker.Blazor.Clarity.Abstract @inject IClarityInterop ClarityInterop Initialize the interop in OnInitializedAsync within App.Razor using your Clarity project key protected override async Task OnInitializedAsync() { await ClarityInterop.Init("your-key-here"); ... }