Skip to content

Commit

Permalink
Merge pull request #14 from kunalshah017/main
Browse files Browse the repository at this point in the history
Implemented Google Analytics
  • Loading branch information
kunalshah017 authored Jan 22, 2024
2 parents e357793 + b615741 commit 03e6796
Show file tree
Hide file tree
Showing 12 changed files with 107 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Main-Game/1-Childhood/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
<title>Chapter 1: Chidhood</title>
<link rel="icon" href="/assets/tab-logo.png" type="image/png">
<link rel="stylesheet" href="style.css">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18YMTT5NH5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-18YMTT5NH5');
</script>
</head>

<body>
Expand Down
9 changes: 9 additions & 0 deletions Main-Game/2-Teenage/Negative/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
<title>Chapter 2: Teenage</title>
<link rel="icon" href="/assets/tab-logo.png" type="image/png">
<link rel="stylesheet" href="style.css">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18YMTT5NH5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-18YMTT5NH5');
</script>
</head>

<body>
Expand Down
8 changes: 8 additions & 0 deletions Main-Game/2-Teenage/Positive/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@
<title>Chapter 2: Teenage</title>
<link rel="icon" href="/assets/tab-logo.png" type="image/png">
<link rel="stylesheet" href="style.css">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18YMTT5NH5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-18YMTT5NH5');
</script>
</head>

<body>
Expand Down
9 changes: 9 additions & 0 deletions Main-Game/3-Adult/Negative/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
<title>Chapter 3: Adult</title>
<link rel="icon" href="/assets/tab-logo.png" type="image/png">
<link rel="stylesheet" href="style.css">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18YMTT5NH5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-18YMTT5NH5');
</script>
</head>

<body>
Expand Down
9 changes: 9 additions & 0 deletions Main-Game/3-Adult/Positive/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
<title>Chapter 3: Adult</title>
<link rel="icon" href="/assets/tab-logo.png" type="image/png">
<link rel="stylesheet" href="style.css">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18YMTT5NH5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-18YMTT5NH5');
</script>
</head>

<body>
Expand Down
9 changes: 9 additions & 0 deletions Main-Game/4-Old/Negative/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
<title>Chapter 4: Old-Age</title>
<link rel="icon" href="/assets/tab-logo.png" type="image/png">
<link rel="stylesheet" href="style.css">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18YMTT5NH5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-18YMTT5NH5');
</script>
</head>

<body>
Expand Down
9 changes: 9 additions & 0 deletions Main-Game/4-Old/Positive/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
<title>Chapter 4: Old-Age</title>
<link rel="icon" href="/assets/tab-logo.png" type="image/png">
<link rel="stylesheet" href="style.css">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18YMTT5NH5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-18YMTT5NH5');
</script>
</head>

<body>
Expand Down
9 changes: 9 additions & 0 deletions Main-Game/5-Endings/Negative/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
<title>Chapter 4: Old-Age</title>
<link rel="icon" href="/assets/tab-logo.png" type="image/png">
<link rel="stylesheet" href="style.css">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18YMTT5NH5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-18YMTT5NH5');
</script>
</head>

<body>
Expand Down
9 changes: 9 additions & 0 deletions Main-Game/5-Endings/Positive/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
<title>Chapter 4: Old-Age</title>
<link rel="icon" href="/assets/tab-logo.png" type="image/png">
<link rel="stylesheet" href="style.css">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18YMTT5NH5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-18YMTT5NH5');
</script>
</head>

<body>
Expand Down
9 changes: 9 additions & 0 deletions Pledge-Ceartificate/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
<link
href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap"
rel="stylesheet">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18YMTT5NH5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-18YMTT5NH5');
</script>
</head>

<body>
Expand Down
9 changes: 9 additions & 0 deletions Project-Feedback/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
<link
href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap"
rel="stylesheet">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18YMTT5NH5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-18YMTT5NH5');
</script>
</head>

<body>
Expand Down
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
<style>
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');
</style>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18YMTT5NH5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-18YMTT5NH5');
</script>
</head>

<body>
Expand Down

0 comments on commit 03e6796

Please sign in to comment.