Skip to content
Permalink
Browse files
(GEODE-1186) Geode website: reinstate Google Analytics. Per Google's…
… recommendation, relocated Google analytics snippet from footer to header.
  • Loading branch information
davebarnes97 committed Apr 8, 2016
1 parent f719338 commit 1a8fd57e36a9e15c1312b7fe8d87f32074ec8d34
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
@@ -82,15 +82,3 @@
<script type="text/javascript">
head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
</script>
<!-- update the code below for 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-45815079-1', 'apache.org');
ga('send', 'pageview');
</script> -->
@@ -39,6 +39,18 @@
<link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
<link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>

<!-- 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-63425957-1', 'auto');
ga('send', 'pageview');
</script>
<!-- end google analytics -->

<% if @community == true %>
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBYSxyIKS22zC4wSLFXZGR8QKXbGWLFwYw&sensor=false">

0 comments on commit 1a8fd57

Please sign in to comment.