Skip to content

Commit 3d5efa5

Browse files
committed
update clarity script
1 parent 5770779 commit 3d5efa5

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

src/layouts/Layout.astro

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,12 @@ const { title } = Astro.props;
102102
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"
103103
></script>
104104

105-
<script type="text/javascript">
106-
(function (c, l, a, r, i, t, y) {
107-
c[a] =
108-
c[a] ||
109-
function () {
110-
(c[a].q = c[a].q || []).push(arguments);
111-
};
112-
t = l.createElement(r);
113-
t.async = 1;
114-
t.src = "https://www.clarity.ms/tag/" + i;
115-
y = l.getElementsByTagName(r)[0];
116-
y.parentNode.insertBefore(t, y);
117-
})(window, document, "clarity", "script", "ncyy8qyq2m");
105+
<script>
106+
(function(c,l,a,r,i,t,y){
107+
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
108+
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i+"?ref=bwt";
109+
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
110+
})(window, document, "clarity", "script", "sirwcn2x9g");
118111
</script>
119112
<script type="application/ld+json">
120113
{

0 commit comments

Comments
 (0)