<?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>wangarific &#187; Blog Advanced</title>
	<atom:link href="http://www.wangarific.com/category/blog-advanced/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wangarific.com</link>
	<description>the internet is always open</description>
	<lastBuildDate>Wed, 04 Jan 2012 14:11:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Google Analytics Visit vs. Absolute Unique Visit</title>
		<link>http://www.wangarific.com/google-analytics-visit-vs-absolute-unique-visit/</link>
		<comments>http://www.wangarific.com/google-analytics-visit-vs-absolute-unique-visit/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 12:23:00 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Blog Advanced]]></category>
		<category><![CDATA[Analytics]]></category>
		<category><![CDATA[Unique Visit]]></category>
		<category><![CDATA[Visit]]></category>

		<guid isPermaLink="false">http://www.wangarific.com/?p=407</guid>
		<description><![CDATA[In Google Analytics, there are two &#8220;visit&#8221; metrics &#8211; an absolute unique visit and a &#8220;regular&#8221; visit. Google Analytics uses cookies to help track visitors to your site and the use of these cookies is crucial in incrementing visit and absolute unique visit counts. If you&#8217;ve ever wondered what the difference was and how they&#8217;re [...]<p><a href="http://www.wangarific.com/google-analytics-visit-vs-absolute-unique-visit/">Google Analytics Visit vs. Absolute Unique Visit</a> is a post from: <a href="http://www.wangarific.com">wangarific</a></p>
]]></description>
			<content:encoded><![CDATA[<p>In Google Analytics, there are two &#8220;visit&#8221; metrics &#8211; an absolute unique visit and a &#8220;regular&#8221; visit. Google Analytics uses cookies to help track visitors to your site and the use of these cookies is crucial in incrementing visit and absolute unique visit counts. If you&#8217;ve ever wondered what the difference was and how they&#8217;re counted, you&#8217;ll be pleased to know the answer is quite simple.</p>
<h2>Absolute Unique Visit</h2>
<p>Google Analytics, using javascript, will deliver a cookie to your browser that helps establish a session. For the purposes of unique visits, <em>__utma</em> is used. The <em>__utma</em> cookie expires in <strong>two years</strong>, meaning someone who visits the site every single day for two years will only be counted as one absolute unique visitor. </p>
<p>In reality, he or she will probably visit from several browsers (each maintains their own cookies) and will probably clear cookies several times over the next two years (or their anti-spyware apps will do it for them), but theoretically the above could hold true.</p>
<h2>Visits</h2>
<p>A visit is merely a &#8220;user session&#8221; and that is stored as <em>__utmb</em>, which has an expiration of thirty minutes. If a user visits your site and then does nothing for more than thirty minutes, then the cookie expires. The next time they load the page, Analytics will see that it has expired and write a new one, thus incrementing your visits by one.</p>
<p>It&#8217;s unclear how the two metrics are affected if users block the setting of cookies. I tried looking online but couldn&#8217;t find a definite answer but intuition would lead me to believe that a user who blocks cookies would always be counted as a unique visitor (and thus a visitor). You would lose tracking of their behavior, since there&#8217;s no session cookie to tell Analytics where they&#8217;ve been, but you&#8217;d have correct-ish visit counts. Fortunately the number of people rejecting cookies is fairly small.</p>
<p>Here is a <a href="http://code.google.com/apis/analytics/docs/concepts/gaConceptsCookies.html">detailed discussion of Cookies and Google Analytics</a>, which should answer pretty much any question you could possibly have, and a fantastic primer on <a href="http://www.kaushik.net/avinash/2008/07/web-analytics-visitor-tracking-cookies.html">cookies and tracking overall</a>.</p>
<p><a href="http://www.wangarific.com/google-analytics-visit-vs-absolute-unique-visit/">Google Analytics Visit vs. Absolute Unique Visit</a> is a post from: <a href="http://www.wangarific.com">wangarific</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wangarific.com/google-analytics-visit-vs-absolute-unique-visit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why I Dropped Homepage Google Adsense</title>
		<link>http://www.wangarific.com/why-i-dropped-homepage-google-adsense/</link>
		<comments>http://www.wangarific.com/why-i-dropped-homepage-google-adsense/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 12:41:47 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Blog Advanced]]></category>
		<category><![CDATA[Google Adsense]]></category>
		<category><![CDATA[Monetization]]></category>
		<category><![CDATA[User Experience]]></category>

		<guid isPermaLink="false">http://www.wangarific.com/?p=239</guid>
		<description><![CDATA[Your site&#8217;s regular readership is its lifeblood, you should always strive to give them what they want and keep them coming back for more. They are the folks who take time out of their day to email you, to comment on your articles, to tell you when your wrong and to tell you when you&#8217;re [...]<p><a href="http://www.wangarific.com/why-i-dropped-homepage-google-adsense/">Why I Dropped Homepage Google Adsense</a> is a post from: <a href="http://www.wangarific.com">wangarific</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Your site&#8217;s regular readership is its lifeblood, you should always strive to give them what they want and keep them coming back for more. They are the folks who take time out of their day to email you, to comment on your articles, to tell you when your wrong and to tell you when you&#8217;re right. Without them, your site would a lifeless collection of posts that really, lets be honest, are otherwise unremarkable. With readers and their own insightful comments, your posts become much richer, provide more value, and are probably more interesting. <img src='http://www.wangarific.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So with that mantra always in my mind, I&#8217;m always striving to improve the user experience because I want to make the site the best it can be. That&#8217;s why I try to <a href="http://www.wangarific.com/improve-site-speed-with-yslow/">make it faster using tips from YSlow</a> and why I, about a year and a half ago, decided to remove Google Adsense from Bargaineering.com&#8217;s homepage.</p>
<h2>Metrics Don&#8217;t Lie</h2>
<p>Metrics will always lead the way in any justification and this case is no exception. My hypothesis was that regularly readers were hitting the homepage and thus less likely to click on advertisements. Search engine and new visitors, those more likely to click on Adsense, would predominately be visit individual posts. Fortunately testing this theory was easy, I had separate channels for the two left sidebar skyscrapers on the homepage and for the two skyscrapers on individual posts. Each were the 120&#215;600 blocks.</p>
<p>June 2008 was the last month I had Adsense on the homepage and CTR figures were (these are not the actual CTR figures but the ratios are correct):</p>
<ul>
<li>Upper homepage skyscraper &#8211; 2.56%</li>
<li>Lower homepage skyscraper &#8211; 1.00%</li>
<li>Upper individual skyscraper &#8211; 29.77%</li>
<li>Lower individual skyscraper &#8211; 3.33%</li>
</ul>
<p><em>Don&#8217;t focus on the numbers themselves because they&#8217;re not the actual CTRs, just focus on the ratios. One ad block did <strong>not</strong> get a near 30% CTR&#8230; <img src='http://www.wangarific.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></p>
<p>As you can see, the homepage ads performed horrible compared to the individual ads &#8211; as expected. In fact, the lower placed individual skyscraper beat the higher placed skyscraper on the homepage &#8211; further cementing the idea that homepage visitors simply don&#8217;t click on advertisements.</p>
<h2>Revenue</h2>
<p>When you looked at revenue, the difference was even more pronounced (again, no actuals but ratios):</p>
<ul>
<li>Upper homepage skyscraper &#8211; $2.89</li>
<li>Lower homepage skyscraper &#8211; $1.00</li>
<li>Upper individual skyscraper &#8211; $67.95</li>
<li>Lower individual skyscraper &#8211; $14.00</li>
</ul>
<p>If I had to keep only one adsense block, I&#8217;d keep the upper individual skyscraper. Fortunately, I can decide to keep them all and I made the decision that it was better for the user if I removed homepage ads. In the end, it wouldn&#8217;t cost me much and I felt it made for a cleaner experience.</p>
<p>Have you made the switch to an ad-free homepage? If so, did you do a similar analysis? It not, have you considered it?</p>
<p><a href="http://www.wangarific.com/why-i-dropped-homepage-google-adsense/">Why I Dropped Homepage Google Adsense</a> is a post from: <a href="http://www.wangarific.com">wangarific</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wangarific.com/why-i-dropped-homepage-google-adsense/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Tutorial: Integrating Google Website Optimizer and WordPress</title>
		<link>http://www.wangarific.com/tutorial-integrating-google-website-optimizer-and-wordpress/</link>
		<comments>http://www.wangarific.com/tutorial-integrating-google-website-optimizer-and-wordpress/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 21:49:40 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Blog Advanced]]></category>
		<category><![CDATA[Google Website Optimizer]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Website Optimization]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.wangarific.com/?p=170</guid>
		<description><![CDATA[Google Website Optimizer is absolutely incredible. If you do any split testing at all, you can recognize the absolute gem that is the optimizer platform offers. Setting it up to work with WordPress does take a little bit of work but once you establish this framework, subsequent efforts will become very easy. Incidentally, you can&#8217;t [...]<p><a href="http://www.wangarific.com/tutorial-integrating-google-website-optimizer-and-wordpress/">Tutorial: Integrating Google Website Optimizer and WordPress</a> is a post from: <a href="http://www.wangarific.com">wangarific</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Google Website Optimizer is absolutely incredible. If you do any split testing at all, you can recognize the absolute gem that is the optimizer platform offers. Setting it up to work with WordPress does take a little bit of work but once you establish this framework, subsequent efforts will become very easy.</p>
<p>Incidentally, you can&#8217;t use this to split test Adsense because Adsense won&#8217;t let you track clicks in this way. To <a href="http://www.wangarific.com/how-to-easily-split-test-adsense-block-palettes/">split test Adsense</a>, using a simple rand() function and an if clause is sufficient.</p>
<p>There are three steps to the process:</p>
<ul>
<li><strong>Post Modifications:</strong> This section will explain what you need to do on individual posts to get tracking enabled.</li>
<li><strong>Header Modifications:</strong> For the Optimization code to work, there is a javascript snippet you need to add to the header of each post. This snippet is custom to each test, so we need to pass some variable around to set the test number variable.</li>
<li><strong>Footer Modifications:</strong> Much like the header code, there is footer code that serves the same function.</li>
</ul>
<h2>Post Modifications</h2>
<p>In the Custom Fields I create two new variables:</p>
<ul>
<li><strong>showOptimizer</strong> &#8211; This will be set to 1 whenever I want the optimizer code to be included for a post. By default, when it&#8217;s not set, it&#8217;s a 0.</li>
<li><strong>GWOtestNumber</strong> &#8211; This is the Google Website Optimizer test variable number. When you setup your test, one of the steps will include all the code you need to put on your site. Look in the Conversion Script (the last block of code) for something that says <strong>_trackPageview(&#8220;/XXXXXXXXX/goal&#8221;);</strong> &#8211; that&#8217;s the number you set here.</li>
</ul>
<p>These variables will tell other code snippets in your header.php and footer.php how to create the Control Script (header) and Tracking Script (footer).</p>
<p><strong>Tracking User Actions:</strong> In the post itself, you need to add<br />
<code>onClick="javascript: pageTracker._trackPageview('/XXXXXXXXX/goal');" </code><br />
to each click you want to track (without the carriage return/line wrap, it should be one line). Replace XXXXXXXXX with the GWOtestNumber.</p>
<p>For example, on a link the link will now look like this:<br />
<code>&lt;a href="http://www.google.com" onClick="javascript: pageTracker._trackPageview('/XXXXXXXXX/goal');">Google.com&lt;/a></code></p>
<p><strong>Identify Split Test page Sections:</strong> Finally, throw this code around the section(s) you&#8217;re going to be split testing. This goes in the beginning:<br />
<code>&lt;script>utmx_section("Test Section A")&lt;/script></code><br />
And this goes after it:<br />
<code>&lt;/noscript></code></p>
<p>Change the text (Test Section A) to something that makes sense to you.</p>
<p>Later, through the GWO system, you can create the other versions.</p>
<h2>Header Modifications</h2>
<p>The header is getting a modified version of the Control Script, with the underlined section of the original replaced with an echo of a post Custom Field. Confirm the code is correct with the code you get from Google Website Optimizer, they may have made some changes. You&#8217;re replacing the K test number value with the one you set as a Custom field, then adding some conditional code around it to only display this code if you are running optimizations on it.</p>
<p><code>&lt;?php<br />
$showOpt = get_post_custom_values('showOptimizer');<br />
if ($showOpt) {<br />
$GWOTestNumber = get_post_custom_values('GWOtestNumber');<br />
?><br />
&lt;script><br />
function utmx_section(){}function utmx(){}<br />
(function(){var k='<u>&lt;?php echo $GWOTestNumber[0];?> </u>',d=document,l=d.location,c=d.cookie;function f(n){<br />
if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.indexOf(';',i);return c.substring(i+n.<br />
length+1,j&lt;0?c.length:j)}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;<br />
d.write('&lt;sc'+'ript src="'+<br />
'http'+(l.protocol=='https:'?'s://ssl':'://www')+'.google-analytics.com'<br />
+'/siteopt.js?v=1&#038;utmxkey='+k+'&#038;utmx='+(x?x:'')+'&#038;utmxx='+(xx?xx:'')+'&#038;utmxtime='<br />
+new Date().valueOf()+(h?'&#038;utmxhash='+escape(h.substr(1)):'')+<br />
'" type="text/javascript" charset="utf-8">&lt;/sc'+'ript>')})();<br />
&lt;/script><br />
&lt;? } ?></code></p>
<h2>Footer Modifications</h2>
<p>The footer is getting a modified version of the Tracking Script, with the bolded section of the original replaced with an echo of a post Custom Field. Again, confirm the code is correct with the code you get from Google Website Optimizer, they may have made some changes.</p>
<p><code>&lt;?php<br />
$showOpt = get_post_custom_values('showOptimizer');<br />
if ($showOpt){<br />
 $GWOTestNumber = get_post_custom_values('GWOtestNumber');<br />
?><br />
&lt;script type="text/javascript"><br />
if(typeof(_gat)!='object')document.write('&lt;sc'+'ript src="http'+<br />
(document.location.protocol=='https:'?'s://ssl':'://www')+<br />
'.google-analytics.com/ga.js">&lt;/sc'+'ript>')&lt;/script><br />
&lt;script type="text/javascript"><br />
try {<br />
var pageTracker=_gat._getTracker("UA-4422524-4");<br />
pageTracker._trackPageview("/<u>&lt;?php echo $GWOTestNumber[0];?></u> /test");<br />
}catch(err){}&lt;/script><br />
&lt;?php } ?></code></p>
<p>It sounds complicated but if you walk through it step by step, it should work. Now, whenever you want to do some GWO testing on a particular page, add/set showOptimizer to 1, add the GWOtestNumber, and set the brackets around your test area and you should be ready to go.</p>
<p>Let me know if you run into any problems or see an error in the code snippets.</p>
<p><a href="http://www.wangarific.com/tutorial-integrating-google-website-optimizer-and-wordpress/">Tutorial: Integrating Google Website Optimizer and WordPress</a> is a post from: <a href="http://www.wangarific.com">wangarific</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wangarific.com/tutorial-integrating-google-website-optimizer-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

