<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jon Schutz Technical Notes and Recommendations &#187; Website Optimisation</title>
	<atom:link href="http://notes.jschutz.net/topics/website-optimisation/feed/" rel="self" type="application/rss+xml" />
	<link>http://notes.jschutz.net</link>
	<description>Useful snippets technical info and recommendations</description>
	<lastBuildDate>Thu, 24 Jun 2010 07:07:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Multitouch Analytics</title>
		<link>http://notes.jschutz.net/2010/06/multitouch-analytics/</link>
		<comments>http://notes.jschutz.net/2010/06/multitouch-analytics/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 07:07:40 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Website Optimisation]]></category>

		<guid isPermaLink="false">http://notes.jschutz.net/?p=140</guid>
		<description><![CDATA[Building on some of the ideas in the SEOMoz article How To Get Past Last-Touch Attribution With Google Analytics, MultiTouch Analytics offers a way to record and report on all of the marketing channels that contribute to any given sale.  It provides a javascript library to record the touches in a cookie, and a [...]]]></description>
			<content:encoded><![CDATA[<p>Building on some of the ideas in the SEOMoz article <a href="http://www.seomoz.org/blog/how-to-get-past-last-touch-attribution-with-google-analytics">How To Get Past Last-Touch Attribution With Google Analytics</a>, <a href="http://www.multitouchanalytics.com/">MultiTouch Analytics</a> offers a way to record and report on all of the marketing channels that contribute to any given sale.  It provides a javascript library to record the touches in a cookie, and a separate <a href="http://search.cpan.org/~jjschutz/WWW-Analytics-MultiTouch/bin/multitouch_report.pl">reporting package</a> to generate reports that show the contributions to each conversion from all the marketing channels.</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.jschutz.net/2010/06/multitouch-analytics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Page Load Times and Visitor Abandonment</title>
		<link>http://notes.jschutz.net/2008/02/page-load-times-and-visitor-abandonment/</link>
		<comments>http://notes.jschutz.net/2008/02/page-load-times-and-visitor-abandonment/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 04:22:08 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Website Optimisation]]></category>

		<guid isPermaLink="false">http://notes.jschutz.net/15/website-optimisation/page-load-times-and-visitor-abandonment</guid>
		<description><![CDATA[This is some 2005 data, courtesy  http://www.marketingexperiments.com/improving-website-conversion/page-weight.html and http://www.emarketer.com/



Visitor Abandonment


Page Load Time
Percent of Users
Continuing to Wait


10 seconds
84%


15 seconds
51%


20 seconds
26%


30 seconds
5%



 What You Need To UNDERSTAND: You will lose nearly half your visitors if they have to wait longer than 15 seconds for a page to load. Only 5% of visitors will wait longer than [...]]]></description>
			<content:encoded><![CDATA[<p align="left">This is some 2005 data, courtesy  http://www.marketingexperiments.com/improving-website-conversion/page-weight.html and <a href="http://www.emarketer.com/" onclick="exit=false">http://www.emarketer.com/</a></p>
<p class="subContentLg" align="left">
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<th colspan="2">Visitor Abandonment</th>
</tr>
<tr>
<td><strong>Page Load Time</strong></td>
<td align="right"><strong>Percent of Users<br />
Continuing to Wait</strong></td>
</tr>
<tr>
<td>10 seconds</td>
<td align="right">84%</td>
</tr>
<tr>
<td>15 seconds</td>
<td align="right">51%</td>
</tr>
<tr>
<td>20 seconds</td>
<td align="right">26%</td>
</tr>
<tr>
<td>30 seconds</td>
<td align="right">5%</td>
</tr>
</table>
<p><!-- #BeginLibraryItem "/Library/p_check_image_2.lbi" --></p>
<p class="subContentLg" align="left"><img src="http://www.marketingexperiments.com/images/p_check_icon.gif" alt="Check box" class="checkImage" border="0" vspace="5" /> <!-- #EndLibraryItem --><strong>What You Need To UNDERSTAND:</strong> You will lose nearly half your visitors if they have to wait longer than 15 seconds for a page to load. Only 5% of visitors will wait longer than 30 seconds.</p>
<p class="subContentLg" align="left">In 2008, where most of the population is on broadband, I expect that visitors are less patient than ever.</p>
<p class="subContentLg" align="left">Update:  2006 data, quoted from http://www.avactis.com/forums/index.php?showtopic=238 : &#8220;The research shows that <strong>four seconds</strong> is the maximum length of time an average online shopper will wait for a Web page to load before abandoning one retail site and moving on to another.&#8221;</p>
<p class="subContentLg" align="left">&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.jschutz.net/2008/02/page-load-times-and-visitor-abandonment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE Cookie Handling Policies</title>
		<link>http://notes.jschutz.net/2007/11/ie-cookie-handling-policies/</link>
		<comments>http://notes.jschutz.net/2007/11/ie-cookie-handling-policies/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 04:38:30 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Website Optimisation]]></category>

		<guid isPermaLink="false">http://notes.jschutz.net/12/website-optimisation/ie-cookie-handling-policies</guid>
		<description><![CDATA[This is a summary of Internet Explorer settings for handling cookies, under the so-called &#8220;Privacy&#8221; options; IE6 and IE7 are the same, although some of the wording has changed in the descriptions.  It&#8217;s important to keep these in mind when issuing cookies.  The Wikipedia article on HTTP Cookies outlines some of the alternatives.

Block [...]]]></description>
			<content:encoded><![CDATA[<p>This is a summary of Internet Explorer settings for handling cookies, under the so-called &#8220;Privacy&#8221; options; IE6 and IE7 are the same, although some of the wording has changed in the descriptions.  It&#8217;s important to keep these in mind when issuing cookies.  The <a href="http://en.wikipedia.org/wiki/HTTP_cookie">Wikipedia article on HTTP Cookies</a> outlines some of the alternatives.</p>
<ul>
<li>Block All Cookies<br />
Blocks all cookies from all web sites from being accepted, and won&#8217;t send any existing cookies.Should be renamed &#8220;Unusable&#8221;.</li>
<li>High<br />
Blocks all cookies from websites that do not carry a compact privacy policy (P3P) and cookies that contain personally identifiable (contact) information.  A November 2007 study shows that only about 4% of sites use P3P, so this security setting is almost as unusable as &#8220;Block All Cookies&#8221;.</li>
<li> Medium High<br />
Same as &#8220;High&#8221; for 3rd party cookies.  Also blocks first party cookies that contain personally identifiable information.</li>
<li> Medium<br />
As above, but rather than &#8220;blocking&#8221; first party cookies that contain personally identifiable information, it only &#8220;restricts&#8221; them.  Efforts to find the difference between &#8220;block&#8221; and &#8220;restrict&#8221; have so far been fruitless.  It may mean that cookies are accepted but not sent (how useful would that be?), or that such cookies can only be used in the same web page that created them (i.e. a restriction on the domain/path components of the cookie), of that the cookies are not kept beyond the current session.</li>
<li> Low<br />
Same as  &#8220;High&#8221; for 3rd party cookies.  No restrictions on first party cookies.</li>
<li> Accept All Cookies<br />
No restrictions.</li>
</ul>
<p>In contrast, Safari (MacIntosh) allows the simple options: Accept Cookies Always/Never/Only sites you navigate to. (i.e. Always/Never/Only First Party).  Firefox by default allows all cookies except where specific exceptions have been defined.  There do not seem to be any Firefox extensions which emulate the IE or Safari behaviour &#8211; which perhaps places into perspective the real threat that third party cookies are(n&#8217;t) in general.</p>
<p><strong>References</strong></p>
<p><a href="http://www.securityspace.com/s_survey/data/man.200710/p3p.html">P3P Usage Survey</a></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.jschutz.net/2007/11/ie-cookie-handling-policies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using User Agent statistics to detect website conversion problems</title>
		<link>http://notes.jschutz.net/2007/11/using-user-agent-statistics-to-detect-website-conversion-problems/</link>
		<comments>http://notes.jschutz.net/2007/11/using-user-agent-statistics-to-detect-website-conversion-problems/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 03:00:20 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Website Optimisation]]></category>

		<guid isPermaLink="false">http://notes.jschutz.net/7/website-optimisation/using-user-agent-statistics-to-detect-website-conversion-problems</guid>
		<description><![CDATA[If it&#8217;s not tested, it doesn&#8217;t work.
This has been my long-standing mantra.  Any bit of software &#8211; be it a website or other program &#8211; if it hasn&#8217;t been tested against certain inputs, then chances are there&#8217;s a bug in there that has never been uncovered.  Browser nuances and incompatibilities are notorious for [...]]]></description>
			<content:encoded><![CDATA[<h2>If it&#8217;s not tested, it doesn&#8217;t work.</h2>
<p>This has been my long-standing mantra.  Any bit of software &#8211; be it a website or other program &#8211; if it hasn&#8217;t been tested against certain inputs, then chances are there&#8217;s a bug in there that has never been uncovered.  Browser nuances and incompatibilities are notorious for making sites look ugly, behave badly or simply not work at all.  So unless you have tested your website against all of the major browsers, you can&#8217;t be sure that there isn&#8217;t a problem with the site causing some of your users to just go away in disgust.</p>
<h2>It is impossible to test your website against every web browser out there&#8230;</h2>
<p>In a recent test, more than 30,000 different &#8220;user agent&#8221; (browser) identifiers were found in a sample of one month of data from one site &#8211; and that excludes search engine crawlers and other Internet robots.  Most, in fact, are Internet Explorer (IE) variants of some sort, with different combinations of plugins.  Here is a typical identifier:</p>
<pre>  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; .NET CLR 2.0.50727)</pre>
<p>&#8216;Mozilla/4.0&#8242; identifies the browser&#8217;s basic capabilities. MSIE 6.0 is the browser version.  Windows NT 5.1 is the operating system (though it is probably really Windows XP).  SV1 is &#8220;Security Version 1&#8243; as introduced in Windows XP Service Pack 2. InfoPath is a Microsoft Office plugin. .NET CLR &#8230; is the version of the .NET Common Language Runtime that the browser supports.</p>
<p>This is just one example; other browsers identify themselves as Mozilla/5.0, or MSIE 7.0, or Windows NT 5.0, or with other plugins/toolbars, or with multiple versions of .NET CLR, and so on.  An then there are the other browsers &#8211; Firefox, Safari, Opera, Konqueror, and many more.  There is a combinatorial explosion &#8211; and it is impossible to test every single possibility.</p>
<h2> How much testing do you need to do?</h2>
<p>Here is the mix of browser types from three different types of sites</p>
<ul>
<li>Site A: a B2B site in the electronics area, likely to be dominated by technically savvy male users, looking for products for immediate purchase</li>
<li>Site B: a general homewares and gadgets type site, representing a broad cross-section of home users</li>
<li>Site C: a women&#8217;s fashion site</li>
</ul>
<table>
<tr>
<th>Browser</th>
<th>Site A</th>
<th>Site B</th>
<th>Site C</th>
</tr>
<tr>
<td>MSIE (Total)</td>
<td>75.208%</td>
<td>80.174%</td>
<td>76.683</td>
</tr>
<tr>
<td>Firefox (Total)</td>
<td>21.204%</td>
<td>13.834%</td>
<td>17.859%</td>
</tr>
<tr>
<td>Safari (Total)</td>
<td>1.306%</td>
<td>4.913%</td>
<td>4.285%</td>
</tr>
<tr>
<td>Opera (Total)</td>
<td>1.347%</td>
<td>&nbsp;</td>
<td>0.512%</td>
</tr>
<tr>
<td>Other</td>
<td>2.139%</td>
<td>2.366%</td>
<td>2.670%</td>
</tr>
<tr>
<td colspan="4">&nbsp;</td>
</tr>
<tr>
<td>MSIE 6.0</td>
<td>49.760%</td>
<td>40.461%</td>
<td>40.088%</td>
</tr>
<tr>
<td>MSIE 7.0</td>
<td>24.984%</td>
<td>39.374%</td>
<td>35.890%</td>
</tr>
<tr>
<td>Firefox 2.0</td>
<td>19.613%</td>
<td>12.792%</td>
<td>16.472%</td>
</tr>
<tr>
<td>Firefox 1.5</td>
<td>1.025%</td>
<td>0.607%</td>
<td>0.852%</td>
</tr>
<tr>
<td>Firefox 1.0</td>
<td>0.540%</td>
<td>&nbsp;</td>
<td>0.511%</td>
</tr>
<tr>
<td>Safari 4xx</td>
<td>0.923%</td>
<td>3.894%</td>
<td>3.518%</td>
</tr>
<tr>
<td>Safari 3xx</td>
<td>&nbsp;</td>
<td>0.507%</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Opera 9.2</td>
<td>1.016%</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
<p>Clearly, testing against IE 6.0, IE 7.0 and Firefox 2.0 is mandatory, these being the dominant browsers in the market.  But what about Safari?  It could be up to 5% of your market that you are losing if your website does not work well with Safari.  And what about all of those variants &#8211; could your site test satisfactorily for IE 6.0 but be broken if the InfoPath plugin is added to the browser?  Even considering the most common browser/platform/option combinations results in a substantial number of variants, and every extra platform required for testing is an additional expense &#8211; both to maintain the test suite and to run the tests on each update.  Is there another way?</p>
<h2>A Statistical Approach</h2>
<p>Perhaps, by looking at the distribution of user agents for all the visitors on a website, and then looking at the same for those visitors that convert, it would be possible to identify any browser types that are not converting at the expected rate.  This might indicate a problem with the site for that particular browser type.</p>
<p>This of course assumes that users are equally likely to convert regardless of which type of browser they are using.  <em>As it turns out, this assumption is completely wrong.</em><br />
The following table compares browser strings at the website point of entry with browser strings at the point of transaction for site B and shows that the difference is significant.</p>
<table>
<tr>
<th>Browser</th>
<th>Visitors</th>
<th>Transactions</th>
</tr>
<tr>
<td>MSIE 7.0</td>
<td>39.374%</td>
<td>45.657%</td>
</tr>
<tr>
<td>MSIE 6.0</td>
<td>40.461%</td>
<td>38.482%</td>
</tr>
<tr>
<td>Firefox 2.0</td>
<td>12.792%</td>
<td>9.207%</td>
</tr>
<tr>
<td>Safari 4xx</td>
<td>3.894%</td>
<td>3.726%</td>
</tr>
</table>
<p>On Site B, users are generally spending their own money; one might speculate that Firefox users represent a younger (poorer) group of users and therefore convert at a lower rate, and perhaps IE 7.0 users are either cashed up and have just bought Vista, or are people who feel more comfortable transacting on the Internet because they know their computer is running the latest up-to-date software.  The statistics for Site C show Firefox users converting at half the rate of other users; in contrast, for Site A (the B2B site where users are probably spending their employer&#8217;s money, and where browsers are governed by company IT policy) the conversion rates are fairly constant across all browser types.</p>
<p>However, the basic idea of detecting problems using statistics is sound, providing two points of comparison can be found where the assumption holds that the distribution of browsers is the same.  For example, any two points within the https conversion funnel, or any two product pages, or a product page and a category page.  Or, you could take one page and compare it against the statistics for all pages in a similar section of the site.</p>
<p>The analysis proceeds as follows:</p>
<ol>
<li>Take your two data sets &#8211; the HTTP request logs comprising at least the user agent strings &#8211; one data set for each URL to be compared, and calculate the frequency statistics for the user agents in each data set.  Perl is an ideal tool for this analysis.  You will probably need about a month of data to get reliable results.</li>
<li>Where the frequency in both data sets for the same user agent is less than about 10, add this to a user agent called &#8220;Other&#8221; and throw away the original data.  Where the frequency falls below about 10, the assumptions of the chi-square test start to fail, and since this is a distribution with a very long tail, the tail errors can end up dominating the result.</li>
<li>Perform a <a href="http://notes.jschutz.net/6/statistics/testing-whether-two-distributions-are-different">chi-square test</a> to see if the distributions are different. If they are, keep going to find out where they are different.</li>
<li>Place the resulting data in a spreadsheet &#8211; frequencies of each sample, expected values, maximum errors between expected and actual frequencies (in absolute and/or relative terms).  Discard any samples where the expected values are too low to be worth considering.</li>
<li>Sort the result by error descending.  The browsers appearing at the top are causing the most trouble.</li>
</ol>
<h2>In Action</h2>
<p>This approach was applied a tracking code implementation.  A random sample of users received a cookie.  The presence of the cookie was then tested on a particular page.  The expectation was that the distribution of browsers should be the same with or without the cookie.  The results, however, showed that the distributions were different, and the final analysis pointed to the Safari browser running on Mac to be the problem per the picture below.  Tests against other sites using the same tracking code confirmed the result.  Note, though, that the site wasn&#8217;t <em>completely</em> broken on Safari, as some users had managed to acquire the cookie.  This is the type of problem that testing directly with a browser may or may not have picked up &#8211; depending on what settings the tester&#8217;s browser happened to be using.</p>
<p><img src="/images/website-conversion-results.png" height="149" width="1115" /></p>
<h2> Summary</h2>
<p>Test, validate, test, validate, then validate some more.  It is absolutely necessary to test your website with the more popular browsers, but not always sufficient.  User agent statistics provide an additional test, potentially a stronger test and definitely a cheaper test compared to manual testing, for browser-specific problems.</p>
<p><strong>References:</strong></p>
<p>http://blogs.msdn.com/ie/archive/2004/09/02/224902.aspx</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.jschutz.net/2007/11/using-user-agent-statistics-to-detect-website-conversion-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
