Skip to content

Commit

Permalink
feat: add clarity analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Feb 4, 2024
1 parent f73b579 commit a4395ed
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ export default defineNuxtConfig({
{ name: 'description', content: appDescription },
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
],
script: [
{
type: 'text/javascript',
innerHTML: ` (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", "kwm5q1tej7");`,
},
],
},
},

Expand Down

0 comments on commit a4395ed

Please sign in to comment.