You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by db...@apache.org on 2016/04/07 20:33:12 UTC

incubator-geode git commit: Per Google's recommendation, relocated Google analytics snippet from footer to header.

Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-1186 479b6eaf8 -> 2f19aef5a


Per Google's recommendation, relocated Google analytics snippet from footer to header.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/2f19aef5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/2f19aef5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/2f19aef5

Branch: refs/heads/feature/GEODE-1186
Commit: 2f19aef5a1eb3ed90c6677eb85f67007e3dfdc10
Parents: 479b6ea
Author: Dave Barnes <db...@pivotal.io>
Authored: Thu Apr 7 11:33:10 2016 -0700
Committer: Dave Barnes <db...@pivotal.io>
Committed: Thu Apr 7 11:33:10 2016 -0700

----------------------------------------------------------------------
 geode-site/website/layouts/footer.html | 10 ----------
 geode-site/website/layouts/header.html | 12 ++++++++++++
 2 files changed, 12 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/2f19aef5/geode-site/website/layouts/footer.html
----------------------------------------------------------------------
diff --git a/geode-site/website/layouts/footer.html b/geode-site/website/layouts/footer.html
index ce3253b..08dc71d 100644
--- a/geode-site/website/layouts/footer.html
+++ b/geode-site/website/layouts/footer.html
@@ -82,13 +82,3 @@
 <script type="text/javascript">
     head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.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-63425957-1', 'auto');
-  ga('send', 'pageview');
-</script>

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/2f19aef5/geode-site/website/layouts/header.html
----------------------------------------------------------------------
diff --git a/geode-site/website/layouts/header.html b/geode-site/website/layouts/header.html
index 5d89d71..6edaec8 100644
--- a/geode-site/website/layouts/header.html
+++ b/geode-site/website/layouts/header.html
@@ -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">