Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added google analytics to the page #188

Merged
merged 3 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/data/contributors.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
[
{
"name": "Anantraj Prasad"
},
{
"name": "Shaurya Thapliyal"
},
Expand Down
11 changes: 11 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@
<meta name="twitter:image" content="/img/logo.webp" />
<meta name="twitter:image:alt" content="Hacktoberfest Logo" />

<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-G6EQC4D6KY"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-G6EQC4D6KY');
</script>
<!-- End Google Analytics -->

<!-- Favicon -->
<link rel="icon" href="/img/favicon.ico" type="./image/x-icon" />
<link rel="shortcut icon" href="/img/favicon.ico" type="./image/x-icon" />
Expand Down