Skip to content

Commit

Permalink
feat(frontend): Add Clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Brayan-724 committed Sep 14, 2024
1 parent 90f8227 commit 8a63a5a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions frontend/src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
<link rel="stylesheet" href="/fonts.css">
<link rel="stylesheet" href="/variables.css">
%sveltekit.head%
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
if ("localhost0.0.0.0::0192.168.0.1192.168.1.1".includes(document.location.hostname)) return;
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", "o2x2wn9dck");
</script>
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
Expand Down

0 comments on commit 8a63a5a

Please sign in to comment.