helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject git commit: add google analytics
Date Fri, 01 Feb 2013 23:19:26 GMT
Updated Branches:
  refs/heads/master a8ee977be -> 75ebabaa5


add google analytics


Project: http://git-wip-us.apache.org/repos/asf/incubator-helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-helix/commit/75ebabaa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/75ebabaa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/75ebabaa

Branch: refs/heads/master
Commit: 75ebabaa517ceeac7a04c753ff1c6d482904b01d
Parents: a8ee977
Author: olivier lamy <olamy@apache.org>
Authored: Sat Feb 2 00:18:51 2013 +0100
Committer: olivier lamy <olamy@apache.org>
Committed: Sat Feb 2 00:19:17 2013 +0100

----------------------------------------------------------------------
 src/site/site.xml |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/75ebabaa/src/site/site.xml
----------------------------------------------------------------------
diff --git a/src/site/site.xml b/src/site/site.xml
index 1db3303..aa9619a 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -35,6 +35,23 @@
 
   <body>
 
+    <head>
+      <script type="text/javascript">
+
+        var _gaq = _gaq || [];
+        _gaq.push(['_setAccount', 'UA-3211522-12']);
+        _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>
+
+    </head>
+
     <breadcrumbs position="left">
       <item name="Apache Helix" href="http://helix.incubator.apache.org/"/>
     </breadcrumbs>


Mime
View raw message