<?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"
	>
<channel>
	<title>Comments on: Google Analytics</title>
	<atom:link href="http://arapehlivanian.com/2005/11/14/google-analytics/feed/" rel="self" type="application/rss+xml" />
	<link>http://arapehlivanian.com/2005/11/14/google-analytics/</link>
	<description>Web Standards, Web Culture, Web Everything.™</description>
	<pubDate>Fri, 21 Nov 2008 05:42:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Testing for Admin in WordPress at ara pehlivanian</title>
		<link>http://arapehlivanian.com/2005/11/14/google-analytics/#comment-63</link>
		<dc:creator>Testing for Admin in WordPress at ara pehlivanian</dc:creator>
		<pubDate>Tue, 15 Nov 2005 04:12:37 +0000</pubDate>
		<guid isPermaLink="false">http://arapehlivanian.com/?p=76#comment-63</guid>
		<description>[...] Earlier today I mentioned how I came across Google Analytics. Suffice it to say, I opted to give it a try and went ahead and signed up. Once I&#8217;d gone through the process of setting up an account, I was given a snippet of code to put in my page &#60;head&#62; in order to report tracking data back to Google Analytics. The next step was to exclude myself from the stats lest I log a hit every time I visit my own site. Analytics has a feature where you can set up filters, one of which is the ability to filter by IP. Excluding my visits from work was easy enough since our Internet connection goes through a router whose IP is fixed. I ran into a problem however when I wanted to exclude myself from home. Unfortunately my ISP doesn&#8217;t give me a fixed IP so I can&#8217;t set up a filter that looks for and excludes a particular IP address. And then it dawned on me. I usually visit my own site while logged in as admin. So why not just test to see if the current visitor is logged in as Admin and if so, just don&#8217;t output the Google Analytics script tags. [...]</description>
		<content:encoded><![CDATA[<p>[...] Earlier today I mentioned how I came across Google Analytics. Suffice it to say, I opted to give it a try and went ahead and signed up. Once I&#8217;d gone through the process of setting up an account, I was given a snippet of code to put in my page &lt;head&gt; in order to report tracking data back to Google Analytics. The next step was to exclude myself from the stats lest I log a hit every time I visit my own site. Analytics has a feature where you can set up filters, one of which is the ability to filter by IP. Excluding my visits from work was easy enough since our Internet connection goes through a router whose IP is fixed. I ran into a problem however when I wanted to exclude myself from home. Unfortunately my ISP doesn&#8217;t give me a fixed IP so I can&#8217;t set up a filter that looks for and excludes a particular IP address. And then it dawned on me. I usually visit my own site while logged in as admin. So why not just test to see if the current visitor is logged in as Admin and if so, just don&#8217;t output the Google Analytics script tags. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
