www: 39e8d2a1: Setting up a new website optimizer exper...

caseyho at pidgin.im caseyho at pidgin.im
Fri Dec 19 01:31:09 EST 2008


-----------------------------------------------------------------
Revision: 39e8d2a1c6c04400b0d97851ee5f1294e3b8f7a5
Ancestor: cb2cb2a0d8a0881a8419d86af139076dd5b3725c
Author: caseyho at pidgin.im
Date: 2008-12-19T06:26:00
Branch: im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/39e8d2a1c6c04400b0d97851ee5f1294e3b8f7a5

Modified files:
        htdocs/home.php htdocs/index.php htdocs/shared/css/main.css
        inc/blurb.downloaddetect.inc inc/footer.inc

ChangeLog: 

Setting up a new website optimizer experiment with slightly different layouts and content

-------------- next part --------------
============================================================
--- htdocs/home.php	0878c568e77906c3771e4bf87bd52a4a3a9e1c0b
+++ htdocs/home.php	cf04b34fb4ac9caaa8479be9849b79167e82b3b9
@@ -1,42 +1,84 @@
 <?
+  // This file exists to act as a second version of index.php for website experiment tests.
+  // This needs to always exist, and either redirect to index.php or be the home of an experiment
+
+
   // Update these to match the current page.
   $page['title'] =   "Pidgin, the universal IM client";
   $page['section'] = "Home";
-  $page['description'] = "Pidgin is an easy to use and free IM client used by millions. Connect to AIM, Yahoo, MSN and other IM networks all at once.";
+  $page['description'] = "Pidgin is a free and easy to use IM client used by millions. Connect to AIM, MSN, Yahoo, and other IM networks all at once.";
 
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
 ?>
 
+
 <div id="content">
 
-<div class="box_home">
-<div id="left">
+<div class="box_full">
+<div id="main">
+<div></div>
 
-<div id="version"><img src="/shared/img/logo.text-big.gif" alt="Pidgin" />
-<span class="number"><? echo $pidgin_version; ?></span>
+
+<div id="sidebar">
+<!--<a href="/shared/img/blist.jpg" id="screen0" class="multibox"> -->
+  <img src="/shared/img/blist.jpg" alt="Sample IM buddy list">
+<!--  </a> -->
 </div>
 
+
+<div id="main_content">
+
+
+<h1>IM <strong>all</strong> your friends in one place</h1>
+
+
 <?
-include($_SERVER['DOCUMENT_ROOT'] . "/../inc/blurb.download.inc");
+include($_SERVER['DOCUMENT_ROOT'] . "/../inc/blurb.download_new.inc");
 ?>
 
-<p class="linkbar">
+<div class="linkbar">
+  <a href="/download/">Other Versions</a> |
   <a href="http://developer.pidgin.im/wiki/ChangeLog">ChangeLog</a> |
   <a href="http://developer.pidgin.im/wiki/FAQ" title="Frequently Asked Questions">FAQ</a>
-</p>
+</div>
 
-</div>
+<?php if($_GET['v'] == "2") { ?> 
+<p>Pidgin is an easy to use and free IM client used by millions.</p>
 
+<div style="font-size:125%">
+<ul>
+
+<li>
+<strong>One single program, all of your networks</strong><br>
+Connects to AIM, Yahoo, MSN and more.<br>
+<a href="/shared/img/im_networks.jpg" id="protocols" target="_new">View supported IM networks</a>
+</li>
+<li>
+<strong>No ads</strong><br>
+100% free and actively supported by the open source community
+</li>
+<li>
+<strong>Simple yet customizable</strong><br>
+An intuitive interface that can be extended by plugins.<br>
+<!--<a href="/shared/img/screens/account-options.jpg" id="screen4" class="multibox">View screenshots</a>-->
+
+</li>
+</ul>
+
 </div>
 
-<div class="box_home" id="right">
-<div id="main">
+<a href="/about/"><img
+src="/shared/img/button.learn-more.png" alt="Learn More" width="128"
+height="32"/></a>
 
-<h1>IM all your friends in one place</h1>
 
-<p>Pidgin is an easy to use and free IM client used by millions. Connect to AIM, MSN, Yahoo, and more IM networks all at once.</p>
+<?php } else { ?>
 
+
+<p>Pidgin is an easy to use and free IM client used by millions. Connect 
+to AIM, MSN, Yahoo, and more IM networks all at once.</p>
+
 <p>Supported IM networks:</p>
 
 <ul class="condensed">
@@ -62,12 +104,41 @@ include($_SERVER['DOCUMENT_ROOT'] . "/..
   <li>Zephyr</li>
 </ul>
 
-<p class="more"><a href="/about/"><img src="/shared/img/button.learn-more.png" alt="Learn More" width="128" height="32"/></a></p>
+<a href="/about/"><img 
+src="/shared/img/button.learn-more.png" alt="Learn More" width="128" 
+height="32"/></a>
 
+<? } ?>
+
 </div>
+
 </div>
+</div>
+</div>
 
-<!-- This will pull from somewhere else at some point -->
+<?php /*
+<div style="display:none">
+
+<div class="multiboxD protocols">Pidgin supports these IM networks.  Additional protocols are available through plugins.</div>
+
+<div class="multiboxD screen0">One buddy list, all of your IM networks</div>
+
+<div class="multiboxD screen4">Manage all your IM accounts from one menu</div>
+
+<a href="/shared/img/screens/blist-status.jpg" id="screen2" class="multibox"></a>
+<div class="multiboxD screen2">Set your status across all IM networks with a single click</div>
+
+<a href="/shared/img/screens/conversation.jpg" id="screen3" class="multibox"></a>
+<div class="multiboxD screen3">Easy to use chat/IM windows</div>
+
+<a href="/shared/img/screens/plugins.jpg" id="screen6" class="multibox"></a>
+<div class="multiboxD screen6">Many plugins are available to help tweak every aspect of Pidgin</div>
+
+
+</div>
+*/ ?>
+
+
 <!-- p class="more" id="lowblurb">We are aware of the problems connecting to ICQ with Pidgin
 2.4.2 and older. We hope to have a new release and packages out soon to fix
 this. In the meantime, if you compile Pidgin from source you can use this
============================================================
--- htdocs/index.php	89fc5b38ec840d52d0de8a01156542ea0ad5ac13
+++ htdocs/index.php	425a50eabac29775f34ba038a9efdcbc1d17fd01
@@ -14,98 +14,76 @@ d.write('<sc'+'ript src="'+
 <!-- End Google Website Optimizer tracking code -->
 
 
-
 <?
-  // This file exists to act as a second version of index.php for website experiment tests.
-  // This needs to always exist, and either redirect to index.php or be the home of an experiment
-
-
   // Update these to match the current page.
   $page['title'] =   "Pidgin, the universal IM client";
-  $page['section'] = "Home2";
-  $page['description'] = "Pidgin is a free and easy to use IM client used by millions. Connect to AIM, MSN, Yahoo, and other IM networks all at once.";
+  $page['section'] = "Home";
+  $page['description'] = "Pidgin is an easy to use and free IM client used by millions. Connect to AIM, Yahoo, MSN and other IM networks all at once.";
 
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
 ?>
 
-
 <div id="content">
 
-<div class="box_full">
-<div id="main">
-<div></div>
+<div class="box_home">
+<div id="left">
 
-<div id="main_content">
+<div id="version"><img src="/shared/img/logo.text-big.gif" alt="Pidgin" />
+<span class="number"><? echo $pidgin_version; ?></span>
+</div>
 
-
-<h1>IM <strong>all</strong> your friends in one place</h1>
-
-
 <?
-include($_SERVER['DOCUMENT_ROOT'] . "/../inc/blurb.download_new.inc");
+include($_SERVER['DOCUMENT_ROOT'] . "/../inc/blurb.download.inc");
 ?>
 
-<div class="linkbar">
-  <a href="/download/">Other Versions</a> |
-    <a href="http://developer.pidgin.im/wiki/ChangeLog">ChangeLog</a> |
-      <a href="http://developer.pidgin.im/wiki/FAQ" title="Frequently Asked Questions">FAQ</a>
-      </div>
+<p class="linkbar">
+  <a href="http://developer.pidgin.im/wiki/ChangeLog">ChangeLog</a> |
+  <a href="http://developer.pidgin.im/wiki/FAQ" title="Frequently Asked Questions">FAQ</a>
+</p>
 
-
-<p>Pidgin is an easy to use and free IM client used by millions.</p>
-
-<ul>
-
-<li>
-<strong>One single program, all of your networks</strong><br>
-Connects to AIM, Yahoo, MSN and more.<br>
-<a href="/shared/img/im_networks.jpg" id="protocols" class="multibox">View supported IM networks</a>
-</li>
-<li>
-<strong>No ads</strong><br>
-100% free and actively supported by the open source community
-</li>
-<li>
-<strong>Simple yet customizable</strong><br>
-An intuitive interface that can be extended by plugins.<br>
-<a href="/shared/img/screens/account-options.jpg" id="screen4" class="multibox">View screenshots</a>
-
-</li>
-</ul>
-
 </div>
 
-<div id="sidebar">
-<a href="/shared/img/blist.jpg" id="screen0" class="multibox">
-  <img src="/shared/img/blist.jpg" alt="Sample IM buddy list">
-</a>
 </div>
 
-</div>
-</div>
-</div>
+<div class="box_home" id="right">
+<div id="main">
 
-<div style="display:none">
+<h1>IM all your friends in one place</h1>
 
-<div class="multiboxD protocols">Pidgin supports these IM networks.  Additional protocols are available through plugins.</div>
+<p>Pidgin is an easy to use and free IM client used by millions. Connect to AIM, MSN, Yahoo, and more IM networks all at once.</p>
 
-<div class="multiboxD screen0">One buddy list, all of your IM networks</div>
+<p>Supported IM networks:</p>
 
-<div class="multiboxD screen4">Manage all your IM accounts from one menu</div>
+<ul class="condensed">
+  <li>AIM</li>
+  <li>Bonjour</li>
+  <li>Gadu-Gadu</li>
+  <li>Google Talk</li>
+  <li>Groupwise</li>
+  <li>ICQ</li>
+</ul>
+<ul class="condensed">
+  <li>IRC</li>
+  <li>MSN</li>
+  <li>MySpaceIM</li>
+  <li>QQ</li>
+  <li>SILC</li>
+</ul>
+<ul class="condensed">
+  <li>SIMPLE</li>
+  <li>Sametime</li>
+  <li>XMPP</li>
+  <li>Yahoo!</li>
+  <li>Zephyr</li>
+</ul>
 
-<a href="/shared/img/screens/blist-status.jpg" id="screen2" class="multibox"></a>
-<div class="multiboxD screen2">Set your status across all IM networks with a single click</div>
+<p class="more"><a href="/about/"><img src="/shared/img/button.learn-more.png" alt="Learn More" width="128" height="32"/></a></p>
 
-<a href="/shared/img/screens/conversation.jpg" id="screen3" class="multibox"></a>
-<div class="multiboxD screen3">Easy to use chat/IM windows</div>
-
-<a href="/shared/img/screens/plugins.jpg" id="screen6" class="multibox"></a>
-<div class="multiboxD screen6">Many plugins are available to help tweak every aspect of Pidgin</div>
-
-
 </div>
+</div>
 
+<!-- This will pull from somewhere else at some point -->
 <!-- p class="more" id="lowblurb">We are aware of the problems connecting to ICQ with Pidgin
 2.4.2 and older. We hope to have a new release and packages out soon to fix
 this. In the meantime, if you compile Pidgin from source you can use this
============================================================
--- htdocs/shared/css/main.css	3d7277750aa521d10ca66a2d7bf17814f5289ca8
+++ htdocs/shared/css/main.css	4a46b1c42801e08f82b63c902fc1edbf0d6ec8f2
@@ -91,16 +91,25 @@ a:hover, a:active {
 }
 
 /* styles related to test version of home page */
-#sidebar {
-  margin-right: 250px;
-  text-align: center;
+#main_content {
+  width: 450px;
+  margin-left: 30px;
+  margin-right: 275px;
+  height: 500px;
 }
 
-#main_content {
+#main_content .condensed {
+  margin-top: 0px;
+  width: 20%;
+}
+
+#sidebar {
   float: right;
-  width: 500px;
+  width: 270px;
+  text-align: center;
 }
 
+/*
 #main_content UL {
   font-size: 125%;
 }
@@ -108,9 +117,10 @@ a:hover, a:active {
 #main_content LI {
   padding-bottom: 0.8em;
 }
+*/
 
 #download_new {
-  padding: 5px 20px;
+  padding: 5px 00px;
   text-align: center;
   width: 388px;
   font-size: 10%;
============================================================
--- inc/blurb.downloaddetect.inc	41f23f9c878894da0933679f1e0bec5dffc07bd5
+++ inc/blurb.downloaddetect.inc	b7d33307f05b04069e3a033bcdfe008a08147f12
@@ -42,7 +42,9 @@ pageTracker._trackPageview('<? echo $dow
 {
 //_uacct = 'UA-6596609-1';
 pageTracker._trackPageview('<? echo $download_goal; ?>');
+if (typeof secondTracker != 'undefined') {
 secondTracker._trackPageview("/1527532502/goal");
+}
 return true;
 }
 // -->
============================================================
--- inc/footer.inc	d7197d722b4b50be83309bc705b0b5616fda68ef
+++ inc/footer.inc	395f176f0b309949bf7453530f246c79a2fcaced
@@ -15,10 +15,12 @@ pageTracker._trackPageview();
 pageTracker._initData();
 pageTracker._trackPageview();
 
+<?php if ($page['section'] == 'Home') { ?>
 var secondTracker = _gat._getTracker("UA-6596609-1");
 secondTracker._setDomainName(".pidgin.im");
 secondTracker._initData();
 secondTracker._trackPageview("/1527532502/test");
+<?php } ?>
 </script>
 <!-- End Google Analytics tracking code -->
 


More information about the Commits mailing list