Skip to content

Commit

Permalink
add clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
liziyi0914 committed Jan 25, 2024
1 parent a87cc43 commit 181af1d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .umirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ export default defineConfig({
},
analytics: {
ga_v2: 'G-9TP8M46FT5',
}
},
headScripts: [
{
content: `(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', 'krcmv2bfkv');`,
},
],
});

0 comments on commit 181af1d

Please sign in to comment.