Skip to content

Commit a4395ed

Browse files
committed
feat: add clarity analytics
1 parent f73b579 commit a4395ed

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

nuxt.config.ts

+10
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,16 @@ export default defineNuxtConfig({
7070
{ name: 'description', content: appDescription },
7171
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
7272
],
73+
script: [
74+
{
75+
type: 'text/javascript',
76+
innerHTML: ` (function(c,l,a,r,i,t,y){
77+
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
78+
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
79+
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
80+
})(window, document, "clarity", "script", "kwm5q1tej7");`,
81+
},
82+
],
7383
},
7484
},
7585

0 commit comments

Comments
 (0)