geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [21/50] [abbrv] incubator-geode git commit: (GEODE-1186) Geode website: reinstate Google Analytics. Per Google's recommendation, relocated Google analytics snippet from footer to header.
Date Tue, 12 Apr 2016 17:43:11 GMT
    (GEODE-1186) Geode website: reinstate Google Analytics. 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/dd9e5af4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/dd9e5af4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/dd9e5af4

Branch: refs/heads/feature/GEODE-1162
Commit: dd9e5af4b4324e5511d170238f6532217384e15b
Parents: 3d38ec5
Author: Dave Barnes <dbarnes@pivotal.io>
Authored: Fri Apr 8 11:04:40 2016 -0700
Committer: Dave Barnes <dbarnes@pivotal.io>
Committed: Fri Apr 8 11:04:40 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/dd9e5af4/geode-site/website/layouts/footer.html
----------------------------------------------------------------------
diff --git a/geode-site/website/layouts/footer.html b/geode-site/website/layouts/footer.html
index 3d31236..08dc71d 100644
--- a/geode-site/website/layouts/footer.html
+++ b/geode-site/website/layouts/footer.html
@@ -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> -->

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/dd9e5af4/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">


Mime
View raw message