Skip to content

Commit

Permalink
refactor: Update clarity script to use environment variable for clari…
Browse files Browse the repository at this point in the history
…ty ID
  • Loading branch information
4lysson-a committed Jul 9, 2024
1 parent b7cc058 commit 410f336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function Home() {
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", "lkv3zmtuoz");`}
})(window, document, "clarity", "script", ${process.env.CLARITY_ID});`}
</Script>

<main className='w-full h-full flex flex-col gap-20'>
Expand Down

0 comments on commit 410f336

Please sign in to comment.