[Swift-commit] r2601 - in www: . about apps docs downloads links papers support
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Tue Feb 24 09:18:51 CST 2009
Author: benc
Date: 2009-02-24 09:18:50 -0600 (Tue, 24 Feb 2009)
New Revision: 2601
Modified:
www/about/index.php
www/apps/index.php
www/docs/index.php
www/downloads/index.php
www/index.php
www/links/index.php
www/papers/index.php
www/support/index.php
Log:
add google analytics to main web pages
Modified: www/about/index.php
===================================================================
--- www/about/index.php 2009-02-24 15:17:29 UTC (rev 2600)
+++ www/about/index.php 2009-02-24 15:18:50 UTC (rev 2601)
@@ -50,5 +50,16 @@
</div>
<!-- end entire page container -->
+
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-106257-5");
+pageTracker._trackPageview();
+} catch(err) {}</script>
+
</body>
</html>
Modified: www/apps/index.php
===================================================================
--- www/apps/index.php 2009-02-24 15:17:29 UTC (rev 2600)
+++ www/apps/index.php 2009-02-24 15:18:50 UTC (rev 2601)
@@ -41,5 +41,14 @@
</div>
<!-- end entire page container -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-106257-5");
+pageTracker._trackPageview();
+} catch(err) {}</script>
</body>
</html>
Modified: www/docs/index.php
===================================================================
--- www/docs/index.php 2009-02-24 15:17:29 UTC (rev 2600)
+++ www/docs/index.php 2009-02-24 15:18:50 UTC (rev 2601)
@@ -123,5 +123,14 @@
</div>
<!-- end entire page container -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-106257-5");
+pageTracker._trackPageview();
+} catch(err) {}</script>
</body>
</html>
Modified: www/downloads/index.php
===================================================================
--- www/downloads/index.php 2009-02-24 15:17:29 UTC (rev 2600)
+++ www/downloads/index.php 2009-02-24 15:18:50 UTC (rev 2601)
@@ -247,5 +247,14 @@
</div>
<!-- end entire page container -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-106257-5");
+pageTracker._trackPageview();
+} catch(err) {}</script>
</body>
</html>
Modified: www/index.php
===================================================================
--- www/index.php 2009-02-24 15:17:29 UTC (rev 2600)
+++ www/index.php 2009-02-24 15:18:50 UTC (rev 2601)
@@ -92,5 +92,16 @@
<!-- end footer -->
</div>
<!-- end entire page container -->
+
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-106257-5");
+pageTracker._trackPageview();
+} catch(err) {}</script>
+
</body>
</html>
Modified: www/links/index.php
===================================================================
--- www/links/index.php 2009-02-24 15:17:29 UTC (rev 2600)
+++ www/links/index.php 2009-02-24 15:18:50 UTC (rev 2601)
@@ -70,5 +70,14 @@
</div>
<!-- end entire page container -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-106257-5");
+pageTracker._trackPageview();
+} catch(err) {}</script>
</body>
</html>
Modified: www/papers/index.php
===================================================================
--- www/papers/index.php 2009-02-24 15:17:29 UTC (rev 2600)
+++ www/papers/index.php 2009-02-24 15:18:50 UTC (rev 2601)
@@ -278,5 +278,14 @@
</div>
<!-- end entire page container -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-106257-5");
+pageTracker._trackPageview();
+} catch(err) {}</script>
</body>
</html>
Modified: www/support/index.php
===================================================================
--- www/support/index.php 2009-02-24 15:17:29 UTC (rev 2600)
+++ www/support/index.php 2009-02-24 15:18:50 UTC (rev 2601)
@@ -82,5 +82,14 @@
</div>
<!-- end entire page container -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-106257-5");
+pageTracker._trackPageview();
+} catch(err) {}</script>
</body>
</html>
More information about the Swift-commit
mailing list