Skip to content

Commit

Permalink
fix: error handling for session recorder script.
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekshourya29 committed Sep 30, 2024
1 parent 2dc3780 commit 9e43ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
{`(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);
y=l.getElementsByTagName(r)[0];if(y)y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "${process.env.NEXT_PUBLIC_SESSION_RECORDER_KEY}");`}
</Script>
)}
Expand Down

0 comments on commit 9e43ae6

Please sign in to comment.