Skip to content

Commit

Permalink
Merge pull request #34 from TheJacksonLaboratory/task/G3-497-re-enabl…
Browse files Browse the repository at this point in the history
…e-google-analytics

Fixing google analytics
  • Loading branch information
bergsalex authored Dec 20, 2024
2 parents 9d1c6bb + 8399ead commit 756656a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "geneweaver-legacy"
version = "1.5.5"
version = "1.5.6"
description = ""
authors = ["Alexander Berger <[email protected]>"]
readme = "README.md"
Expand Down
24 changes: 9 additions & 15 deletions src/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,6 @@
<script type="text/javascript" src="{{ url_for('static', filename='js/jquery-1.11.1.min.js') }}"></script>
<script type="text/javascript" src="{{ url_for('static', filename='js/ode.js') }}"></script>
<script type="text/javascript" src="{{ url_for('static', filename='js/geneweaver.js') }}"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-238758-4']);
_gaq.push(['_setDomainName', 'geneweaver.org']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
Expand Down Expand Up @@ -184,6 +169,15 @@

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

gtag('config', 'G-RKW9S239WY');
</script>
<body>
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation" style="padding:5px;">
<div class="navbar-header">
Expand Down

0 comments on commit 756656a

Please sign in to comment.