Skip to content

Commit

Permalink
feat: Clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazee6 committed Jul 27, 2024
1 parent 189a442 commit c65f3f3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,17 @@ const {title, description, image} = Astro.props;
<meta property="twitter:title" content={title}/>
<meta property="twitter:description" content={description}/>
<meta property="twitter:image" content={new URL(image, Astro.url)}/>

<!-- Clarity tracking code for https://jaze.top/ -->
<script type="text/javascript" is:inline>
(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", "n1gp18fncc");
</script>

0 comments on commit c65f3f3

Please sign in to comment.