<?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>Jamie Carruthers &#187; dynamic</title>
	<atom:link href="http://www.jamiecarruthers.co.uk/tag/dynamic/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jamiecarruthers.co.uk</link>
	<description></description>
	<lastBuildDate>Sun, 15 Nov 2009 18:30:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Testing dynamic content with Google Website Optimizer</title>
		<link>http://www.jamiecarruthers.co.uk/testing-dynamic-content-with-google-website-optimizer/</link>
		<comments>http://www.jamiecarruthers.co.uk/testing-dynamic-content-with-google-website-optimizer/#comments</comments>
		<pubDate>Wed, 06 May 2009 09:36:54 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Marketing]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[website optimizer]]></category>

		<guid isPermaLink="false">http://www.jamiecarruthers.co.uk/?p=28</guid>
		<description><![CDATA[I bought a lousy book on Google Website Optimizer (Sybex&#8217;s Always Be Testing) which seems to tell me very little about how to use GWO how I want.
I wanted to implement a dynamic element to a site I have started to test &#8211; namely an order summary on a shipping page of an e-commerce store.
Of [...]]]></description>
			<content:encoded><![CDATA[<p>I bought a lousy book on Google Website Optimizer (Sybex&#8217;s Always Be Testing) which seems to tell me very little about how to use GWO how I want.</p>
<p>I wanted to implement a dynamic element to a site I have started to test &#8211; namely an order summary on a shipping page of an e-commerce store.</p>
<p>Of course, because GWO is javascript powered, any dynamic code (I&#8217;m using PHP&#8217;s Smarty but the same goes for any serverside language) will not be rendered because JS is interpreted clientside.  You can only use HTML/CSS and JS as a variation.</p>
<p>After some thinking (admittedly I should have come up with a solution a lot quicker than I did), I realised I could add in my dynamic order summary code in to my Smarty template file as normal, then in my GWO variation just add some CSS to hide it:</p>
<p>&lt;style tyle=&#8221;text/css&#8221;&gt;</p>
<p>#mydiv {display:none}</p>
<p>&lt;/style&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamiecarruthers.co.uk/testing-dynamic-content-with-google-website-optimizer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
