[Swift-commit] r7300 - in www: about docs downloads papers

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Thu Nov 21 16:03:55 CST 2013


Author: davidk
Date: 2013-11-21 16:03:55 -0600 (Thu, 21 Nov 2013)
New Revision: 7300

Modified:
   www/about/index.php
   www/docs/index.php
   www/downloads/index.php
   www/papers/index.php
Log:
Add analytics codes to multiple pages (not just main page)


Modified: www/about/index.php
===================================================================
--- www/about/index.php	2013-11-18 22:37:24 UTC (rev 7299)
+++ www/about/index.php	2013-11-21 22:03:55 UTC (rev 7300)
@@ -8,6 +8,18 @@
 <link href="../css/style3.css" rel="stylesheet" type="text/css" />
 <script type="text/javascript" src="http://use.typekit.com/dbf2lqy.js"></script>
 <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+<!-- Google analytics -->
+<script type="text/javascript">
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-25069254-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>
 </head>
 
 <body>

Modified: www/docs/index.php
===================================================================
--- www/docs/index.php	2013-11-18 22:37:24 UTC (rev 7299)
+++ www/docs/index.php	2013-11-21 22:03:55 UTC (rev 7300)
@@ -8,6 +8,20 @@
 <link href="../css/style3.css" rel="stylesheet" type="text/css" />
 <script type="text/javascript" src="http://use.typekit.com/dbf2lqy.js"></script>
 <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+
+<!-- Google analytics -->
+<script type="text/javascript">
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-25069254-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>
+
 </head>
 
 <body>

Modified: www/downloads/index.php
===================================================================
--- www/downloads/index.php	2013-11-18 22:37:24 UTC (rev 7299)
+++ www/downloads/index.php	2013-11-21 22:03:55 UTC (rev 7300)
@@ -8,6 +8,20 @@
 <link href="../css/style3.css" rel="stylesheet" type="text/css" />
 <script type="text/javascript" src="http://use.typekit.com/dbf2lqy.js"></script>
 <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+
+<!-- Google analytics -->
+<script type="text/javascript">
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-25069254-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>
+
 </head>
 
 <body>
@@ -37,15 +51,15 @@
 
 <h2>Latest Stable Release</h2>
 <p>
-<p><b>Swift 0.94.1 RC3 - 2013/09/04</b><br><br>
+<p><b>Swift 0.94.1 - 2013/09/30</b><br><br>
 For the majority of users, this is the version you will want to download. This package
 contains the latest Stable release of Swift. Since Swift is written in Java, this
 package will run on all supported platforms with Java Runtime Environment 1.6 or greater.
 <br><br>
 Precompiled binary distribution
-[<a href="../packages/swift-0.94.1-RC3.tar.gz"
-onClick="javascript: pageTracker._trackPageview('../packages/swift-0.94.1-RC3.tar.gz');"
->swift-0.94.1-RC3.tar.gz</a>]
+[<a href="../packages/swift-0.94.1.tar.gz"
+onClick="javascript: pageTracker._trackPageview('../packages/swift-0.94.1.tar.gz');"
+>swift-0.94.1.tar.gz</a>] [<a href="../../guides/release-0.94.1/releasenotes/releasenotes.html">Release notes</a>]
 
 
 <h2>Source Code</h2>

Modified: www/papers/index.php
===================================================================
--- www/papers/index.php	2013-11-18 22:37:24 UTC (rev 7299)
+++ www/papers/index.php	2013-11-21 22:03:55 UTC (rev 7300)
@@ -9,6 +9,20 @@
 <link href="../css/style3.css" rel="stylesheet" type="text/css" />
 <script type="text/javascript" src="http://use.typekit.com/dbf2lqy.js"></script>
 <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+
+<!-- Google analytics -->
+<script type="text/javascript">
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-25069254-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>
+
 </head>
 
 <body>




More information about the Swift-commit mailing list