You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2016/05/22 07:21:18 UTC

svn commit: r1745017 - in /maven/pom/trunk/maven/src: site-docs/site.xml site/site.xml

Author: hboutemy
Date: Sun May 22 07:21:18 2016
New Revision: 1745017

URL: http://svn.apache.org/viewvc?rev=1745017&view=rev
Log:
[MPOM-125] replace old urchin tracking with Sitetools standard googleAnalytics tracking feature

Modified:
    maven/pom/trunk/maven/src/site-docs/site.xml
    maven/pom/trunk/maven/src/site/site.xml

Modified: maven/pom/trunk/maven/src/site-docs/site.xml
URL: http://svn.apache.org/viewvc/maven/pom/trunk/maven/src/site-docs/site.xml?rev=1745017&r1=1745016&r2=1745017&view=diff
==============================================================================
--- maven/pom/trunk/maven/src/site-docs/site.xml (original)
+++ maven/pom/trunk/maven/src/site-docs/site.xml Sun May 22 07:21:18 2016
@@ -21,7 +21,7 @@ under the License.
 
 <project xmlns="http://maven.apache.org/DECORATION/1.7.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/DECORATION/1.7.0 http://maven.apache.org/xsd/decoration-1.7.0.xsd">
-
+<!-- Start copy/paste of src/site/site.xml: inheritance does not work here because of src/site-docs hack -->
   <bannerLeft>
     <name>${project.name}</name>
     <src>https://maven.apache.org/images/apache-maven-project.png</src>
@@ -39,6 +39,8 @@ under the License.
     <version>1.5</version>
   </skin>
 
+  <googleAnalyticsAccountId>UA-140879-1</googleAnalyticsAccountId>
+
   <custom>
     <fluidoSkin>
       <sourceLineNumbersEnabled>true</sourceLineNumbersEnabled>
@@ -51,16 +53,9 @@ under the License.
 
   <publishDate position="right" />
   <version position="right" />
+<!-- End copy/paste of src/site/site.xml -->
 
   <body>
-    <head><![CDATA[
-      <script src="https://www.google-analytics.com/urchin.js" type="text/javascript">
-      </script>
-      <script type="text/javascript">
-        _uacct = "UA-140879-1";
-        urchinTracker();
-      </script>]]>
-    </head>
 
     <breadcrumbs>
       <item name="Apache" href="https://www.apache.org/" />

Modified: maven/pom/trunk/maven/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/pom/trunk/maven/src/site/site.xml?rev=1745017&r1=1745016&r2=1745017&view=diff
==============================================================================
--- maven/pom/trunk/maven/src/site/site.xml (original)
+++ maven/pom/trunk/maven/src/site/site.xml Sun May 22 07:21:18 2016
@@ -38,6 +38,8 @@ under the License.
     <version>1.5</version>
   </skin>
 
+  <googleAnalyticsAccountId>UA-140879-1</googleAnalyticsAccountId>
+
   <custom>
     <fluidoSkin>
       <sourceLineNumbersEnabled>true</sourceLineNumbersEnabled>
@@ -52,13 +54,6 @@ under the License.
   <version position="right" />
 
   <body>
-    <head>
-<![CDATA[<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script>
-      <script type="text/javascript">
-        _uacct = "UA-140879-1";
-        urchinTracker();
-      </script>]]>
-    </head>
 
     <!-- Breadcrumbs that every project will inherit -->
     <breadcrumbs>