Skip to content

Commit 8e4e621

Browse files
authored
Merge pull request #7 from codeXsidd/dev
SEO: Add Google Analytics tracker
2 parents dba8c07 + 8334614 commit 8e4e621

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

frontend/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@
3131
<meta property="twitter:title" content="StudyTrack — AI-Powered Student Productivity Workspace" />
3232
<meta property="twitter:description" content="Transform academic chaos into peak productivity. Beat procrastination, build routines, and study smarter with Gemini AI." />
3333
<meta property="twitter:image" content="https://studytrack-hub.vercel.app/og-image.jpg" />
34+
35+
<!-- Google tag (gtag.js) -->
36+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MZGJ1TQCZW"></script>
37+
<script>
38+
window.dataLayer = window.dataLayer || [];
39+
function gtag(){dataLayer.push(arguments);}
40+
gtag('js', new Date());
41+
42+
gtag('config', 'G-MZGJ1TQCZW');
43+
</script>
3444
</head>
3545

3646
<body>

0 commit comments

Comments
 (0)