<?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>The Pringle &#187; preview=true</title>
	<atom:link href="http://brettpringle.com/index.php/tag/previewtrue/feed/" rel="self" type="application/rss+xml" />
	<link>http://brettpringle.com</link>
	<description>The parts between search, social and marketing</description>
	<lastBuildDate>Wed, 07 Apr 2010 08:56:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Exclude filter in analytics for WordPress post/page previews</title>
		<link>http://brettpringle.com/analytics/exclude-filter-in-analytics-for-wordpress-post-page-previews/</link>
		<comments>http://brettpringle.com/analytics/exclude-filter-in-analytics-for-wordpress-post-page-previews/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 16:52:36 +0000</pubDate>
		<dc:creator>Brett Pringle</dc:creator>
				<category><![CDATA[Analytics]]></category>
		<category><![CDATA[exclude filter]]></category>
		<category><![CDATA[preview=true]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://brettpringle.com/?p=98</guid>
		<description><![CDATA[I&#8217;ve never had to really create an exclude filter within Google analytics before, never had the need to exclude pages/queries from sites i&#8217;ve worked on. However i always need to preview my posts, allows me the opportunity to take another scan over for basic errors and to tweak images (perfectionist at heart).
I&#8217;ve hard coded my [...]<p><a href="http://brettpringle.com/analytics/exclude-filter-in-analytics-for-wordpress-post-page-previews/">Exclude filter in analytics for WordPress post/page previews</a> is a post from: <a href="http://brettpringle.com">The Pringle</a></p>


<h3>Related Posts</h3>
<ol>
		<li><a href="http://brettpringle.com/analytics/google-analytics-creating-multiple-goals/" rel="bookmark">Google Analytics &#8211; creating multiple goals</a><!-- (2)--></li>
		<li><a href="http://brettpringle.com/analytics/subdomain-tracking-using-custom-analytics-tracking-script-filters/" rel="bookmark">Subdomain tracking using custom analytics tracking script &#038; filters</a><!-- (2)--></li>
		<li><a href="http://brettpringle.com/analytics/what-is-bounce-rate/" rel="bookmark">What is bounce rate? Answer is not always call to actions</a><!-- (2)--></li>
	</ol>
]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">I&#8217;ve never had to really create an exclude filter within Google analytics before, never had the need to exclude pages/queries from sites i&#8217;ve worked on. However i always need to preview my posts, allows me the opportunity to take another scan over for basic errors and to tweak images (perfectionist at heart).</p>
<p style="text-align: left;">I&#8217;ve hard coded my tracking script into the footer of my wordpress theme, so previewing posts is always tracked within the analytics. No point in creating a custom exclude filter for my home and office ADSL line, as the IP address always changes as well. So the other solution would be just to exclude all &#8220;<strong>preview=true</strong>&#8221; URI&#8217;s from being tracked, to help having to see my previews in my top content pages breakdown in analytics.</p>
<p style="text-align: left;">It&#8217;s an extremely easy task to do. Simply sign in to your Google Analytics account and edit your blog analytics profile and select the option to &#8220;<strong>add filter</strong>&#8220;. You will need to use the <strong>custom filter</strong> option as seen below:</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-99" title="Add Filter - Select Custom Filter" src="http://brettpringle.com/wp-content/uploads/2009/01/add-filter-selection-1.png" alt="Add Filter - Select Custom Filter" width="555" height="296" /></p>
<p style="text-align: left;">Once you&#8217;re done, you need to select the type of filter you are wanting to create, we are looking to create an exclude filter, so make sure you have the &#8220;exclude&#8221; option checked. Now you will need to change the &#8220;<strong>filter field</strong>&#8220;, which defaults to &#8220;<strong>visitor geographical domain</strong>&#8220;, to &#8220;<strong>Request URI</strong>&#8221; towards the top of the dropdown (dropup? <img src='http://brettpringle.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). URI meaning everything after the domain name, very different to URL.</p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-100" title="Custom Filter Details - Exclude Option and Request URI" src="http://brettpringle.com/wp-content/uploads/2009/01/add-filter-custom-filter-selection.png" alt="Custom Filter Details - Exclude Option and Request URI" width="593" height="397" /></p>
<p style="text-align: left;">Next, you&#8217;ll need to add your pattern. As this works in a similar manner to the head match option when creating goals in analytics, you will only need to add the common &#8220;pattern&#8221; that will appear in URI&#8217;s that you do not wish to track. Simply add your &#8220;preview=true&#8221; for the filter pattern, don&#8217;t forget to name your custom filter, then save. You are all done.</p>
<p style="text-align: center;"><img class="size-full wp-image-101 alignnone" title="Adding your filter pattern to your exclude filter" src="http://brettpringle.com/wp-content/uploads/2009/01/add-filter-request-uri-previewtrue.png" alt="Adding your filter pattern to your exclude filter" width="590" height="310" /></p>
<p style="text-align: left;">
<p style="text-align: left;">And you&#8217;re done! Remember this will only affect any new data tracked going forward and does take some time before you will see updated data within your analytics profile. As a side note, be very careful that the &#8220;<strong>preview=true</strong>&#8221; function is not used somewhere else within wordpress legitimately, as you may very well want to track that data.</p>
<p style="text-align: left;">Sometimes it&#8217;s best to tweak and customise yourself, than having to really on plugins to easily solve a need/problem. Hope this little tid bit of info may help some of you.</p>
<p><a href="http://brettpringle.com/analytics/exclude-filter-in-analytics-for-wordpress-post-page-previews/">Exclude filter in analytics for WordPress post/page previews</a> is a post from: <a href="http://brettpringle.com">The Pringle</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Exclude+filter+in+analytics+for+WordPress+post%2Fpage+previews+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://brettpringle.com/analytics/exclude-filter-in-analytics-for-wordpress-post-page-previews/&amp;title=Exclude+filter+in+analytics+for+WordPress+post%2Fpage+previews&amp;summary=I%27ve%20never%20had%20to%20really%20create%20an%20exclude%20filter%20within%20Google%20analytics%20before%2C%20never%20had%20the%20need%20to%20exclude%20pages%2Fqueries%20from%20sites%20i%27ve%20worked%20on.%20However%20i%20always%20need%20to%20preview%20my%20posts%2C%20allows%20me%20the%20opportunity%20to%20take%20another%20scan%20over%20for%20basic%20errors%20and%20to%20tweak%20images%20%28perfectionist%20&amp;source=The Pringle" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://brettpringle.com/analytics/exclude-filter-in-analytics-for-wordpress-post-page-previews/&amp;title=Exclude+filter+in+analytics+for+WordPress+post%2Fpage+previews" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://brettpringle.com/analytics/exclude-filter-in-analytics-for-wordpress-post-page-previews/&amp;t=Exclude+filter+in+analytics+for+WordPress+post%2Fpage+previews" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://brettpringle.com/analytics/exclude-filter-in-analytics-for-wordpress-post-page-previews/" rel="nofollow" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://brettpringle.com/analytics/exclude-filter-in-analytics-for-wordpress-post-page-previews/&amp;title=Exclude+filter+in+analytics+for+WordPress+post%2Fpage+previews" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://brettpringle.com/analytics/exclude-filter-in-analytics-for-wordpress-post-page-previews/&amp;title=Exclude+filter+in+analytics+for+WordPress+post%2Fpage+previews" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://brettpringle.com/analytics/exclude-filter-in-analytics-for-wordpress-post-page-previews/&amp;title=Exclude+filter+in+analytics+for+WordPress+post%2Fpage+previews&amp;srcUrl=http://brettpringle.com/analytics/exclude-filter-in-analytics-for-wordpress-post-page-previews/&amp;srcTitle=Exclude+filter+in+analytics+for+WordPress+post%2Fpage+previews&amp;snippet=I%27ve%20never%20had%20to%20really%20create%20an%20exclude%20filter%20within%20Google%20analytics%20before%2C%20never%20had%20the%20need%20to%20exclude%20pages%2Fqueries%20from%20sites%20i%27ve%20worked%20on.%20However%20i%20always%20need%20to%20preview%20my%20posts%2C%20allows%20me%20the%20opportunity%20to%20take%20another%20scan%20over%20for%20basic%20errors%20and%20to%20tweak%20images%20%28perfectionist%20" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<h3>Related Posts</h3>
<ol>
		<li><a href="http://brettpringle.com/analytics/google-analytics-creating-multiple-goals/" rel="bookmark">Google Analytics &#8211; creating multiple goals</a><!-- (2)--></li>
		<li><a href="http://brettpringle.com/analytics/subdomain-tracking-using-custom-analytics-tracking-script-filters/" rel="bookmark">Subdomain tracking using custom analytics tracking script &#038; filters</a><!-- (2)--></li>
		<li><a href="http://brettpringle.com/analytics/what-is-bounce-rate/" rel="bookmark">What is bounce rate? Answer is not always call to actions</a><!-- (2)--></li>
	</ol>
]]></content:encoded>
			<wfw:commentRss>http://brettpringle.com/analytics/exclude-filter-in-analytics-for-wordpress-post-page-previews/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
