Skip to content

Commit

Permalink
Added analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
NedWilbur committed Nov 4, 2020
1 parent 3f81b56 commit f083cf5
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions public/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IsItWorthWatching</title>
<link rel="stylesheet" href="style.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3KNQM2S4TR"></script>
<script>
window.dataLayer = window.dataLayer || [];

function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());

gtag('config', 'G-3KNQM2S4TR');
</script>
</head>

<body>
Expand Down
12 changes: 12 additions & 0 deletions public/beer.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IsItWorthWatching</title>
<link rel="stylesheet" href="style.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3KNQM2S4TR"></script>
<script>
window.dataLayer = window.dataLayer || [];

function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());

gtag('config', 'G-3KNQM2S4TR');
</script>
</head>

<body>
Expand Down
12 changes: 12 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@
<title>IsItWorthWatching</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3KNQM2S4TR"></script>
<script>
window.dataLayer = window.dataLayer || [];

function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());

gtag('config', 'G-3KNQM2S4TR');
</script>
</head>

<body>
Expand Down

0 comments on commit f083cf5

Please sign in to comment.