<?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>marcellus &#187; google analytics</title>
	<atom:link href="http://blog.marcellus.tv/tag/google-analytics/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.marcellus.tv</link>
	<description>the marcellus blog</description>
	<lastBuildDate>Thu, 04 Feb 2010 03:11:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google analytics: Tracking conversions across subdomains</title>
		<link>http://blog.marcellus.tv/google-analytics-tracking-conversions-across-subdomains/</link>
		<comments>http://blog.marcellus.tv/google-analytics-tracking-conversions-across-subdomains/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 08:31:59 +0000</pubDate>
		<dc:creator>Preetam</dc:creator>
				<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[conversions]]></category>
		<category><![CDATA[funnel]]></category>
		<category><![CDATA[goal]]></category>
		<category><![CDATA[google analytics]]></category>

		<guid isPermaLink="false">http://blog.marcellus.tv/?p=280</guid>
		<description><![CDATA[We&#8217;ve recently had to break something of a sweat in figuring out how to track conversions using Google analytics, when the goal funnel involves sub-domains.
In case anyone else runs into similar problems, here&#8217;s what you do:
1) Add this line(in BOLD, below) to your Google Analytics code, on both the starting page(step 1) as well as [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.marcellus.tv%2Fgoogle-analytics-tracking-conversions-across-subdomains%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.marcellus.tv%2Fgoogle-analytics-tracking-conversions-across-subdomains%2F" height="61" width="51" /></a></div><p>We&#8217;ve recently had to break something of a sweat in figuring out how to track conversions using Google analytics, when the goal funnel involves sub-domains.</p>
<p>In case anyone else runs into similar problems, here&#8217;s what you do:</p>
<p>1) Add this line(in BOLD, below) to your Google Analytics code, on both the starting page(step 1) as well as the conversion page(step 2).</p>
<p><code>&lt;script type="text/javascript"&gt;<br />
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");<br />
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));<br />
&lt;/script&gt;<br />
&lt;script type="text/javascript"&gt;<br />
try{<br />
var pageTracker = _gat._getTracker("UA-xxxxxx-x");<br />
<strong>pageTracker._setDomainName(".example.com");</strong><br />
pageTracker._trackPageview();<br />
} catch(err) {}<br />
&lt;/script&gt; </code></p>
<p>2. Then, if your start page(where visitors land) is: http://mydomain.com/start/index.php and your conversion page(where people land after signup or something like that) is: http://sub.mydomain.com/welcome/index.php, then you specify your funnel as:</p>
<p>Step 1: www.mydomain.com/start/index.php</p>
<p>Step 2: sub.mydomain.com/welcome/index.php</p>
<p>3.  That&#8217;s it. You&#8217;re done.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.marcellus.tv/google-analytics-tracking-conversions-across-subdomains/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
