Skip to content

Commit

Permalink
added analytics and fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Liv Green authored and Liv Green committed Aug 2, 2019
1 parent fb78585 commit 1542871
Show file tree
Hide file tree
Showing 7 changed files with 298 additions and 219 deletions.
14 changes: 14 additions & 0 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@
<title>About</title>
<link rel="stylesheet" href="app.css" />
<link rel="stylesheet" href="about.css" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-145050363-2"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "UA-145050363-2");
</script>
</head>
<body>
<div id="about-container">
Expand Down
14 changes: 14 additions & 0 deletions end.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Congrats!</title>
<link rel="stylesheet" href="app.css" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-145050363-2"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "UA-145050363-2");
</script>
</head>
<body>
<div class="container">
Expand Down
9 changes: 9 additions & 0 deletions game.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
<title>Lamb Quiz</title>
<link rel="stylesheet" href="app.css">
<link rel="stylesheet" href="game.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-145050363-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-145050363-2');
</script>
</head>
<body>
<div class="container">
Expand Down
Loading

0 comments on commit 1542871

Please sign in to comment.