Skip to content

Commit

Permalink
Adding/updating Google Analytics tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmidford committed Oct 8, 2023
1 parent 2538cd0 commit ba456c0
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 32 deletions.
22 changes: 9 additions & 13 deletions src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
<meta name="author" content="Peter E. Midford"/>
<link href="static/bootstrap/css/bootstrap.css" rel="stylesheet"/>
<link type="text/css" rel="stylesheet" href="static/spider-behavior.css"/>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-N1V5P8V6E0"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-N1V5P8V6E0');
</script>

</head>
<body>

Expand Down Expand Up @@ -110,19 +119,6 @@ <h3>"Words about what Spiders do"</h3>
<script type="text/javascript" src="static/bootstrap/js/bootstrap.min.js">
</script>

<!-- Google Analytics -->
<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','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-30972937-2', 'auto');
ga('send', 'pageview');

</script>
<!-- End Google Analytics -->


</body>
</html>
1 change: 1 addition & 0 deletions src/main/webapp/pages/curation.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<link type="text/css" rel="stylesheet" href="../static/spider-behavior.css"/>
</head>


<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-N1V5P8V6E0"></script>
<script>
Expand Down
18 changes: 9 additions & 9 deletions src/main/webapp/pages/ethogram_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
<meta name="author" content="Peter E. Midford"/>
<link href="../static/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
<link type="text/css" rel="stylesheet" href="../static/spider-behavior.css"/>
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-N1V5P8V6E0"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

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

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-N1V5P8V6E0"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-N1V5P8V6E0');
</script>

<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
Expand Down
19 changes: 9 additions & 10 deletions src/main/webapp/pages/function_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,17 @@
padding-bottom: 40px;
}
</style>
</head>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-N1V5P8V6E0"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-N1V5P8V6E0');
</script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-N1V5P8V6E0"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
</head>

gtag('config', 'G-N1V5P8V6E0');
</script>

<body>
List of behaviors with attributed function
Expand Down

0 comments on commit ba456c0

Please sign in to comment.