Skip to content

Commit

Permalink
Moving Google Analytics code back to index
Browse files Browse the repository at this point in the history
Having issues with hits not logging
  • Loading branch information
ostyn committed Jan 19, 2017
1 parent 07ed462 commit ef9fcc3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 10 additions & 0 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="src/styles/styles.css">
<link href='https://fonts.googleapis.com/css?family=Bad+Script' rel='stylesheet' type='text/css'>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-82516304-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<center class="splash">
</br>
Expand Down
10 changes: 0 additions & 10 deletions frontend/src/app.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
<template>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic'
rel='stylesheet' type='text/css'>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-82516304-1', 'auto');
ga('send', 'pageview');
</script>
<require from="./widgets/nav-bar"></require>
<require from="./widgets/info-section"></require>
<require from="./widgets/loading-indicator"></require>
Expand Down

0 comments on commit ef9fcc3

Please sign in to comment.