You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by bu...@apache.org on 2012/04/13 20:47:52 UTC
svn commit: r812813 - in /websites/staging/openofficeorg/trunk/content: ./
openofficeorg/website-local.html
Author: buildbot
Date: Fri Apr 13 18:47:52 2012
New Revision: 812813
Log:
Staging update by buildbot for openofficeorg
Modified:
websites/staging/openofficeorg/trunk/content/ (props changed)
websites/staging/openofficeorg/trunk/content/openofficeorg/website-local.html
Propchange: websites/staging/openofficeorg/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Apr 13 18:47:52 2012
@@ -1 +1 @@
-1325080
+1325901
Modified: websites/staging/openofficeorg/trunk/content/openofficeorg/website-local.html
==============================================================================
--- websites/staging/openofficeorg/trunk/content/openofficeorg/website-local.html (original)
+++ websites/staging/openofficeorg/trunk/content/openofficeorg/website-local.html Fri Apr 13 18:47:52 2012
@@ -110,6 +110,33 @@ The "legacy" OpenOffice.org site uses ht
<h2 id="version-control">Version Control</h2>
<p>We use <a href="http://subversion.apache.org">Apache Subversion</a> for version control. You can <a href="http://svn.apache.org/viewvc/incubator/ooo/site/trunk">browse the project
repository</a> or <a href="https://svn.apache.org/repos/asf/incubator/ooo/ooo-site/trunk/">browse the user portal repository</a> in your web browser.</p>
+<h2 id="google-analytics">Google Analytics</h2>
+<p>We use Google Analytics on key webpages to gather information on website
+usage patterns. This information is then used to help us prioritize what
+areas of the website should get more attention.</p>
+<p>To enable a page for Google Analytics you need to added the following block
+of JavaScript immediately before the end of the "head" element in the HTML.</p>
+<div class="codehilite"><pre><span class="nt"><script</span> <span class="na">type=</span><span class="s">"text/javascript"</span><span class="nt">></span>
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-30193653-1']);
+ _gaq.push(['_setDomainName', 'openoffice.org']);
+ _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);
+ })();
+
+<span class="nt"></script></span>
+</pre></div>
+
+
+<p>Note: This is not needed for the podling website, only for the openoffice.org pages. <br />
+</p>
+<p>It is not necessary to add this to every single web page. The greatest benefit for
+the effort comes from adding it to the key destination pages.</p>
<h2 id="making-changes-to-the-sites">Making Changes to the Sites</h2>
<h3 id="using-svn">Using SVN</h3>
<p>You can make changes to either site using svn (subversion). This typically involves