Skip to content

Commit

Permalink
added google analytics to the page (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
anantrajjj authored Oct 25, 2024
1 parent fbb635c commit e6373d4
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
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
13 changes: 11 additions & 2 deletions src/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,16 @@
content="Contribute to Hacktoberfest by editing the HacktoberWall mural and become part of the open-source community!" />
<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 Expand Up @@ -134,4 +143,4 @@ <h2>Contact Us</h2>

</body>

</html>
</html>
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
11 changes: 11 additions & 0 deletions src/tos.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

0 comments on commit e6373d4

Please sign in to comment.