Created
January 21, 2026 09:04
-
-
Save Xeven777/0b1f48cf744536fa7401e666a488a821 to your computer and use it in GitHub Desktop.
Clarity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import Script from "next/script"; | |
| const Clarity = () => { | |
| return ( | |
| <> | |
| <Script strategy="lazyOnload" id="clarity-script"> | |
| {` | |
| (function(c,l,a,r,i,t,y){ | |
| c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; | |
| t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; | |
| y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); | |
| })(window, document, "clarity", "script", "CLARITY_ID"); | |
| `} | |
| </Script> | |
| </> | |
| ); | |
| }; | |
| export default Clarity; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment