









{"id":22502,"date":"2025-05-24T13:29:00","date_gmt":"2025-05-24T13:29:00","guid":{"rendered":"https:\/\/www.tikitech.in\/blog\/?p=22502"},"modified":"2025-05-26T10:11:58","modified_gmt":"2025-05-26T10:11:58","slug":"how-to-add-microsoft-clarity-to-your-website-a-step-by-step-guide","status":"publish","type":"post","link":"https:\/\/tikitech.in\/blog\/2025\/how-to-add-microsoft-clarity-to-your-website-a-step-by-step-guide\/","title":{"rendered":"How to Add Microsoft Clarity to Your Website \u2013 A Step-by-Step Guide"},"content":{"rendered":"\n<p>Want to know exactly how users behave on your website? Where they click, how far they scroll, or what confuses them? <strong>Microsoft Clarity<\/strong> is a powerful, <strong>free<\/strong> tool that gives you visual insights like heatmaps and session recordings\u2014 helping you improve your site\u2019s user experience.<\/p>\n\n\n\n<p>In this blog post, we\u2019ll walk you through the <strong>easy steps to install Microsoft Clarity on your website<\/strong>, complete with guiding images to help you every step of the way.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\ud83d\udd27<\/strong> <strong>Step 1: Sign Up for Microsoft Clarity<\/strong><\/h3>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Go to <a href=\"https:\/\/clarity.microsoft.com\" target=\"_blank\" rel=\"noopener\">https:\/\/clarity.microsoft.com<\/a><\/li>\n\n\n\n<li>Click <strong>\u201cGet Started\u201d<\/strong> and sign in using your Microsoft, Google, or Facebook account.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"587\" src=\"https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-login-1024x587.jpg\" alt=\"Microsoft Clarity Login Page\" class=\"wp-image-22503\" title=\"\" srcset=\"https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-login-1024x587.jpg 1024w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-login-300x172.jpg 300w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-login-768x440.jpg 768w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-login-1536x880.jpg 1536w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-login-400x229.jpg 400w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-login-800x458.jpg 800w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-login-832x477.jpg 832w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-login-1664x953.jpg 1664w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-login-1248x715.jpg 1248w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-login.jpg 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\ud83d\udcdd<\/strong> <strong>Step 2: Create a New Project<\/strong><\/h3>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Once logged in, click <strong>\u201cAdd New Project.\u201d<\/strong><\/li>\n\n\n\n<li>Enter your website name and domain (e.g., <em>www.yoursite.com<\/em>).<\/li>\n\n\n\n<li>Choose your website category (optional), then click <strong>\u201cAdd.\u201d<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"587\" src=\"https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-np-1024x587.jpg\" alt=\"\" class=\"wp-image-22504\" title=\"\" srcset=\"https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-np-1024x587.jpg 1024w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-np-300x172.jpg 300w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-np-768x440.jpg 768w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-np-1536x880.jpg 1536w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-np-400x229.jpg 400w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-np-800x458.jpg 800w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-np-832x477.jpg 832w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-np-1664x953.jpg 1664w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-np-1248x715.jpg 1248w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-np.jpg 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"587\" src=\"https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-new-project-1024x587.jpg\" alt=\"\" class=\"wp-image-22505\" title=\"\" srcset=\"https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-new-project-1024x587.jpg 1024w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-new-project-300x172.jpg 300w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-new-project-768x440.jpg 768w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-new-project-1536x880.jpg 1536w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-new-project-400x229.jpg 400w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-new-project-800x458.jpg 800w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-new-project-832x477.jpg 832w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-new-project-1664x953.jpg 1664w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-new-project-1248x715.jpg 1248w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-new-project.jpg 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\ud83d\udd11 Step 3: Copy the Tracking Code<\/strong><\/h3>\n\n\n\n<p>After creating your project, you\u2019ll be taken to a page with your <strong>Clarity tracking code<\/strong>.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Copy the script provided. It looks something like this:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;script type=\"text\/javascript\"&gt;\n   (function(c,l,a,r,i,t,y){\n       c&#91;a]=c&#91;a]||function(){(c&#91;a].q=c&#91;a].q||&#91;]).push(arguments)};\n       t=l.createElement(r);t.async=1;t.src=\"https:\/\/www.clarity.ms\/tag\/\"+i;\n       y=l.getElementsByTagName(r)&#91;0];y.parentNode.insertBefore(t,y);\n   })(window, document, \"clarity\", \"script\", \"YOUR_PROJECT_ID\");\n&lt;\/script&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\ud83e\udde9 Step 4: Add the Code to Your Website<\/strong><\/h3>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Option A: Directly in Your HTML<\/strong><\/h5>\n\n\n\n<p>Paste the code just before the closing &lt;\/head&gt; tag on every page you want to track.<\/p>\n\n\n\n<p><strong>Example:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;head&gt;\n    &lt;!-- Other metadata and CSS --&gt;\n    &lt;script&gt;...Clarity Script...&lt;\/script&gt;\n&lt;\/head&gt;<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Option B: Use Google Tag Manager (Recommended)<\/strong><\/h5>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Log in to your <a href=\"https:\/\/tagmanager.google.com\" target=\"_blank\" rel=\"noopener\">Google Tag Manager<\/a> account.<\/li>\n\n\n\n<li>Click <strong>\u201cAdd a new tag.\u201d<\/strong><\/li>\n\n\n\n<li>Choose <strong>\u201cCustom HTML\u201d<\/strong> and paste the Clarity code inside.<\/li>\n\n\n\n<li>Set the trigger to <strong>All Pages<\/strong>, then <strong>Save<\/strong> and <strong>Publish<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p>If you have Google Tag Manager installed then you can also directly go setup and connect your tag. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"587\" src=\"https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/clarity-gtm-auto-connection-1024x587.jpg\" alt=\"\" class=\"wp-image-22508\" title=\"\" srcset=\"https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/clarity-gtm-auto-connection-1024x587.jpg 1024w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/clarity-gtm-auto-connection-300x172.jpg 300w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/clarity-gtm-auto-connection-768x440.jpg 768w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/clarity-gtm-auto-connection-1536x880.jpg 1536w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/clarity-gtm-auto-connection-400x229.jpg 400w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/clarity-gtm-auto-connection-800x458.jpg 800w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/clarity-gtm-auto-connection-832x477.jpg 832w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/clarity-gtm-auto-connection-1664x953.jpg 1664w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/clarity-gtm-auto-connection-1248x715.jpg 1248w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/clarity-gtm-auto-connection.jpg 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Step 5: Verify Installation<\/strong><\/h5>\n\n\n\n<p>After publishing the changes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Visit your site and browse a few pages.<\/li>\n\n\n\n<li>Return to your Clarity dashboard. In a few minutes, you should start seeing session recordings and heatmaps appear.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"587\" src=\"https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-gtm-1024x587.jpg\" alt=\"\" class=\"wp-image-22506\" title=\"\" srcset=\"https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-gtm-1024x587.jpg 1024w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-gtm-300x172.jpg 300w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-gtm-768x440.jpg 768w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-gtm-1536x880.jpg 1536w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-gtm-400x229.jpg 400w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-gtm-800x458.jpg 800w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-gtm-832x477.jpg 832w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-gtm-1664x953.jpg 1664w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-gtm-1248x715.jpg 1248w, https:\/\/tikitech.in\/blog\/wp-content\/uploads\/2025\/05\/ms-clarity-add-gtm.jpg 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Bonus Tips<\/strong><\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Clarity does <strong>not slow down<\/strong> your site.<\/li>\n\n\n\n<li>It automatically filters out sensitive data.<\/li>\n\n\n\n<li>You can combine Clarity with tools like <strong>Google Analytics<\/strong> for deeper insights.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\ud83d\ude80 Start Improving UX with Clarity Today<\/strong><\/h3>\n\n\n\n<p>Microsoft Clarity is one of the easiest ways to get instant, visual feedback on your website\u2019s usability. Whether you\u2019re trying to reduce bounce rates or improve conversions, <strong>Clarity gives you the insights you need<\/strong>\u2014for free.<\/p>\n\n\n\n<p><strong>Need help installing Clarity or analyzing the data? <\/strong><a href=\"mailto:contact@tikitech.in\"><strong>Contact the Tikitech team<\/strong><\/a> and we\u2019ll guide you through it!<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"Want to see exactly how users interact with your website? Microsoft Clarity is a free tool that provides heatmaps, session recordings, and user behavior insights\u2014all without slowing down your site. This step-by-step guide, complete with visuals, shows you how to easily install Clarity using either direct code or Google Tag Manager. Perfect for marketers, developers, and business owners looking to optimize user experience and boost engagement.","protected":false},"author":7,"featured_media":22510,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_singular_sidebar":"","csco_page_header_type":"","csco_page_load_nextpost":"","footnotes":""},"categories":[85,1,2,97],"tags":[167,159,168,164,165,169,166],"class_list":{"0":"post-22502","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-marketing","8":"category-search-engine-optimisation","9":"category-ui-ux","10":"category-website","11":"tag-heatmaps","12":"tag-microsoftclarity","13":"tag-sessionrecordings","14":"tag-tikitech","15":"tag-uxdesign","16":"tag-weboptimization","17":"tag-websitetracking","18":"cs-entry"},"_links":{"self":[{"href":"https:\/\/tikitech.in\/blog\/wp-json\/wp\/v2\/posts\/22502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tikitech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tikitech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tikitech.in\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/tikitech.in\/blog\/wp-json\/wp\/v2\/comments?post=22502"}],"version-history":[{"count":3,"href":"https:\/\/tikitech.in\/blog\/wp-json\/wp\/v2\/posts\/22502\/revisions"}],"predecessor-version":[{"id":22517,"href":"https:\/\/tikitech.in\/blog\/wp-json\/wp\/v2\/posts\/22502\/revisions\/22517"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tikitech.in\/blog\/wp-json\/wp\/v2\/media\/22510"}],"wp:attachment":[{"href":"https:\/\/tikitech.in\/blog\/wp-json\/wp\/v2\/media?parent=22502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tikitech.in\/blog\/wp-json\/wp\/v2\/categories?post=22502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tikitech.in\/blog\/wp-json\/wp\/v2\/tags?post=22502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}