<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>《设置Google Analytics追踪子域名流量》的评论</title>
	<atom:link href="http://www.jefflei.com/post/403.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jefflei.com/post/403.html</link>
	<description></description>
	<lastBuildDate>Sat, 17 Dec 2011 09:45:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>作者：月嫂</title>
		<link>http://www.jefflei.com/post/403.html/comment-page-1#comment-97</link>
		<dc:creator>月嫂</dc:creator>
		<pubDate>Thu, 06 May 2010 01:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wp/?p=403#comment-97</guid>
		<description>不错，写的很好。学习了。</description>
		<content:encoded><![CDATA[<p>不错，写的很好。学习了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Cresty</title>
		<link>http://www.jefflei.com/post/403.html/comment-page-1#comment-33</link>
		<dc:creator>Cresty</dc:creator>
		<pubDate>Tue, 14 Jul 2009 20:05:37 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wp/?p=403#comment-33</guid>
		<description>_initData()是将数据初始化的意思，也就是让pagaTracker._setDomainName(&quot;splashx.com&quot;); 这个语句起作用，即将改变后的域名写入数据库中。不加，则数据库中数据不变，相当于没有改变过域名。</description>
		<content:encoded><![CDATA[<p>_initData()是将数据初始化的意思，也就是让pagaTracker._setDomainName(“splashx.com”); 这个语句起作用，即将改变后的域名写入数据库中。不加，则数据库中数据不变，相当于没有改变过域名。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：inetdemon</title>
		<link>http://www.jefflei.com/post/403.html/comment-page-1#comment-26</link>
		<dc:creator>inetdemon</dc:creator>
		<pubDate>Sat, 30 May 2009 13:28:06 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wp/?p=403#comment-26</guid>
		<description>你说的对，需要加_initData();这行，我们实际使用的代码中确实是有这行的。我已经更新博客，不知道你现在能在报表中显示出子域名了吗？</description>
		<content:encoded><![CDATA[<p>你说的对，需要加_initData();这行，我们实际使用的代码中确实是有这行的。我已经更新博客，不知道你现在能在报表中显示出子域名了吗？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：安静</title>
		<link>http://www.jefflei.com/post/403.html/comment-page-1#comment-25</link>
		<dc:creator>安静</dc:creator>
		<pubDate>Tue, 26 May 2009 12:24:19 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wp/?p=403#comment-25</guid>
		<description>您好：请教Google Analytics追踪子域名流量.以下是这我过滤器设置。
过滤器类型： 自定义过滤器  高级
字段A--&gt;提取A   主机名  （*）
字段B--&gt;提取B   请求URI （*）
输出到--&gt;构造器 请求URI /$A1$B1

必填字 A        是
必填字 A        是
覆盖输出字段 	是
区分大小写      否 


以下是我的跟踪代码：我另多加了一行：pageTracker._setDomainName(&quot;splashx.com&quot;);


var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);
document.write(unescape(&quot;%3Cscript src=&#039;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#039; type=&#039;text/javascript&#039;%3E%3C/script%3E&quot;));


try {
var pageTracker = _gat._getTracker(&quot;UA-8800363-10&quot;);
pageTracker._setDomainName(&quot;splashx.com&quot;);
pageTracker._trackPageview();
} catch(err) {}


为什么在我的报名中看不到我的子域名的流量呢。请问是不是我那个地方配置有问题。
还有一个不明白的地方，google analytics 文档上有这么一行pageTracker._initData();这行有什么意思？

谢谢。</description>
		<content:encoded><![CDATA[<p>您好：请教Google Analytics追踪子域名流量.以下是这我过滤器设置。<br />
过滤器类型： 自定义过滤器  高级<br />
字段A&#8211;&gt;提取A   主机名  （*）<br />
字段B&#8211;&gt;提取B   请求URI （*）<br />
输出到&#8211;&gt;构造器 请求URI /$A1$B1</p>
<p>必填字 A        是<br />
必填字 A        是<br />
覆盖输出字段 	是<br />
区分大小写      否 </p>
<p>以下是我的跟踪代码：我另多加了一行：pageTracker._setDomainName(“splashx.com”);</p>
<p>var gaJsHost = ((“https:” == document.location.protocol) ? “https://ssl.” : “http://www.”);<br />
document.write(unescape(“%3Cscript src=&#8217;” + gaJsHost + “google-analytics.com/ga.js&#8217; type=&#8217;text/javascript&#8217;%3E%3C/script%3E”));</p>
<p>try {<br />
var pageTracker = _gat._getTracker(“UA-8800363-10&#8243;);<br />
pageTracker._setDomainName(“splashx.com”);<br />
pageTracker._trackPageview();<br />
} catch(err) {}</p>
<p>为什么在我的报名中看不到我的子域名的流量呢。请问是不是我那个地方配置有问题。<br />
还有一个不明白的地方，google analytics 文档上有这么一行pageTracker._initData();这行有什么意思？</p>
<p>谢谢。</p>
]]></content:encoded>
	</item>
</channel>
</rss>

