incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robw...@apache.org
Subject svn commit: r1307621 - /incubator/ooo/ooo-site/trunk/content/index.html
Date Fri, 30 Mar 2012 21:21:40 GMT
Author: robweir
Date: Fri Mar 30 21:21:40 2012
New Revision: 1307621

URL: http://svn.apache.org/viewvc?rev=1307621&view=rev
Log:
Slight change:  Use virtual pages rather than events

Modified:
    incubator/ooo/ooo-site/trunk/content/index.html

Modified: incubator/ooo/ooo-site/trunk/content/index.html
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/index.html?rev=1307621&r1=1307620&r2=1307621&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/index.html (original)
+++ incubator/ooo/ooo-site/trunk/content/index.html Fri Mar 30 21:21:40 2012
@@ -72,9 +72,9 @@
 	
 	
 <script type="text/javascript">
-  function recordOutboundLink(link, category, action) {
-    _gat._getTrackerByName()._trackEvent(category, action);
-    setTimeout('document.location = "' + link.href + '"', 100);
+  function recordOutboundLink(link) {
+	  
+  _gaq.push(['_trackPageview', link]);	  
   }
 </script>	
 	
@@ -102,8 +102,8 @@
 <div id="actionstatements">
   <ul>
   <li><div class="action-info"><div class="action-text action-link">
-  <h2><a name="content" href="/why/" onClick="recordOutboundLink(this, 'Outbound
Links', 'why');return false;">I want to learn more about OpenOffice.org</a></h2>
-  <p><a href="/why/" onClick="recordOutboundLink(this, 'Outbound Links', 'why');return
false;">What is OpenOffice.org? And why should I use it?</a></p>
+  <h2><a name="content" href="/why/" onClick="recordOutboundLink('why');return false;">I
want to learn more about OpenOffice.org</a></h2>
+  <p><a href="/why/" onClick="recordOutboundLink('why');return false;">What is
OpenOffice.org? And why should I use it?</a></p>
   </div></div></li>
   <li><hr/></li>
 
@@ -117,20 +117,20 @@
   <li><hr/></li>
 
   <li><div class="action-help"><div class="action-text action-link">
-  <h2><a href="/support/" onClick="recordOutboundLink(this, 'Outbound Links', 'help');return
false;">I need help with my OpenOffice.org</a></h2>
-  <p><a href="/support/" onClick="recordOutboundLink(this, 'Outbound Links', 'help');return
false;">Help is at hand whenever you need it.</a></p>
+  <h2><a href="/support/" onClick="recordOutboundLink('help');return false;">I
need help with my OpenOffice.org</a></h2>
+  <p><a href="/support/" onClick="recordOutboundLink('help');return false;">Help
is at hand whenever you need it.</a></p>
   </div></div></li>
   <li><hr/></li>
 
   <li><div class="action-extend"><div class="action-text action-link">
-  <h2><a href="/extensions/" onClick="recordOutboundLink(this, 'Outbound Links',
'extend');return false;">I want to do more with my OpenOffice.org</a></h2>
-  <p><a href="/extensions/" onClick="recordOutboundLink(this, 'Outbound Links',
'extend');return false;">Extend OpenOffice.org with additional functionality, templates
and clipart.</a></p>
+  <h2><a href="/extensions/" onClick="recordOutboundLink('extend');return false;">I
want to do more with my OpenOffice.org</a></h2>
+  <p><a href="/extensions/" onClick="recordOutboundLink('extend');return false;">Extend
OpenOffice.org with additional functionality, templates and clipart.</a></p>
   </div></div></li>
   <li><hr/></li>
 
   <li><div class="action-participate"><div class="action-text action-link">
-  <h2><a href="http://incubator.apache.org/openofficeorg/get-involved.html" onClick="recordOutboundLink(this,
'Outbound Links', 'get-involved');return false;">I want to participate in OpenOffice.org</a></h2>
-  <p><a href="http://incubator.apache.org/openofficeorg/get-involved.html" onClick="recordOutboundLink(this,
'Outbound Links', 'get-involved');return false;">  OpenOffice.org is made with help from
people all over the world. Feel free to contribute!</a></p>
+  <h2><a href="http://incubator.apache.org/openofficeorg/get-involved.html" onClick="recordOutboundLink('get-involved');return
false;">I want to participate in OpenOffice.org</a></h2>
+  <p><a href="http://incubator.apache.org/openofficeorg/get-involved.html" onClick="recordOutboundLink('get-involved');return
false;">  OpenOffice.org is made with help from people all over the world. Feel free to
contribute!</a></p>
   </div></div></li>
   <li><hr/></li>
 
@@ -143,27 +143,27 @@
   <div class="campaign">
   <h2>www.openoffice.org is now hosted by the Apache Software Foundation</h2>
   <p>Our website has migrated to infrastructure hosted by the Apache Software Foundation.
Join the 
-    <a href="http://incubator.apache.org/openofficeorg/mailing-lists.html#users-mailing-list"
onClick="recordOutboundLink(this, 'Outbound Links', 'news-1-userslist');return false;">Users
Mailing List</a> or
-    <a href="http://user.services.openoffice.org/" onClick="recordOutboundLink(this, 'Outbound
Links', 'news-1-forums');return false;">User Forums</a> if you have questions or
comments</p>
+    <a href="http://incubator.apache.org/openofficeorg/mailing-lists.html#users-mailing-list"
onClick="recordOutboundLink('news-1-userslist');return false;">Users Mailing List</a>
or
+    <a href="http://user.services.openoffice.org/" onClick="recordOutboundLink('news-1-forums');return
false;">User Forums</a> if you have questions or comments</p>
   </div>
   
   <div class="campaign">
   <h2>Keep up with Apache OpenOffice</h2>
   <p>Keep up with latest developments in OpenOffice.org and the Apache OpenOffice project
at our new
-  <a href="https://blogs.apache.org/OOo/" onClick="recordOutboundLink(this, 'Outbound
Links', 'news-2-blog');return false;">Apache OpenOffice.org blog</a> or by subscribing
to our
-    <a href="http://incubator.apache.org/openofficeorg/mailing-lists.html#announce-mailing-list"
onClick="recordOutboundLink(this, 'Outbound Links', 'news-2-announcelist');return false;">Announce
Mailing List</a>.</p>
+  <a href="https://blogs.apache.org/OOo/" onClick="recordOutboundLink('news-2-blog');return
false;">Apache OpenOffice.org blog</a> or by subscribing to our
+    <a href="http://incubator.apache.org/openofficeorg/mailing-lists.html#announce-mailing-list"
onClick="recordOutboundLink('news-2-announcelist');return false;">Announce Mailing List</a>.</p>
   </div>
   
   <div class="campaign">
   <h2>OpenOffice.org Joins Apache Incubator</h2>
   <p>On June 1, 2011, Oracle announced that it was donating OpenOffice.org's code to

-  <a href="http://www.marketwire.com/press-release/statements-on-openofficeorg-contribution-to-apache-nasdaq-orcl-1521400.htm"
onClick="recordOutboundLink(this, 'Outbound Links', 'news-3-pressrelease');return false;">The
Apache Software Foundation's Incubator.</a> 
-  The Apache OpenOffice "podling" <a href="http://incubator.apache.org/openofficeorg/"
onClick="recordOutboundLink(this, 'Outbound Links', 'news-3-incubator');return false;">http://incubator.apache.org/openofficeorg</a>
site was established on June 13, 2011.
-	  Please join us in this new phase of OpenOffice.org by subscribing to our <a href="http://incubator.apache.org/openofficeorg/mailing-lists.html"
onClick="recordOutboundLink(this, 'Outbound Links', 'news-3-mailinglist');return false;">mailing
lists</a>.</p>
+  <a href="http://www.marketwire.com/press-release/statements-on-openofficeorg-contribution-to-apache-nasdaq-orcl-1521400.htm"
onClick="recordOutboundLink('news-3-pressrelease');return false;">The Apache Software Foundation's
Incubator.</a> 
+  The Apache OpenOffice "podling" <a href="http://incubator.apache.org/openofficeorg/"
onClick="recordOutboundLink('news-3-incubator');return false;">http://incubator.apache.org/openofficeorg</a>
site was established on June 13, 2011.
+	  Please join us in this new phase of OpenOffice.org by subscribing to our <a href="http://incubator.apache.org/openofficeorg/mailing-lists.html"
onClick="recordOutboundLink('news-3-mailinglist');return false;">mailing lists</a>.</p>
   </div>
   
   <div class="campaign">
-  <h2><a href="/news" onClick="recordOutboundLink(this, 'Outbound Links', 'more-news');return
false;">More OpenOffice.org News...</a></h2>
+  <h2><a href="/news" onClick="recordOutboundLink('more-news');return false;">More
OpenOffice.org News...</a></h2>
   </div>
 
   <!--



Mime
View raw message