You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by om...@apache.org on 2011/11/22 07:56:41 UTC

svn commit: r1204830 - in /incubator/ambari/trunk: CHANGES.txt src/site/site.xml

Author: omalley
Date: Tue Nov 22 06:56:40 2011
New Revision: 1204830

URL: http://svn.apache.org/viewvc?rev=1204830&view=rev
Log:
  AMBARI-134. Add Google analytics to the site. (omalley)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/src/site/site.xml

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1204830&r1=1204829&r2=1204830&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Tue Nov 22 06:56:40 2011
@@ -2,7 +2,10 @@ Ambari Change log
 
 Release 0.1.0 - unreleased
 
-  AMBARI-132. Fix update agent environment script location. (Ahmed Fathalla via Eric Yang)
+  AMBARI-134. Add Google analytics to the site. (omalley)
+
+  AMBARI-132. Fix update agent environment script location. (Ahmed
+  Fathalla via Eric Yang)
 
   AMBARI-131. Fixed post installation script for Ambari Agent. (Eric Yang)
 
@@ -14,11 +17,14 @@ Release 0.1.0 - unreleased
 
   AMBARI-126. Minor fixes to the FSM invocations (ddas)
 
-  AMBARI-125. Recover the the state of existing clusters after controller restart (vgogate)
+  AMBARI-125. Recover the the state of existing clusters after
+  controller restart (vgogate)
 
-  AMBARI-124. Add Zookeeper Data store and persist the cluster definitions across controller restart (vgogate)
+  AMBARI-124. Add Zookeeper Data store and persist the cluster
+  definitions across controller restart (vgogate)
 
-  AMBARI-116. Change the name group to provider in hadoop-security-0.xml stack definition (vgogate)
+  AMBARI-116. Change the name group to provider in
+  hadoop-security-0.xml stack definition (vgogate)
 
   AMBARI-120. Fixed REST resource annotation bugs. (Eric Yang)
 

Modified: incubator/ambari/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/src/site/site.xml?rev=1204830&r1=1204829&r2=1204830&view=diff
==============================================================================
--- incubator/ambari/trunk/src/site/site.xml (original)
+++ incubator/ambari/trunk/src/site/site.xml Tue Nov 22 06:56:40 2011
@@ -24,6 +24,26 @@
     <href>http://incubator.apache.org/ambari</href>
   </bannerLeft>
   <body>
+    <head>
+       <!-- Start of Google analytics -->
+       <script type="text/javascript">
+         var _gaq = _gaq || [];
+         _gaq.push(['_setAccount', 'UA-27188762-1']);
+         _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>
+       <!-- End of Google analytics -->
+    </head>
+
     <links>
       <item name="Apache" href="http://www.apache.org/" />
       <item name="Hadoop" href="http://hadoop.apache.org/"/>