<?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>Analytics Talk &#187; Tips posts &#8211; Analytics Talk</title>
	<atom:link href="http://cutroni.com/blog/category/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://cutroni.com/blog</link>
	<description>Untangling the world of web analytics</description>
	<lastBuildDate>Fri, 18 May 2012 12:19:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<atom:link rel='hub' href='http://cutroni.com/blog/?pushpress=hub'/>
		<item>
		<title>Save Your Ass With Google Analytics Data Alerts</title>
		<link>http://cutroni.com/blog/2012/01/04/save-your-ass-with-google-analytics-data-alerts/</link>
		<comments>http://cutroni.com/blog/2012/01/04/save-your-ass-with-google-analytics-data-alerts/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 15:44:43 +0000</pubDate>
		<dc:creator>Justin Cutroni</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web Analytics]]></category>
		<category><![CDATA[alerts]]></category>
		<category><![CDATA[data alerts]]></category>
		<category><![CDATA[data monitoring]]></category>
		<category><![CDATA[google alerts]]></category>
		<category><![CDATA[reporting]]></category>

		<guid isPermaLink="false">http://cutroni.com/blog/?p=1581</guid>
		<description><![CDATA[Let&#8217;s face it, we&#8217;re all a bit &#8220;lazy.&#8221; I admit it, I don&#8217;t check my website data every day. And when I&#8217;m on vacation it can be a bigger challenge. But that&#8217;s OK, I use data alerts to stay on top of my data even if I can&#8217;t check analytics every day. Are you using [...]<p><a href="http://cutroni.com/blog/2012/01/04/save-your-ass-with-google-analytics-data-alerts/">Save Your Ass With Google Analytics Data Alerts</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>



Related posts:<ol><li><a href='http://cutroni.com/blog/2008/10/28/adding-business-data-to-google-analytics-data/' rel='bookmark' title='Permanent Link: Adding Business Data to Google Analytics Data'>Adding Business Data to Google Analytics Data</a></li>
<li><a href='http://cutroni.com/blog/2011/09/29/google-analytics-real-time-real-time-data-for-real-time-decisions/' rel='bookmark' title='Permanent Link: Google Analytics Real Time: Real Time Data for Real Time Decisions'>Google Analytics Real Time: Real Time Data for Real Time Decisions</a></li>
<li><a href='http://cutroni.com/blog/2007/03/05/an-analysis-of-my-data/' rel='bookmark' title='Permanent Link: An Analysis of My Data'>An Analysis of My Data</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s face it, we&#8217;re all a bit &#8220;lazy.&#8221; I admit it, I don&#8217;t check my website data every day.  And when I&#8217;m on vacation it can be a bigger challenge.</p>
<p>But that&#8217;s OK, I use data alerts to stay on top of my data even if I can&#8217;t check analytics every day. Are you using alerts?</p>
<p>If you&#8217;ve never used Google Analytics alerts they&#8217;re fairly simple to set up. You can find them in the Profile Settings.  </p>
<p>There are five things that you need to do to set up an alert:</p>
<p>1. Choose a profile to apply the alert to.<br />
2. Select how often you want to monitor the data (daily, weekly or monthly).<br />
3. Identify the segment of traffic you want to monitor (i.e. which group of visitors, like visitors from a particular campaign or geographic region).<br />
4. Choose what metric you want to monitor (Revenue, Visits, Time on Site, etc.).<br />
5. Set a threshold for the alert meaning how much does the metric need to change to activate this alert (ie increase, decrease, etc.).</p>
<p><a href="http://cutroni.com/blog/wp-content/uploads/GoogleAnalyticsAlertSettings.jpg"><img src="http://cutroni.com/blog/wp-content/uploads/GoogleAnalyticsAlertSettings.jpg" alt="Google Analytics Alert Settings" title="Google Analytics Alert Settings" width="544" height="405" class="aligncenter size-full wp-image-2045" /></a></p>
<p>I divide my alerts into two groups: those that insure I have good data and those that measure the performance of the business. This post deals with the former: alerts that will keep your data in tip-top shape. </p>
<p><strong>Alert #1: 10% Daily Traffic Drop</strong></p>
<p>This first alert is simply there to make sure that I&#8217;m collecting data. I&#8217;ve noticed, for my site, that my traffic usually never drops more than 10% for a given day when measured week-over-week. So if I see a drop of more than 10%  I know that something happened and I need to investigate more.</p>
<div id="attachment_2048" class="wp-caption aligncenter" style="width: 784px"><img src="http://cutroni.com/blog/wp-content/uploads/Screen-Shot-2011-12-19-at-2.49.27-PM.png" alt="Google Analytics Decrease in Traffic Alert" title="Google Analytics Decrease in Traffic Alert" width="774" height="343" class="size-full wp-image-2048" /><p class="wp-caption-text">A 10% traffic drop alert.</p></div>
<p><strong>Alert #2: Flatline! i.e. No Data</strong></p>
<p>This is a generic alert that identifies when a metric goes to zero. I can&#8217;t tell you how many times a client tries to analyze data at the end of a month only to find a data issue. This commonly happens because not every metric is analyzed every day, some metrics are reported monthly.  </p>
<p>But I don&#8217;t want to wait until the end of the month to find a problem. </p>
<p>So for almost every important metric I will create a daily alert to insure that I&#8217;m getting data. Here&#8217;s an example alert that monitors an event.</p>
<div id="attachment_2049" class="wp-caption aligncenter" style="width: 546px"><img src="http://cutroni.com/blog/wp-content/uploads/Screen-Shot-2011-12-19-at-2.52.59-PM.png" alt="A Google Analytics Alert that monitors an Event" title="A Google Analytics Alert that monitors an Event" width="536" height="341" class="size-full wp-image-2049" /><p class="wp-caption-text">A Google Analytics Alert that monitors an Event</p></div>
<p><strong>Alert #3: Daily Error Pages</strong></p>
<p>Another metric I like to monitor is error pages, more specifically 404 errors. I want to know if any of my content is generating an error for my readers. So I created a little alert that will alert me when the number of 404 pages is greater than 0. </p>
<div id="attachment_2044" class="wp-caption aligncenter" style="width: 587px"><a href="http://cutroni.com/blog/wp-content/uploads/Screen-Shot-2011-12-19-at-2.20.23-PM.png"><img src="http://cutroni.com/blog/wp-content/uploads/Screen-Shot-2011-12-19-at-2.20.23-PM.png" alt="Google Analytics Daily Error Pages Alert" title="Google Analytics Daily Error Pages Alert" width="577" height="349" class="size-full wp-image-2044" /></a><p class="wp-caption-text">Monitor 404 pages, and other website errors, with an alert.</p></div>
<p>Obviously you can change this alert to monitor almost any type of website error, it depends on which errors you are tracking with Google Analytics. The key is that you need to be able to identify your error pages in a Google Analytics report. </p>
<p>As you can see above, my error page has a unique URL (404.html) and a query parameter that identifies the page that was missing. You may need to use a virtual pageview or an event to track your error pages. Once you do you can create an alert.</p>
<p><strong>Alert #4: Non-Domain Traffic aka The Poser Alert</strong></p>
<p>The hostnames report in Google Analytics is a handy little report. It shows the hostname that is in the location bar of the visitor&#8217;s browser. On numerous occasions people have <del datetime="2011-12-19T17:33:53+00:00">ripped off</del> borrowed my content without my permission. They just copied my source code and posted it on their own domain. </p>
<p>I know, classy.</p>
<p>This alert will automatically let me know if my account is getting data from any domain other than my own.</p>
<div id="attachment_2043" class="wp-caption aligncenter" style="width: 597px"><a href="http://cutroni.com/blog/wp-content/uploads/Screen-Shot-2011-12-19-at-2.20.41-PM.png"><img src="http://cutroni.com/blog/wp-content/uploads/Screen-Shot-2011-12-19-at-2.20.41-PM.png" alt="Google Analytics Hostname Alert" title="Google Analytics Hostname Alert" width="587" height="436" class="size-full wp-image-2043" /></a><p class="wp-caption-text">The &quot;Poser&quot; Alert will let you know if someone is poaching your content.</p></div>
<p>In some cases this alert actually detects something good! I regularly see the hostname translate.googleusercontent.com, which is used when popele use Google Translate to translate the content on my site.</p>
<h2>A note from your data therapist</h2>
<p>All of these alerts can help. But you&#8217;ll still have inaccuracies in your data. The idea is to keep them to a minimum. If you try to eliminate all errors 100% of the time you won&#8217;t do anything else. It&#8217;a almost impossible. Do the best you can. </p>
<p>If you do have some data issues, and you will, you&#8217;ll have to spend some time resolving them when you do your analysis. </p>
<p><a href="http://cutroni.com/blog/2012/01/04/save-your-ass-with-google-analytics-data-alerts/">Save Your Ass With Google Analytics Data Alerts</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>


<p>Related posts:<ol><li><a href='http://cutroni.com/blog/2008/10/28/adding-business-data-to-google-analytics-data/' rel='bookmark' title='Permanent Link: Adding Business Data to Google Analytics Data'>Adding Business Data to Google Analytics Data</a></li>
<li><a href='http://cutroni.com/blog/2011/09/29/google-analytics-real-time-real-time-data-for-real-time-decisions/' rel='bookmark' title='Permanent Link: Google Analytics Real Time: Real Time Data for Real Time Decisions'>Google Analytics Real Time: Real Time Data for Real Time Decisions</a></li>
<li><a href='http://cutroni.com/blog/2007/03/05/an-analysis-of-my-data/' rel='bookmark' title='Permanent Link: An Analysis of My Data'>An Analysis of My Data</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cutroni.com/blog/2012/01/04/save-your-ass-with-google-analytics-data-alerts/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Mastering Google Analytics Custom Variables</title>
		<link>http://cutroni.com/blog/2011/05/18/mastering-google-analytics-custom-variables/</link>
		<comments>http://cutroni.com/blog/2011/05/18/mastering-google-analytics-custom-variables/#comments</comments>
		<pubDate>Wed, 18 May 2011 12:39:43 +0000</pubDate>
		<dc:creator>Justin Cutroni</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tracking]]></category>
		<category><![CDATA[advanced]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[custom variables]]></category>
		<category><![CDATA[implementation]]></category>

		<guid isPermaLink="false">http://cutroni.com/blog/?p=1670</guid>
		<description><![CDATA[I&#8217;ve got a stack of posts that I want to write, and realized that the all deal with Custom Variables. So, to make sure that we&#8217;re all on the same page when it comes to custom vars, here&#8217;s my guide to Mastering Google Analytics Custom Variables. For those of you that have not used custom [...]<p><a href="http://cutroni.com/blog/2011/05/18/mastering-google-analytics-custom-variables/">Mastering Google Analytics Custom Variables</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>



Related posts:<ol><li><a href='http://cutroni.com/blog/2009/10/20/google-analytics-custom-variables-overview/' rel='bookmark' title='Permanent Link: Google Analytics Custom Variables Overview'>Google Analytics Custom Variables Overview</a></li>
<li><a href='http://cutroni.com/blog/2006/09/21/google-analytics-configuration-mistake-2-query-string-variables/' rel='bookmark' title='Permanent Link: Google Analytics Configuration Mistake #2: Query String Variables'>Google Analytics Configuration Mistake #2: Query String Variables</a></li>
<li><a href='http://cutroni.com/blog/2006/07/25/custom-segmentation-with-google-analytics/' rel='bookmark' title='Permanent Link: Custom Segmentation with Google Analytics'>Custom Segmentation with Google Analytics</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got a stack of posts that I want to write, and realized that the all deal with Custom Variables. So, to make sure that we&#8217;re all on the same page when it comes to custom vars, here&#8217;s my guide to Mastering Google Analytics Custom Variables.</p>
<p>For those of you that have not used custom variables, CVs are a way for you to insert custom data into Google Analytics. What kid of custom data? Almost any kind of data. As long as the data is available to you in the source code of a web page you can pass it to Google Analytics via a custom variable.</p>
<p>There are 4 parts to a custom variable:</p>
<p>1. The name of the variable<br />
2. The values for each variable<br />
3. The index or slot of the variable and the scope of the variable<br />
4. The scope of the variable</p>
<p><strong>Name &amp; Value</strong></p>
<p>Custom variables are name-value pairs of data. The name is also called the &#8220;key&#8221;. To create a custom variable you define the name of a custom variable, like Favorite Baseball Team, and then assign it different values, Red Sox, Braves, Giants, etc.</p>
<p>Google Analytics will show you a list of all the custom variable names in a list and then let you drill down into the list and see all of the values.</p>
<p>Here&#8217;s an example. I use a custom var named &#8220;Year&#8221; to track the publication year for all my posts on this blog. I can view which year had the most popular content by finding &#8220;Year&#8221; in the Visitors &gt; Demographic &gt; Custom Variables report.</p>
<p><img class="aligncenter size-full wp-image-1791" title="Google Analytics custom variables report" src="http://cutroni.com/blog/wp-content/uploads/Screen-shot-2011-05-16-at-10.21.36-PM.png" alt="Google Analytics custom variables report" width="778" height="256" /></p>
<p>Then I can click on &#8220;Year&#8221; to a get a list of all the values:</p>
<p><img class="aligncenter size-full wp-image-1792" title="Values for a Google Analytics Custom Variable" src="http://cutroni.com/blog/wp-content/uploads/Screen-shot-2011-05-16-at-10.23.56-PM.png" alt="Values for a Google Analytics Custom Variable" width="779" height="365" /></p>
<p>Custom variables can also be used in custom reports and advanced segments. The name of the custom variable becomes the &#8220;Key&#8221; dimension and the value of the custom variable becomes the &#8220;Custom Variable Value&#8221; dimension.</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/Screen-shot-2011-05-18-at-8.18.09-AM.png" alt="Google Analytics Custom Variable Dimensions" title="Google Analytics Custom Variable Dimensions" width="190" height="254" class="alignright size-full wp-image-1800" /></p>
<p><strong>Index or Slot</strong></p>
<p>The index is a way to organize your custom variables. Index is also referred to as &#8220;slot&#8221;. At a basic level, you get 5 custom variables. But this can actually be misleading. Think of the index as a parking lot with 5 parking space. You can put or &#8220;park&#8221; a custom variable in each space.</p>
<p>You can technically have more than 5 custom variables, but we need to discuss the next concept, scope, and how it impacts the index.</p>
<p><strong>Scope</strong></p>
<p>The key to mastering custom variables is understanding the scope. The scope of a custom variables determine how long the custom variable will persist.</p>
<p>If we use the parking lot analogy, the scope determines how long a car will stay parked in the custom variable parking lot.</p>
<p>There are three different scopes for Google Analytics Custom Variables:</p>
<p><em>Page Level: A page level custom variable will only persist for as the visitor is viewing the page where the custom variable has been set. Once the visitor moves to a new page the custom variable will expire.</em></p>
<p><em>Visit Level: A visit level custom variable will persist for the visitor&#8217;s entire visit. Once the visit ends the custom variable will expire.</em></p>
<p><em>Visitor Level: A visitor level custom variable will persist for 24 months as a cookie on the visitor&#8217;s machine until the visitor deleted her cookies.</em></p>
<p>Where scope really gets complicated is when we use it with the index. Remember, you have 5 slots that can hold a custom variable. Once you place a custom var in a slot that <em>SLOT BECOMES FILLED</em> and you can not place another custom var into the slot.</p>
<p>Scope and index work in tandem to determine how many custom variables you have available at any given time.</p>
<p>Let&#8217;s start with a visitor level custom variable.</p>
<p><img class="alignright size-medium wp-image-1795" title="Google Analytics Custom Variables: Index or Slot" src="http://cutroni.com/blog/wp-content/uploads/ParkingLot1-300x225.jpg" alt="Think of the index as a parking lot with 5 spaces." width="300" height="225" /></p>
<p>When you place a visitor level custom var in a slot that slot remains filled until you delete the custom var. Remember a visitor level var is stored as a cookie so you have to actually delete the cookie. So, if you set a visitor scoped custom variable in slot 1 you can NEVER use slot one again. Unless you want to erase the custom var you set in slot 1.</p>
<p>Every time the visitor comes back to your website slot 1 will be filled because there is a cookie (named __utmv) on the visitor machine.</p>
<p><span style="color: #339966;"><em>PARKING ANALOGY:</em> There is a car in parking space 1. The car has no tires&#8230; and no engine&#8230; it&#8217;s not going anywhere soon&#8230; unless it gets towed.</span></p>
<p>When you create a visit level custom variable and place it in a slot, that slot remains full for the entire visit. Once the visit ends that slot opens up and you can place another variable in that slot.</p>
<p>Unlike the visitor scope custom variable there is no cookie. So when the visitor comes back to your site that slot is open.</p>
<p><span style="color: #339966;"><em>PARKING ANALOGY:</em> There is a car in a parking space 1, but just for the day. The spot will be vacated at the end of the day and someone else can park there.</span></p>
<p>When you create a page level custom variable and place it in a slot that slot remains filled until the visitor moves to another page. Once the visitor moves to another page the slot opens up and you can place another variable in the slot.</p>
<p><span style="color: #339966;"><em>PARKING ANALOGY:</em> There is a car in a parking space 1, but someone is just running into a store. The engine is idling and the spot will open up in 5 minutes.</span></p>
<p>Let&#8217;s look at a couple of examples:</p>
<p><span style="color: #993300;">Example 1:</span> A visitor on a news site logs in. I set 5 visitor scoped custom variables. This means that whenever the visitor comes back to the website ALL five slots are filled. I can never use any other custom variables unless I erase or over-write one of the existing variables.</p>
<p><span style="color: #993300;">Example 2:</span> A visitor is on a blog. Each blog post is categorized 3 ways using a page level custom variable. on every page I set the same 3 custom variables. When a visitor logs in I set a visitor custom variable to identify them as a member. So now I have 3 page level variables and one visitor level variable. The slot that contains the visitor level variable will always remain full, so I need to make sure that I always place my page level variables in the same slots.</p>
<p><span style="color: #993300;">Example 3:</span> A visitor logs into a news site. I set 5 page level custom variables when they log in to record various pieces of information about their membership. One the next page I fire of 5 different custom variables to record information about their past browsing history. In this senario I have actually set 10 custom variables. How? Because they are all page level custom variables. The slots associated with a page level custom var open up when the visitor moves to a new page.</p>
<p>Hopefully this explains how you can technically have more than 5 custom variables.</p>
<p><strong>The Code</strong></p>
<p>Like everything else in Google Analytics, you implement Custom Variables using JavaScript. All of the topics we discussed above, index, name, value and scope, are all part of the JavaScript.</p>
<p>Here&#8217;s the standard Async code snippet:</p>
<p><code>_gaq.push('_setCustomVar',index,'name','value', scope);</code></p>
<p>The index is a number, from 1 through 5.</p>
<p>The scope is also a number. A value of 1 indicates a visitor scoped custom variable, a value of 2 indicates a visit level custom variable, and a value of 3 indicates a page level custom variable.</p>
<p>The name and the value are just plain text. Whatever you enter into the code above will be pulled into Google Analytics.</p>
<p>Where do you put this code? That&#8217;s the hard part. You place this code when you want to create a custom variable. You may want to categorize all of the pages on your site using a page level custom variable. In this case you might place the custom var code in the standard GA code snippet, like this:</p>
<p><code>&lt;script type="text/javascript"&gt;// &lt;![CDATA[<br />
   var _gaq = _gaq || [];<br />
   _gaq.push(['_setAccount', 'UA-XXXXXX-1']);<br />
   _gaq.push(['_setCustomVar',1,'PageCategory','Sports', 3]);<br />
   _gaq.push(['_trackPageview']);   </p>
<p>(function() {     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);   })();<br />
// ]]&gt;<br />
&lt;/script&gt;</code></p>
<p>Or, if you&#8217;re going to identify someone as a &#8216;member&#8217; of your site, you might place the code on a page after the visitor logs in. Like this:</p>
<p><code>&lt;script type="text/javascript"&gt;// &lt;![CDATA[<br />
   var _gaq = _gaq || [];<br />
   _gaq.push(['_setAccount', 'UA-XXXXXX-1']);<br />
  _gaq.push(['_setCustomVar',1,'VisitorType','Member', 1]);<br />
  _gaq.push(['_trackPageview']);   </p>
<p>(function() {     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);   })();<br />
// ]]&gt;<br />
&lt;/script&gt;</code></p>
<p>But you can also attach the code to visitor action, like <code>onClick</code> events.</p>
<p>You can also create custom variables for mobile devices using the <a href="http://code.google.com/mobile/analytics/docs/#mobilesdks">iOS SDK and the Android SDK</a>. How cool is that!</p>
<p>And some of the super nerds I work with at <a href="http://cardinalpath.com">Cardinal Path</a> have been able to hack custom variables and set them using the Google Analytics Mobile Tracking code for low-end mobile devices.</p>
<p>Regardless of the platform that you&#8217;re tracking, you can probably use a custom variable.</p>
<p><strong>Super Nerd Stuff</strong></p>
<p>Custom variables are not without their limitations and oddities. Here are a few things you need to be aware of when implementing:</p>
<p>1. What happens if you place a custom variable in a slot that is already filled? The last value placed in the slot is applied to the visit.</p>
<p>2. Custom variables are sent to Google using the same invisible image request. In the old days (ie two months ago) the size of this request was limited to 2048 characters by the browser. Because this limitation can really restrict data collection, Google decided to limit the size of your custom variable. This means that the name &#8211; value combination must be less than 64 characters. I know, this sucks.</p>
<p>BUT, Google has since changed how it collects data. The size of the image request is now 8000 + characters. So, in theory, Google could kill the 64 character CV limit. But they have not&#8230;</p>
<p><del datetime="2011-06-14T13:56:41+00:00">3. Custom Variable processing lags the standard data processing by about 24 hours. However, if you add a custom variable to a custom report it will be visible. I know, completely weird.</del> This is really only for very, very big sites, where data processing can lag in general.</p>
<p>4. Page level custom variables are more-or-less the same as an event. When you create an Advanced Segment using a page-level custom variable, GA will return the number of visits that included that custom var. So, if you don&#8217;t have enough slots available you may want to consider using an event.</p>
<p>5. When you set a custom variable the data is sent immediately back to Google Analytics via an image request. This means that if you set a custom variable, on the last page of a visit and AFTER the pageview is recorded, that custom variable will NOT be collected by Google Analytics. If you can, put your custom variable code BEFORE <code>_trackPageview()</code>.</p>
<p>That&#8217;s ALL I have to say about custom variables. Hopefully this gives you a good baseline understanding of how they work and how to implement them.</p>
<p>If you&#8217;re using custom variables leave a comment. I&#8217;d love to hear how you&#8217;re using them.</p>
<p><a href="http://cutroni.com/blog/2011/05/18/mastering-google-analytics-custom-variables/">Mastering Google Analytics Custom Variables</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>


<p>Related posts:<ol><li><a href='http://cutroni.com/blog/2009/10/20/google-analytics-custom-variables-overview/' rel='bookmark' title='Permanent Link: Google Analytics Custom Variables Overview'>Google Analytics Custom Variables Overview</a></li>
<li><a href='http://cutroni.com/blog/2006/09/21/google-analytics-configuration-mistake-2-query-string-variables/' rel='bookmark' title='Permanent Link: Google Analytics Configuration Mistake #2: Query String Variables'>Google Analytics Configuration Mistake #2: Query String Variables</a></li>
<li><a href='http://cutroni.com/blog/2006/07/25/custom-segmentation-with-google-analytics/' rel='bookmark' title='Permanent Link: Custom Segmentation with Google Analytics'>Custom Segmentation with Google Analytics</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cutroni.com/blog/2011/05/18/mastering-google-analytics-custom-variables/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Tracking Zero Result Searches in Google Analytics</title>
		<link>http://cutroni.com/blog/2009/09/08/tracking-ero-result-searches-in-google-analytics/</link>
		<comments>http://cutroni.com/blog/2009/09/08/tracking-ero-result-searches-in-google-analytics/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 02:53:57 +0000</pubDate>
		<dc:creator>Justin Cutroni</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tracking]]></category>
		<category><![CDATA[enhancements]]></category>
		<category><![CDATA[site search]]></category>

		<guid isPermaLink="false">http://www.epikone.com/blog/?p=1105</guid>
		<description><![CDATA[I &#60;3 Google Analytics Site Search reports. There&#8217;s amazingly actionable data in those reports. But they&#8217;re missing one vital piece of information: searches that don&#8217;t produce any results. Why is this important? Don&#8217;t you want to know when visitors search and don&#8217;t get any results? Zero result searches can help your identify missing content on [...]<p><a href="http://cutroni.com/blog/2009/09/08/tracking-ero-result-searches-in-google-analytics/">Tracking Zero Result Searches in Google Analytics</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>



Related posts:<ol><li><a href='http://cutroni.com/blog/2007/10/16/ga-on-site-search-pt-2-reporting-usage/' rel='bookmark' title='Permanent Link: GA On Site Search Pt. 2: Reporting &amp; Usage'>GA On Site Search Pt. 2: Reporting &amp; Usage</a></li>
<li><a href='http://cutroni.com/blog/2008/01/13/google-analytics-e-commerce-tracking-pt-1-how-it-works/' rel='bookmark' title='Permanent Link: Google Analytics E-Commerce Tracking Pt. 1: How It Works'>Google Analytics E-Commerce Tracking Pt. 1: How It Works</a></li>
<li><a href='http://cutroni.com/blog/2007/10/16/event-tracking-pt-3-reporting-analysis/' rel='bookmark' title='Permanent Link: Event Tracking Pt. 3: Reporting &amp; Analysis'>Event Tracking Pt. 3: Reporting &amp; Analysis</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I &lt;3 Google Analytics Site Search reports.  There&#8217;s amazingly actionable data in those reports.  But they&#8217;re missing one vital piece of information: searches that don&#8217;t produce any results.</p>
<p>Why is this important?  Don&#8217;t you want to know when visitors search and don&#8217;t get any results?  Zero result searches can help your identify missing content on your site or a problem with your site search engine.</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/fenway-scoreboard.png" alt="fenway-scoreboard" title="fenway-scoreboard" width="449" height="149" class="aligncenter size-full wp-image-1170" /></p>
<p>Many search solutions will provide this information for you.  For example, I use <a href="http://tr.im/yd7t">Search Meter</a> for WordPress and it shows me which search queries generate zero results.  But I thought it would be interesting to add this data to Google Analytics.  That way all my site search information would be in one place.</p>
<p>Unfortunately there is no easy way to add this data to GA.  You need to do some programming to collect the data.  So this post is really meant for those folks with programming resources AND for those developers that maintain GA plugins.  Like my buddy <a href="http://tr.im/yd7x">Joost</a>, who has a great GA plugin for WordPress.</p>
<p>If you&#8217;re interested in the data and analysis, skip to the bottom of this post.</p>
<h2>Conceptual Overview</h2>
<p>Our goal with this hack is to modify site search data in two ways.  First, we&#8217;re going to put all search queries with zero results in a category.  This will allow us to use the Search Categories report to easily find all the search terms that yielded zero results.</p>
<p>Second, we&#8217;ll modify the actual search terms to indicate that a term yielded zero results.  This will make it easy to scan a list of all the search terms and identify which generated no results.</p>
<p>Before we get into the implementation, a big THANK YOU to Charles Miller, one of the lead consultants here.  He wrote the JavaScript below.  Thanks Charles.</p>
<h2>Step 1: Identify No Result Search</h2>
<p>The first step is to identify a zero results search page.  Most websites have the same search results page regardless of the number of results.  You need to identify some something that differentiates a zero results search page from a non-zero results search page.</p>
<p>This must be done programatically and is the hardest part of the implementation.</p>
<p>For example, a zero results search page on this blog has the text &#8220;No posts found. Try a different search?&#8221;</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/picture-23.png" alt="No Posts Found" title="No Posts Found" width="468" height="143" class="aligncenter size-full wp-image-1110" /></p>
<p>I can create code (or more specifically, Charles can create code) to look for the text &#8220;No posts found. Try a different search?&#8221; If the code finds this text in the page then I can identify that the visitor&#8217;s search yielded zero results and than I can send the data sent to GA.  Here&#8217;s the code that I&#8217;m using on this blog:</p>
<pre>
<code>var content = document.getElementById('content');
if (content.innerHTML.search('No posts found.')) {</code>
</pre>
<p>The code looks for a section of the page called &#8216;content&#8217; and then searches that section for the phrase &#8216;No posts found.&#8217;.  If &#8216;no posts found.&#8217; is found (oh, the irony!) then we will modify the data sent to GA.</p>
<p>Important!  The way you detect a zero result search page may be different.  It&#8217;s VERY difficult to create an example that will work for everyone.  Take this as a conceptual overview.</p>
<h2>Step 2:  Tweak GA Tracking Code</h2>
<p>Once we know what differentiates a zero results search page we can add some code that tweaks the data.  Remember, we want to modify the data in two ways: 1. by placing it in a special search category and 2. by modifying the search term to indicate it did not yield any results.</p>
<p>To create the category all we need to do is add an extra query string parameter to the URL.</p>
<p>To manipulate the search term we need to split apart the page URL and then put it back together with the phrase no-results.</p>
<p>Here&#8217;s the complete code.</p>
<pre>
<code>&lt;script type='text/javascript'&gt;
var pageTracker = _gat._getTracker("UA-XXXXXX-1");
var content = document.getElementById('content');
if (content.innerHTML.search('No posts found.')) {
     // These lines get the search data from the URL and
     //  deconstruct the URL into parts
     var sn = "s";
     var sr = new RegExp(sn+"=[^\&amp;]+"),
      p = document.location.pathname,
      s = document.location.search,
      sm = s.match(sr).toString(),
      srs = sm.split("="),
      // The next line is where we add the category and add
      // the phrase no-results to the search term.
      sre = sm.replace(sr,srs[0]+"=no-results:
 "+srs[1]+"&amp;cat=no-results"),
      sf = s.replace(sr,sre);
      // Send the data to Google as a Pageview
      pageTracker._trackPageview(p+sf);
} else {
      // If this is a regular page on the site, use the standard GA code.
      pageTracker._trackPageview();
}
&lt;/script&gt;</code>
</pre>
<p>The code starts with the section that identifies a zero result search page.</p>
<p>Then we deconstruct the URL to identify the search term.  Finally we add the category named &#8216;no_results&#8217; and the phrase &#8216;no-results&#8217; to the search term.</p>
<p>If the code does NOT find the term &#8216;No posts found.&#8217; then a pageview is created as normal.</p>
<p>That&#8217;s it for the coding part (thank goodness!)</p>
<h2>Step 3:  Configure Site Search Settings</h2>
<p>The last step is to add the new category parameter to the Site Search settings so GA can identify the no-results search category.  This is easy, it&#8217;s in the profile setting section of Google Analytics.</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/picture-33.png" alt="How to set a search Category parameter in Google Analytics" title="How to set a search Category parameter in Google Analytics" width="345" height="153" class="aligncenter size-full wp-image-1111" /></p>
<p>I also like to set the &#8216;Strip Query Parameter&#8217; to YES.  This removes the category parameter after site search is done processing and normalizes your pageview data.</p>
<p>That&#8217;s it for the configuration!  We&#8217;re cleared for insight-hunting!</p>
<h2>Analyzing The Data</h2>
<p>When a visitor performs a search that yields zero results the search term will be placed in a category named &#8216;no_results&#8217;.  To find this data navigate to the Content>Site Search>Categories Report:</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/site-search-categories-google-analytics-2.png" alt="site-search-categories-google-analytics-2" title="site-search-categories-google-analytics-2" width="471" height="94" class="aligncenter size-full wp-image-1155" /></p>
<p>Immediately you&#8217;ll be able to see what percentage of your searches yield zero results.  Hopefully it&#8217;s very low!  Want to see if this impacts conversions or revenue?  Click the Goals or Ecommerce tab to check the conversion rate:</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/site-search-categories-google-analytics-4.png" alt="Zero Result Searches Impact on Website Outcomes" title="Zero Result Searches Impact on Website Outcomes" width="516" height="108" class="aligncenter size-full wp-image-1164" /></p>
<p>This is a bad picture, but you get the point.</p>
<p>Next you can click on the no-results line in the data and see exactly which search terms yielded zero results.</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/site-search-category_-google-analytics-1.png" alt="Search terms that had no results in Google Analytics" title="Search terms that had no results in Google Analytics" width="472" height="185" class="aligncenter size-full wp-image-1157" /></p>
<p>This is super-actionable data.  Now you know where you may be missing content or if your site search engine might be broken.  You should be asking yourself, &#8220;Why are there no results for these terms?  Is there missing content or is there a problem with my site search engine?&#8221;</p>
<p>You&#8217;ll also notice that the search terms now have &#8216;no-results&#8217; in them.  This provides a lot of flexibility for view the search data other ways.  Example, let&#8217;s use the Search Terms report:</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/site-search-terms-google-analytics-2.png" alt="Google Analytics site search queries" title="Google Analytics site search queries" width="581" height="257" class="aligncenter size-full wp-image-1159" /></p>
<p>Here we can see the search terms ranked by searches.  What percent of your top 10, 20 or 50 are no-result searches?  How is that impacting your bottom line?</p>
<p>This is just the start.  You can use other metrics, like %Search Exists to understand if visitors who receive zero results refine their search or exit.</p>
<p>While this is not the easiest thing to configure, I hope you see the value of the data.  More so, I hope that all those folks that maintain plugins add this type of feature to their GA plugins.  Joost, you listening!?</p>
<p><a href="http://cutroni.com/blog/2009/09/08/tracking-ero-result-searches-in-google-analytics/">Tracking Zero Result Searches in Google Analytics</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>


<p>Related posts:<ol><li><a href='http://cutroni.com/blog/2007/10/16/ga-on-site-search-pt-2-reporting-usage/' rel='bookmark' title='Permanent Link: GA On Site Search Pt. 2: Reporting &amp; Usage'>GA On Site Search Pt. 2: Reporting &amp; Usage</a></li>
<li><a href='http://cutroni.com/blog/2008/01/13/google-analytics-e-commerce-tracking-pt-1-how-it-works/' rel='bookmark' title='Permanent Link: Google Analytics E-Commerce Tracking Pt. 1: How It Works'>Google Analytics E-Commerce Tracking Pt. 1: How It Works</a></li>
<li><a href='http://cutroni.com/blog/2007/10/16/event-tracking-pt-3-reporting-analysis/' rel='bookmark' title='Permanent Link: Event Tracking Pt. 3: Reporting &amp; Analysis'>Event Tracking Pt. 3: Reporting &amp; Analysis</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cutroni.com/blog/2009/09/08/tracking-ero-result-searches-in-google-analytics/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Segmentation Options in Google Analytics</title>
		<link>http://cutroni.com/blog/2009/04/21/segmentation-options-in-google-analytics/</link>
		<comments>http://cutroni.com/blog/2009/04/21/segmentation-options-in-google-analytics/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 03:58:38 +0000</pubDate>
		<dc:creator>Justin Cutroni</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web Analytics]]></category>
		<category><![CDATA[advanced segmetnation]]></category>
		<category><![CDATA[custom reports]]></category>
		<category><![CDATA[filters]]></category>
		<category><![CDATA[segmentation]]></category>

		<guid isPermaLink="false">http://www.epikone.com/blog/?p=1055</guid>
		<description><![CDATA[As web analysts we live and die by segmentation. Without the ability to segment traffic we can not isolate which segments are producing and which need improvement. Google Analytics offers many different ways to segment data. Each has pros and cons but there is always a way to get the data you need&#8230;. well, almost [...]<p><a href="http://cutroni.com/blog/2009/04/21/segmentation-options-in-google-analytics/">Segmentation Options in Google Analytics</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>



Related posts:<ol><li><a href='http://cutroni.com/blog/2008/10/22/google-analytics-advanced-segmentation/' rel='bookmark' title='Permanent Link: Google Analytics Advanced Segmentation'>Google Analytics Advanced Segmentation</a></li>
<li><a href='http://cutroni.com/blog/2007/03/06/google-analytics-cross-segmentation-something-you-should-know/' rel='bookmark' title='Permanent Link: Google Analytics Cross Segmentation: Something You Should Know'>Google Analytics Cross Segmentation: Something You Should Know</a></li>
<li><a href='http://cutroni.com/blog/2006/07/25/custom-segmentation-with-google-analytics/' rel='bookmark' title='Permanent Link: Custom Segmentation with Google Analytics'>Custom Segmentation with Google Analytics</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>As web analysts we live and die by segmentation.  Without the ability to segment traffic we can not isolate which segments are producing and which need improvement.</p>
<p><a href="http://analytics.google.com">Google Analytics</a> offers many different ways to segment data.  Each has pros and cons but there is always a way to get the data you need&#8230;. well, almost always.</p>
<p>There are 6 different ways to segment data in Google Analytics:</p>
<p>1.  Using certain reports<br />
2.  Dimension drop down<br />
3.  Report filters<br />
4.  Advanced segmentation<br />
5.  Custom reports<br />
6.  Profile filters</p>
<p>Bet you didn&#8217;t think there were SIX ways to segment data.  :)</p>
<h2>Using Certain Reports</h2>
<p>Ok, you may think this form of segmentation is lame, but it&#8217;s not!</p>
<p>Many reports in Google Analytics are segmented by some default piece of information.  There&#8217;s nothing for you to do.</p>
<p>For example, the Browsers report segments your data based on the different web browsers that visitors use to access your site.  Google Analytics automatically identifies this information when collecting visitor data.</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/cm-capture-1.jpg" alt="Google Analytics Browsers Report" title="Google Analytics Browsers Report" width="416" height="311" class="aligncenter size-full wp-image-1061" /></p>
<p>Other segments that are automatically include in Google Analytics include:</p>
<p>* Visitor type (new and returning)<br />
* Geographic information<br />
* Operating system (and many other &#8220;nerd&#8221; segments)</p>
<p>Marketing segments are not AUTOMATICALLY segmented.  You need to configure Google Analytics to track campaigns (i.e.<a href="http://www.cutroni.com/blog/2006/11/10/google-analytics-campaign-tracking-pt-1-link-tagging/"> link tagging</a>) in order to get correct traffic source segmentation.</p>
<p><strong>Pros:</strong><br />
* Easy</p>
<p><strong>Cons:</strong><br />
* You better make sure you&#8217;ve got your campaigns tagged correctly  ;)</p>
<h2>Dimension Drop Down</h2>
<p>Many reports have a dimension drop down that allows for segmentation right in the report.  This is a handy way to quickly drill down into a piece of data.</p>
<p>For example, let&#8217;s say I want to see the most popular landing pages in a particular state.  I can navigate to the state in the Visitors > Map Overlay > Regions report, click on the state I&#8217;m interested in, and then choose Landing Page from the Dimension drop down.</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/cm-capture-31.jpg" alt="Google Analytics Dimension Drop Down" title="Google Analytics Dimension Drop Down" width="404" height="420" class="aligncenter size-full wp-image-1062" /></p>
<p>You can see in the image above that you can segment based on campaign information, some technical information and some visitor information (visitor type, language).</p>
<p>Overall, this is a good way to go when you&#8217;re drilling down and want to segment a single data point by some dimension.</p>
<p><strong>Pros:</strong><br />
* Quick for one-off segmentation</p>
<p><strong>Cons:</strong><br />
* Can trigger sampling<br />
* Limited number of dimensions and no metrics<br />
* A pain if you need to segment a lot of things, like top landing pages for every US state</p>
<h2>Report Filters</h2>
<p>Bet you don&#8217;t think of filtering as segmenting, but it is!</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/cm-capture-41.jpg" alt="Google Analytics report filter" title="Google Analytics report filter" width="354" height="37" class="alignright size-full wp-image-1063" /></p>
<p>Any report displaying tabular data has a filter tool at the bottom of the data.  This let&#8217;s you quickly view data that matches, or does not match, some condition.  The condition is the pattern, or regular expression, that you enter into the filter.  Using a regular expression you can add lists to the filter.</p>
<p>Here&#8217;s an example.  Suppose I want to quickly view traffic coming from the Pacific sales region.  I can apply the following filter to the Visitors > Map Overlay > Regions report:</p>
<p><code>California|Oregon|Washington</code></p>
<p>[The above is a regular expression matching California OR Oregon OR Washington]</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/cm-capture-51.jpg" alt="A filter Map Overlay report in Google Analytics" title="A filter Map Overlay report in Google Analytics" width="497" height="340" class="aligncenter size-full wp-image-1067" /></p>
<p>Notice that the Scorecard (the top row of data in the table) indicates how our segment, i.e. the data that matches our filter, compares to the overall site?  We can now compare the Pacific sales region to the entire site.</p>
<p>And here&#8217;s a neat trick, if you add the filtered report to your dashboard the filter will persist in your dashboard widget.  I call it a <a href="http://www.cutroni.com/blog/2007/06/01/new-ga-feature-sticky-filters/">sticky filter</a>.</p>
<p><strong>Pros: </strong><br />
* Quick and relatively easy<br />
* Can be applied to historical data<br />
* Will not trigger sampling</p>
<p><strong>Cons: </strong><br />
* Restricted to one report and the data in that report<br />
* You should know some basic regular expressions<br />
* Can not be shared easily</p>
<h2>Advanced Segments</h2>
<p>There has been a lot of conversation over the last few months about Advanced segments and rightly so.  This analysis tool is really powerful and let&#8217;s you slice the data many different ways using different dimensions and metrics.  Want to see all visits that generated more than $100, coming from paid search and occurring after 8 AM?  No problem with an advanced segment.</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/cm-capture-61.jpg" alt="An Advanced Segment in Google Analytics" title="An Advanced Segment in Google Analytics" width="481" height="417" class="aligncenter size-full wp-image-1068" /></p>
<p>But there are some downsides.  First, sampling.  Because Advanced segments re-process data in real time there is a sampling algorithm applied to minimize the load on Google&#8217;s servers.</p>
<p>You can&#8217;t segment more than 200k visits.  If sampling is applied you&#8217;ll see a confidence interval next to your data.</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/cm-capture-7.jpg" alt="Sampling accuracy in Google Analytics" title="Sampling accuracy in Google Analytics" width="404" height="134" class="aligncenter size-full wp-image-1069" /></p>
<p>Again, the problem is that small segments of data will be really inaccurate when the sampling algorithm is applied.  There is no way to disable sampling.</p>
<p>The most common ways to get around sampling are segmenting using profile filters or potentially a report filter.  It really depends on the exact situation.</p>
<p>The second issue is that not all reports can be segmented.  Due to the segmentation technology certain reports can not be segmented, like the Absolute Unique Visitors report and the Funnel visualization report.  Those reports can only be segmented with profile filter (see below).</p>
<p><strong>Pros:  </strong><br />
* Can be applied to historical data<br />
* LOTS of flexibility, can segment based on a huge number of dimensions and metrics using different combination of both</p>
<p><strong>Cons:  </strong><br />
* Sampling will be applied if trying to segment more than 200,000 visits<br />
* Not all reports can be segmented<br />
* Specific to your username, can not be shared with other users</p>
<h2>Custom Reports</h2>
<p>Another beta feature that can be used for segmentation is the Custom Reporting tool.  This tool is more than just pretty reports.  It allows you to create 5 levels of segmentation in a report.</p>
<p>In a previous post I talked about <a href="http://www.cutroni.com/blog/2009/03/12/find-out-when-your-campaigns-suck-with-ga-custom-reports/">segmenting campaigns by time of day</a> to better understand day parting.</p>
<p>We could take that example one step further by adding geographic region to the report.  The result would be a report that has Campaigns data that could be segmented by time of day and then by geographic location.</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/cm-capture-8.jpg" alt="Multiple levels of segmentation in a GA Custom Report" title="Multiple levels of segmentation in a GA Custom Report" width="401" height="319" class="aligncenter size-full wp-image-1071" /></p>
<p>The problem is that not all dimensions can be used together.  The reason is that only certain metrics are related in the Google Analytics data architecture.  You can find a complete list of combinations in the <a href="https://www.google.com/support/googleanalytics/bin/answer.py?answer=99174&#038;hl=en_US">GA support docs</a>.</p>
<p><strong>Pros:</strong><br />
* 5 levels of segmentation<br />
* Advanced segments can be applied to a custom report<br />
* Can be shared using automated email feature</p>
<p><strong>Cons:</strong><br />
* Can only segment using dimensions, not metrics<br />
* Limited number of dimension combinations<br />
* Can only drill into one data point at a time</p>
<h2>Filtered Profiles</h2>
<p>Filtered profiles are the nuclear bomb of segmentation.  They are permanent, segment every report in a profile, and can easily be shared.</p>
<p>In case you&#8217;re not familiar with filtered profiles, you can include and exclude data from a profile using a filter.  Google applies the filter during data processing, thus segmenting the data.</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/cm-capture-10.jpg" alt="Google Analytics profile flters" title="Google Analytics profile flters" width="859" height="157" class="aligncenter size-full wp-image-1072" /></p>
<p>Once the data has been processed it can never be changed.  This means that you can filter historical data AND if you mess up the configuration of a filter you could have really crappy data.</p>
<p>Another issue with filtered profiles is not all data can be filtered.  For example, transactional data is different than pageview data.  This can cause some funky information in campaign reports and commerce reports.</p>
<p>If you need to filer pageview data then you&#8217;ll need to filter your commerce data with different include or exclude filters.  Also note that Event data can not be filtered.</p>
<p>But, on the up side, you can use filters to segment things like Absolute Unique Visitors and the Funnel Visualization report.  Neither can be done with an Advanced Segment.</p>
<p><img src="http://cutroni.com/blog/wp-content/uploads/cm-capture-11.jpg" alt="Absolute Unique Visitors in Google Analytics" title="Absolute Unique Visitors in Google Analytics" width="415" height="190" class="aligncenter size-full wp-image-1074" /></p>
<p><strong>Pros:</strong><br />
*  Segmentation of every report in Google Analytics<br />
*  Can control access by assigning users to filtered profiles</p>
<p><strong>Cons:</strong><br />
*  Only effective from date of implementation forward<br />
*  Limited number of dimensions<br />
* Issues with filtering other types of data, like events and transactions</p>
<p>I hope this inspired you to come implement different segments using different techniques.  As I said in the beginning, there are a lot of ways to slice data in Google Analytics.  Find the technique to suit your needs and start segmenting!</p>
<p><a href="http://cutroni.com/blog/2009/04/21/segmentation-options-in-google-analytics/">Segmentation Options in Google Analytics</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>


<p>Related posts:<ol><li><a href='http://cutroni.com/blog/2008/10/22/google-analytics-advanced-segmentation/' rel='bookmark' title='Permanent Link: Google Analytics Advanced Segmentation'>Google Analytics Advanced Segmentation</a></li>
<li><a href='http://cutroni.com/blog/2007/03/06/google-analytics-cross-segmentation-something-you-should-know/' rel='bookmark' title='Permanent Link: Google Analytics Cross Segmentation: Something You Should Know'>Google Analytics Cross Segmentation: Something You Should Know</a></li>
<li><a href='http://cutroni.com/blog/2006/07/25/custom-segmentation-with-google-analytics/' rel='bookmark' title='Permanent Link: Custom Segmentation with Google Analytics'>Custom Segmentation with Google Analytics</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cutroni.com/blog/2009/04/21/segmentation-options-in-google-analytics/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Count Me Out: GA.JS Version</title>
		<link>http://cutroni.com/blog/2009/04/16/count-me-out-gajs-version/</link>
		<comments>http://cutroni.com/blog/2009/04/16/count-me-out-gajs-version/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 19:28:35 +0000</pubDate>
		<dc:creator>Justin Cutroni</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tracking]]></category>
		<category><![CDATA[google-analytics]]></category>

		<guid isPermaLink="false">http://www.epikone.com/blog/?p=503</guid>
		<description><![CDATA[A while back I wrote a post called Count Me Out! that explained how to exclude Google Analytics data based on the custom segment value. My previous post was based on the old, urchin.js tracking code, and a lot of people have been waiting for an update. It&#8217;s taken a while, but here it is. [...]<p><a href="http://cutroni.com/blog/2009/04/16/count-me-out-gajs-version/">Count Me Out: GA.JS Version</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>



Related posts:<ol><li><a href='http://cutroni.com/blog/2006/07/11/count-me-out/' rel='bookmark' title='Permanent Link: Count Me Out!'>Count Me Out!</a></li>
<li><a href='http://cutroni.com/blog/2008/10/22/google-analytics-version-30/' rel='bookmark' title='Permanent Link: Google Analytics Version 3.0'>Google Analytics Version 3.0</a></li>
<li><a href='http://cutroni.com/blog/2007/08/29/segmenting-members-from-non-members/' rel='bookmark' title='Permanent Link: Segmenting Members from Non-Members'>Segmenting Members from Non-Members</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A while back I wrote a post called <a href="http://www.cutroni.com/blog/2006/07/11/count-me-out/">Count Me Out!</a> that explained how to exclude Google Analytics data based on the custom segment value.</p>
<p>My previous post was based on the old, <code>urchin.js</code> tracking code, and a lot of people have been waiting for an update.  It&#8217;s taken a while, but here it is.</p>
<p>I will mention that my favorite way to exclude traffic from Google Analytics is using an IP exclude filter.  An IP based exclude filter is very accurate unless you having a changing IP.  The method below works best if you have a dynamic or changing IP address.</p>
<p><em><strong>Even if you&#8217;re not interested in this post, there is a fun &#8216;group activity&#8217; below. Please try it!</strong><br />
</em></p>
<p>The old version of this <del datetime="2009-04-16T01:23:04+00:00">hack</del> method required you to add a new page to your website.  That page would set the GA custom segment cookie (named <code>__utmv</code>) on your computer.</p>
<p>This technique works fine, but who wants to add a new page to their site?  It can be a pain.</p>
<p>I&#8217;ve simplified this technique by removing that page.  You can enter the JavaScript directly into your browser.</p>
<h2>Step 1: Set Custom Segment Cookie</h2>
<p>Go to the site that you are tracking with Google Analytics and view a page.</p>
<p>Copy the code below and paste it into the location bar of your browser and click &#8216;enter&#8217; on your keyboard.</p>
<p><iframe src="http://sandbox.epikone.us/justin/blog/count-me-out-1-line.txt" width="560" height="50"></iframe></p>
<p>You should see a message that says, &#8220;Custom segment has been set.  Time to create a filter.&#8221;</p>
<p>Here&#8217;s a tip, you can bookmark this JS to make it easy to reset the cookie in the future.  I set the cookie every time I fire up my browser.</p>
<h2>Step 2: Create Exclude Filter</h2>
<p>Next, create an exclude filter in Google Analytics to exclude the user defined segment (i.e. the cookie) you just created:</p>
<p><img src="http://www.cutroni.com/blog/wp-content/uploads/2008/01/20080119-remove-me-filter.png" alt="" title="Filter to exclude user defined cookie." width="463" height="381" class="aligncenter size-full wp-image-461" /></p>
<p>This filter will exclude anyone with a custom segment cookie with a value of &#8216;remove-me&#8217;.</p>
<p>Remember, cookies are specific to a browser and computer. If you use mulitple browsers or multiple computers you need to set the cookie using all the browsers on all the computers you use.</p>
<h2>Having Some Fun With This!</h2>
<p><img src="http://cutroni.com/blog/wp-content/uploads/picture-14.png" alt="" title="The user defined report in Google Analytics." width="186" height="170" class="alignright size-full wp-image-1033" /></p>
<p>You&#8217;ve probbaly figured out that you can set the custom segment cookie on anyone&#8217;s website as long as they&#8217;re using GA.  This means that you can add data to their User Defined report.  Let&#8217;s try this on my site!</p>
<p>Navigate to <a href="http://www.cutroni.com/blog">www.cutroni.com/blog</a> and place the following code in the location bar of your browser after the page has loaded.  Change FOO to whatever you want and press enter on your keyword.  That&#8217;s it.  You&#8217;re now in my data.</p>
<p><iframe src="http://sandbox.epikone.us/justin/blog/count-me-out-prank.txt" width="560" height="50"></iframe></p>
<p>I&#8217;ll post some of the more popular and creative values in <a href="http://www.twitter.com/justincutroni">Twitter</a> and maybe here at a later date.</p>
<p>Please try to keep it clean.  I often review data with my 4 year old son :)</p>
<h2>Thoughts on the Old Method</h2>
<p>The old version of this technique uses a form to set the custom segment cookie which is pretty handy if you have a lot of people in remote locations that need to be excluded from the data.  Just send all your coworkers, contractors, etc. a link to the page and ask them to set the cookie on their computer.  It&#8217;s a little easier than asking them to paste JS into their browser.</p>
<p>If you&#8217;re interested in using this technique here is a new version of the page and the process.</p>
<p><strong>Step 1</strong>: Create a new page on your site using the code below.</p>
<p>** Note ** The information below is in an iFrame.  If you receive this post via email you may not see the contents.</p>
<p><iframe src="http://sandbox.epikone.us/justin/blog/count-me-out.txt" width="560" height="400"></iframe></p>
<p><strong>Step 2:</strong> Go to the new page you just added, fill out the form, and click the &#8216;Create Cookie&#8217; button.  Keep track of the value you enter into the form, you need it for step 3.</p>
<p><strong>Step 3:</strong> Finally, create an exclude filter in Google Analytics to exclude the value that you entered into the form.  Remember, you need to use a regular expression for the filter field.  So if you entered &#8216;remove-me&#8217; in the form, enter &#8216;remove-me&#8217; as the Filter Field.</p>
<p>That&#8217;s it.  Sorry for the lame post, but I&#8217;m trying to update a lot of the old code and posts on the site.</p>
<p><a href="http://cutroni.com/blog/2009/04/16/count-me-out-gajs-version/">Count Me Out: GA.JS Version</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>


<p>Related posts:<ol><li><a href='http://cutroni.com/blog/2006/07/11/count-me-out/' rel='bookmark' title='Permanent Link: Count Me Out!'>Count Me Out!</a></li>
<li><a href='http://cutroni.com/blog/2008/10/22/google-analytics-version-30/' rel='bookmark' title='Permanent Link: Google Analytics Version 3.0'>Google Analytics Version 3.0</a></li>
<li><a href='http://cutroni.com/blog/2007/08/29/segmenting-members-from-non-members/' rel='bookmark' title='Permanent Link: Segmenting Members from Non-Members'>Segmenting Members from Non-Members</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cutroni.com/blog/2009/04/16/count-me-out-gajs-version/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>UPDATED: Integrating Google Analytics with a CRM</title>
		<link>http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/</link>
		<comments>http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 16:53:47 +0000</pubDate>
		<dc:creator>Justin Cutroni</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tracking]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[implementation]]></category>

		<guid isPermaLink="false">http://www.epikone.com/blog/?p=981</guid>
		<description><![CDATA[A while back I wrote a post about how you can integrate Google Analytics with a CRM system. That posts referenced the old urchin.js code and is in need of an update. Plus a lot of people have been asking me about different integration options and I thought it would be a good time to [...]<p><a href="http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/">UPDATED: Integrating Google Analytics with a CRM</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>



Related posts:<ol><li><a href='http://cutroni.com/blog/2007/10/29/integrating-google-analytics-with-a-crm/' rel='bookmark' title='Permanent Link: Integrating Google Analytics With a CRM'>Integrating Google Analytics With a CRM</a></li>
<li><a href='http://cutroni.com/blog/2007/12/17/installing-gajs-with-aspnet/' rel='bookmark' title='Permanent Link: Updated GA.JS Tracking Code'>Updated GA.JS Tracking Code</a></li>
<li><a href='http://cutroni.com/blog/2007/11/17/updated-ga-on-site-search-setup/' rel='bookmark' title='Permanent Link: UPDATED: GA On Site Search Setup'>UPDATED: GA On Site Search Setup</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A while back I wrote a post about how you can <a href="http://www.cutroni.com/blog/2007/10/29/integrating-google-analytics-with-a-crm/">integrate Google Analytics with a CRM system</a>.  That posts referenced the old <code>urchin.js</code> code and is in need of an update.  Plus a lot of people have been asking me about different integration options and I thought it would be a good time to revisit the topic.</p>
<p>So here it is, an update.  I&#8217;m not going to re-do the entire post, just a few key points.</p>
<h2>Why Do This?</h2>
<p>This entire <del datetime="2009-03-16T21:27:35+00:00">hack</del> configuration is based on one simple idea: to build a more robust view of customers/prospects/leads/whatever-you-call-them.  The more information we know about people that we sell to the more we can adjust our marketing.  This technique let&#8217;s us combine where the visitor came from (referral, campaign, direct, search engine) and how often they&#8217;ve been to the site with CRM data.</p>
<h2>How It Works</h2>
<p>We&#8217;re going to extract data from the GA tracking cookies and add it to a lead generation form. The GA data will be stored in hidden form elements that the visitor can not see.  When the visitor submits the form the GA will be connected to the other information that the visitor entered into the form (usually name, contact information, etc.).</p>
<p><img class="aligncenter size-full wp-image-1002" title="Adding GA data to a CRM" src="http://cutroni.com/blog/wp-content/uploads/crm-process.jpg" alt="Adding GA data to a CRM" width="500" height="230" /></p>
<p>Here&#8217;s the data that we&#8217;re going to pull from the GA cookies:</p>
<p>* Current referral information (i.e. where the visitor came from)<br />
* Custom segment value (if it exists)<br />
* How many times the visitor has been to the site</p>
<p>You&#8217;re probably wondering why we&#8217;re not extracting the data via the GA API.  More on that in a minute.</p>
<h2>The Code</h2>
<p>Here it is, the updated code:</p>
<p><iframe src="http://www.cutroni.com/blog/wp-content/uploads/2009/crm-gajs.php" height="150" width="550"></iframe></p>
<p>The new code differs from the original code in three ways:</p>
<p>First, the inclusion of <code>ga.js</code>.  No explanation needed there.</p>
<p>The second change is the addition of the <code>_uGC()</code> function.  This function was in the original <code>urchin.js</code>, and because I don&#8217;t include that file I need to include the code in the script.</p>
<p>The function is used to  parse pieces of data and return certain parts.  For example, I use to to parse the cookies (which are just a string) and return the value of the campaign cookie (<code>__utmz</code>), the custom segment cookie (<code>_utmv</code>) and the visitor identification cookie (<code>__utma</code>).</p>
<p>Finally, I added some new functionality to include this visitor&#8217;s number of visits.  This data is pulled from the <code>__utma</code> cookie (which identifies the visitor).  The last integer in __utma is actually a visit counter.  I think it is interesting to understand behavior based on frequency so I added this nugget of data.</p>
<p>If you want to see the code in action try this:</p>
<p><iframe src="http://www.cutroni.com/blog/wp-content/uploads/2009/crm-gajs.txt" width="550" height="150"></iframe></p>
<p>In my previous post I included a <a href="http://www.cutroni.com/blog/2007/10/29/integrating-google-analytics-with-a-crm/">reference section</a> that documents the format of the campaign cookie and the<code> _uGC()</code> function.  Check it out if you&#8217;re looking for more technical information.</p>
<h2>An Alternate Approach</h2>
<p><img class="alignright size-thumbnail wp-image-995" title="You can process this data at the server level." src="http://www.cutroni.com/blog/wp-content/uploads/servers-150x150.jpg" alt="" hspace="7" width="150" height="150" /></p>
<p>Remember, all the data we&#8217;re pulling is in first party cookies.  This means that you could extract the info at the server level rather than the browser level (first party cookies are available to server side code).</p>
<p>You don&#8217;t need to do this in JavaScript, as I did.  You could use <a href="http://en.wikipedia.org/wiki/ColdFusion">ColdFusion</a>, <a href="http://en.wikipedia.org/wiki/Php">PHP</a>, <a href="http://en.wikipedia.org/wiki/.NET_Framework">.NET</a> or some other server side language.</p>
<p>I&#8217;m just trying to provide some inspiration here :)</p>
<h2>What About the Google Analytics API?</h2>
<p>I&#8217;m sure there are a lot of people out there wondering about the GA API and why I don&#8217;t just use it to pull data out from GA.  The reason is the data in GA is all anonymous, aggregated data.  There&#8217;s no way to reach into GA and say, &#8220;tell me where John Doe came from.&#8221;   That&#8217;s why we pull data from the cookie, because we can combine it with a visitor&#8217;s info when they supply it.</p>
<p>Sure, it is possible to pull out GA data and place it in a CRM (like traffic from an email campaign, bounce rate from paid search, etc.) but it&#8217;s tough to identify individuals in that data.</p>
<p>Is it impossible?  No, not from a technical standpoint.  You would need to place a unique identifier in GA to link the data.</p>
<p>But we&#8217;re getting into a risky area here.</p>
<p>Remember, it is against the GA terms of service to capture data in GA that identifies an individual.  This could be an email address or database ID number.  Not my rule, Google&#8217;s, and they will crack down.</p>
<p>I&#8217;d be interested to hear people&#8217;s thoughts on this.  Feel free to comment!</p>
<p><a href="http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/">UPDATED: Integrating Google Analytics with a CRM</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>


<p>Related posts:<ol><li><a href='http://cutroni.com/blog/2007/10/29/integrating-google-analytics-with-a-crm/' rel='bookmark' title='Permanent Link: Integrating Google Analytics With a CRM'>Integrating Google Analytics With a CRM</a></li>
<li><a href='http://cutroni.com/blog/2007/12/17/installing-gajs-with-aspnet/' rel='bookmark' title='Permanent Link: Updated GA.JS Tracking Code'>Updated GA.JS Tracking Code</a></li>
<li><a href='http://cutroni.com/blog/2007/11/17/updated-ga-on-site-search-setup/' rel='bookmark' title='Permanent Link: UPDATED: GA On Site Search Setup'>UPDATED: GA On Site Search Setup</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/feed/</wfw:commentRss>
		<slash:comments>49</slash:comments>
		</item>
		<item>
		<title>Adding Business Data to Google Analytics Data</title>
		<link>http://cutroni.com/blog/2008/10/28/adding-business-data-to-google-analytics-data/</link>
		<comments>http://cutroni.com/blog/2008/10/28/adding-business-data-to-google-analytics-data/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 04:15:33 +0000</pubDate>
		<dc:creator>Justin Cutroni</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.epikone.com/blog/?p=879</guid>
		<description><![CDATA[I know the past week has been full of Google Analytics news, but I&#8217;m excited to tell you about something one of our team members created: Google Analytics Notes. For a long time we&#8217;ve wanted to add business data to GA to help keep track of marketing activities, industry news and GA configuration changes. These [...]<p><a href="http://cutroni.com/blog/2008/10/28/adding-business-data-to-google-analytics-data/">Adding Business Data to Google Analytics Data</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>



Related posts:<ol><li><a href='http://cutroni.com/blog/2006/10/10/configuring-google-analytics-for-business-success/' rel='bookmark' title='Permanent Link: Configuring Google Analytics for Business Success'>Configuring Google Analytics for Business Success</a></li>
<li><a href='http://cutroni.com/blog/2007/11/06/make-ga-data-quality-suck-less/' rel='bookmark' title='Permanent Link: Make GA Data Quality Suck Less!'>Make GA Data Quality Suck Less!</a></li>
<li><a href='http://cutroni.com/blog/2006/06/13/set-your-data-free/' rel='bookmark' title='Permanent Link: Set Your Data Free'>Set Your Data Free</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img hspace="7" src="http://www.cutroni.com/blog/wp-content/uploads/2008/10/postit_note-150x150.jpg" alt="" title="Post It Note!  Wouldn&#039;t it be cool to add them to Google Analytics?" width="150" height="150" class="alignright size-thumbnail wp-image-881" style="border:0px;" /></p>
<p>I know the past week has been full of <a href="http://analytics.blogspot.com/">Google Analytics</a> news, but I&#8217;m excited to tell you about something one of our team members created: Google Analytics Notes.</p>
<p>For a long time we&#8217;ve wanted to add business data to GA to help keep track of marketing activities, industry news and GA configuration changes.  These things are critical to know when analyzing data as they add more context and help us understand what&#8217;s affecting website performance.</p>
<p>We tried using <a href="http://docs.google.com/">Google Spreadsheets</a> to store business info but it never worked.  People did not take the time to open up a spreadsheet and add information.  We figured that adding some type of &#8216;note&#8217; functionality to GA would be the easiest way to change this behavior.  That&#8217;s how GA Notes was born.</p>
<p>GA Notes is a <a href="http://en.wikipedia.org/wiki/Firefox_extension">Firefox extension</a> that lets you add business data to a profile.  Notes appear in a concealable table at the top of every report.</p>
<p><a href="http://www.cutroni.com/blog/wp-content/uploads/2008/10/picture-41.png"><img src="http://www.cutroni.com/blog/wp-content/uploads/2008/10/picture-41.png" alt="" title="Business data in Google Analytics." width="500" height="148" class="aligncenter size-full wp-image-884" /></a></p>
<p>Any GA user who views a profile, and has the Firefox extension, will see the notes entered for the profile.  You can add notes, edit notes and delete notes.  Notes can also be exported in XML format for archival purposes.</p>
<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/gAgikPKFuI0"></param> <embed src="http://www.youtube.com/v/gAgikPKFuI0" type="application/x-shockwave-flash" width="425" height="350"></embed></object></p>
<h2>Installation</h2>
<p>Installing GA Notes is easy.  Just download the following file to your computer:</p>
<p><a href="https://ga-notes.appspot.com/ganotes.xpi" onClick="pageTracker.trackPageview('/blog/files/ganote.xpi');">https://ga-notes.appspot.com/ganotes.xpi<br />
</a></p>
<p>Once downloaded double click on the file.  Firefox should open and ask if you want to install the extension.  Click install and that&#8217;s it.  You&#8217;re ready to start adding notes to your GA data.</p>
<p><img src="http://www.cutroni.com/blog/wp-content/uploads/2008/10/picture-31.png" alt="" title="Adding business notes to Google Analytics." width="229" height="86" class="aligncenter size-full wp-image-880" /></p>
<h2>Usage</h2>
<p>The extension adds a &#8216;Show Notes&#8217; button in the GA menu bar.  Click on the button to view notes for this profile or to add a note or edit/delete an existing note.  It&#8217;s not that complicated. :)  We wanted to keep this easy and flexible.</p>
<h2>How it Works</h2>
<p>For those of you that are interested, GA Notes runs on <a href="http://code.google.com/appengine/">Google&#8217;s App Engine</a>.  No data is stored on your machine or our servers.  It&#8217;s stored on Google&#8217;s servers.  The Firefox extension provides the interface to enter and display data.  But all of the processing and data storage happens on App Engine.  All data sent to App Engine is encrypted prior to transmission.</p>
<p>In a perfect world we would have added notes to the data-over-time graph at the top of each report.  However, we can&#8217;t get inside that part of GA using a Firefox extensions (or <a href="https://addons.mozilla.org/en-US/firefox/addon/748">Greasemonkey</a> script).  We thought this was a good compromise.  If anyone out there knows how to dig into Flash let us know! :)</p>
<h2>Road Map</h2>
<p>This is obviously a beta version of the software.  We have a number of features that we&#8217;re working on and hope to have done soon.  These include:</p>
<ul>
<li>Sorting and searching notes by date</li>
<li>Excel friendly export</li>
<li>An admin flag for notes to separate admin changes to your GA account</li>
<li>Some type of alert to show you how many new notes have been added since your last login</li>
<li>A more graphical visualization of note</li>
</ul>
<p>If you have any suggestions or ideas please <a href="http://cegner.wufoo.com/forms/ga-notes-feedback-form/">let us know</a>!</p>
<h2>Credit</h2>
<p>I don&#8217;t have the smarts to build these types of things, I just know enough to be dangerous.  Chris, a new member of our team, built GA Notes from the ground up.  Thanks Chris for all the hard work.</p>
<p><a href="http://cutroni.com/blog/2008/10/28/adding-business-data-to-google-analytics-data/">Adding Business Data to Google Analytics Data</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>


<p>Related posts:<ol><li><a href='http://cutroni.com/blog/2006/10/10/configuring-google-analytics-for-business-success/' rel='bookmark' title='Permanent Link: Configuring Google Analytics for Business Success'>Configuring Google Analytics for Business Success</a></li>
<li><a href='http://cutroni.com/blog/2007/11/06/make-ga-data-quality-suck-less/' rel='bookmark' title='Permanent Link: Make GA Data Quality Suck Less!'>Make GA Data Quality Suck Less!</a></li>
<li><a href='http://cutroni.com/blog/2006/06/13/set-your-data-free/' rel='bookmark' title='Permanent Link: Set Your Data Free'>Set Your Data Free</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cutroni.com/blog/2008/10/28/adding-business-data-to-google-analytics-data/feed/</wfw:commentRss>
		<slash:comments>125</slash:comments>
		</item>
		<item>
		<title>Tying clicks &amp; content to conversion in GA</title>
		<link>http://cutroni.com/blog/2008/07/20/tying-clicks-content-to-conversion-in-ga/</link>
		<comments>http://cutroni.com/blog/2008/07/20/tying-clicks-content-to-conversion-in-ga/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 03:59:08 +0000</pubDate>
		<dc:creator>Justin Cutroni</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tracking]]></category>
		<category><![CDATA[Analysis]]></category>
		<category><![CDATA[google-analytics]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://www.epikone.com/blog/2008/07/20/tying-clicks-content-to-conversion-in-ga/</guid>
		<description><![CDATA[Many site owners spend a lot of time creating content that is supposed to drive conversions. But what&#8217;s the best way to measure the performance of this content with Google Analytics? How can we measure a specific piece of content, be it a page or a piece of creative, and it effect on conversions? Google [...]<p><a href="http://cutroni.com/blog/2008/07/20/tying-clicks-content-to-conversion-in-ga/">Tying clicks &amp; content to conversion in GA</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>



Related posts:<ol><li><a href='http://cutroni.com/blog/2007/03/19/tracking-clicks-with-ga-pt-1-about-urchintracker/' rel='bookmark' title='Permanent Link: Tracking Clicks with GA Pt. 1: About urchinTracker()'>Tracking Clicks with GA Pt. 1: About urchinTracker()</a></li>
<li><a href='http://cutroni.com/blog/2007/03/23/tracking-clicks-with-ga-pt-2-basic-implementation/' rel='bookmark' title='Permanent Link: Tracking Clicks with GA Pt. 2: Basic Implementation'>Tracking Clicks with GA Pt. 2: Basic Implementation</a></li>
<li><a href='http://cutroni.com/blog/2007/04/09/tracking-clicks-with-ga-pt-3-advanced-implementation/' rel='bookmark' title='Permanent Link: Tracking Clicks with GA Pt. 3: Advanced Implementation'>Tracking Clicks with GA Pt. 3: Advanced Implementation</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Many site owners spend a lot of time creating content that is supposed to drive conversions.  But what&#8217;s the best way to measure the performance of this content with Google Analytics?  How can we measure a specific piece of content, be it a page or a piece of creative, and it effect on conversions?</p>
<p>Google Analytics has a metric called $Index to help measure the &#8220;value&#8221; of site pages.   But the problem with $Index is that it is an average, and averages can be skewed very easily.  $Index is about the performance of a page, not the content on a page.  Also, many people want to know how many times a piece of content directly led to a conversion.  We just can&#8217;t get that with $Index.</p>
<p>We could view this type of analysis as a navigation analysis.  Google Analytics has the All Navigation report and the Initial Navigation report, but these reports track things that happen in under 3 clicks and not everyone converts in 3 clicks.</p>
<p>Rather than tackle this problem using navigational analysis, let&#8217;s consider it a content challenge.  What we want to do is see if a specific piece of content ultimately lead to conversion.</p>
<p><img id="image520" src="http://www.cutroni.com/blog/wp-content/uploads/2008/07/picture-3_300x180shkl.png" alt="Google Analytics site overlay report." align="right" hspace="7" /></p>
<p>Given this approach we could use the Site Overlay report, which is supposed to show the performance of each link on a page.  But, in my experience, the Site Overlay report is buggy at best (and I&#8217;m being nice).</p>
<p>We need is a way to link a piece of content, i.e. a pageview, to a conversion.  There&#8217;s a very simple way to do this using the Funnel Visualization report.</p>
<h2>The Concept</h2>
<p>Each funnel has a &#8216;required step&#8217; setting.  When enabled, this setting requires that the visitor views the first step in the funnel prior to conversion.  If the visitor does not see the first step then the Funnel Visualization report will not count a conversion.  The conversion will still be recorded in all other reports, but not the Funnel Visualization report.</p>
<p>What few people know is that it does not matter when the &#8216;required step&#8217; is viewed, as long as it is viewed prior to the conversion.</p>
<p>We&#8217;re going to use this setting to associate a conversion with the content we want to evaluate.</p>
<h2>Example</h2>
<p>Let&#8217;s say I want to track how many people view the About Me page on this blog before subscribing to my RSS feed.  I can create a goal and funnel that links the About Me pageview to the RSS subscription goal.</p>
<h3>Step 1: Set up the goal</h3>
<p>The first step is to create the goal.  Just set up the goal like any other normal goal.  Identify the goal URL, give the goal a name and a value (if you so desire).</p>
<p><img id="image511" src="http://www.cutroni.com/blog/wp-content/uploads/2008/07/picture-1_500x287shkl.jpg" alt="Google Analytics goal settings" /></p>
<h3>Step 2: Identify the &#8220;required step&#8221;</h3>
<p>Now let&#8217;s turn to the funnel.  Remember, step 1 in the funnel, the &#8216;required step&#8217;, is really the piece of content (i.e. the pageview) we want to evaluate in terms of conversions.  Simply add the page URL to the Step 1 URL field, give the step a name, and check the &#8220;required step&#8221; checkbox.</p>
<p><img id="image512" src="http://www.cutroni.com/blog/wp-content/uploads/2008/07/picture-2_500x284shkl.jpg" alt="Google Analytics funnel settings." /></p>
<p>That&#8217;s it!  There&#8217;s nothing else to do.  The funnel visualization report, for this specific funnel, will only show a conversion if the visitor views the About Me page at some point prior to conversion.  GA doesn&#8217;t care when the visitor sees the page, as long as they see the page prior to conversion.</p>
<h2>The Data</h2>
<p>Here&#8217;s a sample Funnel report.  We can see that 4 conversions occurred after viewing the about me page.  Remember, it does not matter when the About Me page was viewed, as long as it was viewed prior to conversion.</p>
<p><img id="image518" src="http://www.cutroni.com/blog/wp-content/uploads/2008/07/picture-2_530x308shkl.png" alt="Google Analytics funnel visualization report." /></p>
<p>Now, if we compare the number of conversions in the Funnel Visualization report, to the overall number of conversions for this goal, we notice there is a difference.</p>
<p><img id="image519" src="http://www.cutroni.com/blog/wp-content/uploads/2008/07/picture-1_300x139shkl.png" alt="Google Analytics goal conversions." /></p>
<p>The difference is the number of visits that did not include the About Me page prior to subscribing to the RSS feed.  There were 8 total RSS Subscription conversions, but only 4 of those conversions viewed the About Me page prior to converting.  Now we know how effective the About Me page was at driving RSS subscriptions.</p>
<h2>Taking it Further</h2>
<p>What about associating a set of pages with a conversion activity?  No problem, just use a regular expression to define your required step.  Here&#8217;s the same example, but I&#8217;ve tweaked to to track visits that include the About Me page or the All Posts page.</p>
<p><img id="image514" src="http://www.cutroni.com/blog/wp-content/uploads/2008/07/picture-3_540x543shkl.png" alt="GA funnel to associate multiple pages with a goal." /></p>
<p>And remember, the pageview you specify for your required step does not need to be a real &#8220;pageview.&#8221;  It can be a virtual pageview, generated with the <code>pageTracker._trackPageview()</code> method.  In fact, that&#8217;s what I&#8217;m doing on the blog.  I generate a virtual pageview every time someone clicks on the RSS icon.</p>
<p>This technique is very useful if you want to measure how well a specific piece of content on a page is performing.  Generate a pageview when a visitor clicks on the content and use it as step 1 in the funnel.</p>
<p>Think this is a good idea?  Got one that&#8217;s better?  Leave a comment!</p>
<p><a href="http://cutroni.com/blog/2008/07/20/tying-clicks-content-to-conversion-in-ga/">Tying clicks &amp; content to conversion in GA</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>


<p>Related posts:<ol><li><a href='http://cutroni.com/blog/2007/03/19/tracking-clicks-with-ga-pt-1-about-urchintracker/' rel='bookmark' title='Permanent Link: Tracking Clicks with GA Pt. 1: About urchinTracker()'>Tracking Clicks with GA Pt. 1: About urchinTracker()</a></li>
<li><a href='http://cutroni.com/blog/2007/03/23/tracking-clicks-with-ga-pt-2-basic-implementation/' rel='bookmark' title='Permanent Link: Tracking Clicks with GA Pt. 2: Basic Implementation'>Tracking Clicks with GA Pt. 2: Basic Implementation</a></li>
<li><a href='http://cutroni.com/blog/2007/04/09/tracking-clicks-with-ga-pt-3-advanced-implementation/' rel='bookmark' title='Permanent Link: Tracking Clicks with GA Pt. 3: Advanced Implementation'>Tracking Clicks with GA Pt. 3: Advanced Implementation</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cutroni.com/blog/2008/07/20/tying-clicks-content-to-conversion-in-ga/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>2008 Google Analytics Resolutions</title>
		<link>http://cutroni.com/blog/2008/01/08/2008-google-analytics-resolutions/</link>
		<comments>http://cutroni.com/blog/2008/01/08/2008-google-analytics-resolutions/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 15:13:04 +0000</pubDate>
		<dc:creator>Justin Cutroni</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[google-analytics]]></category>
		<category><![CDATA[settings]]></category>

		<guid isPermaLink="false">http://www.epikone.com/blog/2008/01/08/459/</guid>
		<description><![CDATA[Happy new year! I can&#8217;t believe 2007 is over. Continuing with a tradition I began last year, I give you my 2008 GA resolutions. Before I get into the list, I want to thank everyone who reads and contributes to Analytics Talk. 2007 was an incredible year for me, and I really owe a lot [...]<p><a href="http://cutroni.com/blog/2008/01/08/2008-google-analytics-resolutions/">2008 Google Analytics Resolutions</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>



Related posts:<ol><li><a href='http://cutroni.com/blog/2007/01/03/top-5-google-analytics-resolutions-for-2007/' rel='bookmark' title='Permanent Link: Top 5 Google Analytics Resolutions for 2007'>Top 5 Google Analytics Resolutions for 2007</a></li>
<li><a href='http://cutroni.com/blog/2007/07/14/breaking-up-is-hard-to-do-ga-account-setup-tip/' rel='bookmark' title='Permanent Link: Breaking Up Is Hard To Do: GA Account Setup Tip'>Breaking Up Is Hard To Do: GA Account Setup Tip</a></li>
<li><a href='http://cutroni.com/blog/2007/08/29/segmenting-members-from-non-members/' rel='bookmark' title='Permanent Link: Segmenting Members from Non-Members'>Segmenting Members from Non-Members</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Happy new year!  I can&#8217;t believe 2007 is over.  Continuing with <a href="http://www.cutroni.com/blog/2007/01/03/top-5-google-analytics-resolutions-for-2007/">a tradition I began last year</a>, I give you my 2008 GA resolutions.</p>
<p>Before I get into the list, I want to thank everyone who reads and contributes to Analytics Talk.  2007 was an incredible year for me, and I really owe a lot to you guys.  Thank you for reading, posting questions and helping me learn so much.</p>
<h2>1.  I will migrate to the new GA.JS tracking code.</h2>
<p>Google announced a <a href="http://www.cutroni.com/blog/2007/10/16/gajs-new-google-analytics-tracking-code/">new version of the tracking code</a>, ga.js,  in October 2007 and launched the new code in December.  After some <a href="http://www.cutroni.com/blog/2007/12/17/installing-gajs-with-aspnet/">minor launch problems</a> things seem to be running smoothly.  While you don&#8217;t need to migrate to <a href="http://www.google-analytics.com/ga.js">ga.js</a>, you should start to think about it because Google will no longer add features to urchin.js.  In my opinion, you should tackle this problem sooner rather than later.</p>
<h2>2.  I will contemplate Event Tracking and how I can use it.</h2>
<p><img id="o.ny" style="margin: 1em 0pt 0pt 1em; float: right;" src="http://docs.google.com/File?id=ajfw2hm7zr49_182dbvjnpgh" height="165" width="249"/>  The reason Google introduced a new version of the tracking code was to enable a powerful new feature called Event Tracking.  While most folks might think of event tracking as a &#8216;web 2.0&#8242; tracking tool geared towards video players and Ajax, it&#8217;s really a flexible framework for data collection.     I was skeptical at first, but now I&#8217;m a convert.  All of us can take advantage of this new feature.</p>
<p>I&#8217;ll be writing more about Event Tracking and its uses when Google pushes the feature to everyone.  In the mean time, check out this series of posts to learn more:</p>
<p><a href="http://www.cutroni.com/blog/2007/10/16/event-tracking-pt-1-overview-data-model/">Event Tracking Pt. 1: Overview &#038; Data Model</a><br />
<a href="http://www.cutroni.com/blog/2007/10/16/event-tracking-pt-2-implementations/"> Event Tracking Pt. 2: Implementation</a><br />
<a href="http://www.cutroni.com/blog/2007/10/16/event-tracking-pt-3-reporting-analysis/">Event Tracking Pt. 3: Reporting &#038; Analysis</a></p>
<h2>3.  I will get creative with profiles.</h2>
<p>This is something I&#8217;ve been talking about for a while.  Profiles are so much more than website data.  They&#8217;re a collection of data <i>and business rules</i>.  Last year, as part of my 2007 resolutions, I mentioned setting up test profiles as a way to insure your configuration settings are correct.</p>
<p>For 2008 I suggest setting up profiles for all major marketing campaigns and mediums.  Why?  So you can segment reports that normally can not be segmented.  Check out <a href="http://www.cutroni.com/blog/2007/07/17/segmenting-visitor-loyalty-reports-in-ga/">Segmenting Visitor Loyalty Reports in GA</a> for more information.</p>
<h2>4.  I will try some type of &#8216;advanced&#8217; Google Analytics configuration.</h2>
<p>Most of us have a fairly basic implementation of GA.  We don&#8217;t need to do much more than add the tracking code to our site, set up goals, and configure on site search reporting.</p>
<p>Why not try something new this year?  How about using an &#8216;advanced&#8217; feature like custom segmentation, event tracking or even e-commerce tracking?  All of these features can help you learn more about your visitors and what they do.  That&#8217;s why we use these features and try these hacks: to gain insight and knowledge.</p>
<h2>5.  I will keep track of website changes and Google Analytics changes.</h2>
<p>This is something that <a title="Tracking GA Changes" target="_blank" href="http://www.cutroni.com/blog/2006/08/31/track-your-google-analytics-changes/" id="v1bm">I wrote about</a> a long time ago, but it&#8217;s still really important.  It&#8217;s a good idea to keep track of your GA configuration changes so you can better understand the data.  Any modifications, like a change to a goal, funnel or filter, should be recorded.</p>
<p>It&#8217;s also a good idea to keep track of website changes and online marketing changes.  Knowing what&#8217;s going to happen with your online business helps drive analysis and you&#8217;ll be able to deliver data that will make people happy.</p>
<p>You don&#8217;t need anything elaborate, a simple <a title="Google Spreadsheet" target="_blank" href="http://google.com/docs">Google Spreadsheet</a>, <a title="like this one" target="_blank" href="http://spreadsheets.google.com/ccc?key=p7c_HKcmspSVSRSZgMckYdg&#038;hl=en" id="n97g">like this one</a>,  will work just fine.</p>
<p>There you have it, a few ideas to spice up your 2008 Google Analytics plans.  Got a better idea or think that I missed something?  Leave a comment below.  And happy new year!<!--d33555b2824ed8602202633cbf168443--></p>
<p><a href="http://cutroni.com/blog/2008/01/08/2008-google-analytics-resolutions/">2008 Google Analytics Resolutions</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>


<p>Related posts:<ol><li><a href='http://cutroni.com/blog/2007/01/03/top-5-google-analytics-resolutions-for-2007/' rel='bookmark' title='Permanent Link: Top 5 Google Analytics Resolutions for 2007'>Top 5 Google Analytics Resolutions for 2007</a></li>
<li><a href='http://cutroni.com/blog/2007/07/14/breaking-up-is-hard-to-do-ga-account-setup-tip/' rel='bookmark' title='Permanent Link: Breaking Up Is Hard To Do: GA Account Setup Tip'>Breaking Up Is Hard To Do: GA Account Setup Tip</a></li>
<li><a href='http://cutroni.com/blog/2007/08/29/segmenting-members-from-non-members/' rel='bookmark' title='Permanent Link: Segmenting Members from Non-Members'>Segmenting Members from Non-Members</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cutroni.com/blog/2008/01/08/2008-google-analytics-resolutions/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Make GA Data Quality Suck Less!</title>
		<link>http://cutroni.com/blog/2007/11/06/make-ga-data-quality-suck-less/</link>
		<comments>http://cutroni.com/blog/2007/11/06/make-ga-data-quality-suck-less/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 14:44:03 +0000</pubDate>
		<dc:creator>Justin Cutroni</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tracking]]></category>
		<category><![CDATA[data-quality]]></category>
		<category><![CDATA[google-analytics]]></category>
		<category><![CDATA[setup]]></category>

		<guid isPermaLink="false">http://www.epikone.com/blog/2007/11/06/make-ga-data-quality-suck-less/</guid>
		<description><![CDATA[We all know that data quality sucks! But there are a few, vital steps that you can take to insure that your Google Analytics data is as accurate as possible. Remember, accurate data makes for happy, and accurate, analysts. Here are three simple tips that can help make your data more accurate. 1. Eliminate Duplicate [...]<p><a href="http://cutroni.com/blog/2007/11/06/make-ga-data-quality-suck-less/">Make GA Data Quality Suck Less!</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>



Related posts:<ol><li><a href='http://cutroni.com/blog/2006/09/21/google-analytics-configuration-mistake-2-query-string-variables/' rel='bookmark' title='Permanent Link: Google Analytics Configuration Mistake #2: Query String Variables'>Google Analytics Configuration Mistake #2: Query String Variables</a></li>
<li><a href='http://cutroni.com/blog/2007/08/29/segmenting-members-from-non-members/' rel='bookmark' title='Permanent Link: Segmenting Members from Non-Members'>Segmenting Members from Non-Members</a></li>
<li><a href='http://cutroni.com/blog/2006/07/11/count-me-out/' rel='bookmark' title='Permanent Link: Count Me Out!'>Count Me Out!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img width="119" hspace="7" height="96" align="left" alt="Frustrated with GA Data?  Get a grip!" id="image407" title="Frustrated with GA Data?  Get a grip!" src="http://www.cutroni.com/blog/wp-content/uploads/2007/11/frustration.jpg" />We all know that <a href="http://www.kaushik.net/avinash/2006/06/data-quality-sucks-lets-just-get-over-it.html">data quality sucks</a>!  But there are a few, vital steps that you can take to insure that your <a href="http://www.google.com/analytics">Google Analytics</a> data is as accurate as possible.  Remember, accurate data makes for happy, and accurate, analysts.</p>
<p>Here are three simple tips that can help make your data more accurate.</p>
<h2>1.  Eliminate Duplicate Data</h2>
<p>Many sites that I work on have duplicate data.  The usual cause is mixed case URLs.  Google Analytics is case sensitive, it captures the data exactly as it appears in the location bar of the browser.  So if a URL is of mixed case in the browser, it will be captured and displayed in mixed case within GA.</p>
<p>It&#8217;s very easy to have two URLs, that have the same functional meaning, appear as two line items in GA because they have a different case.  Here&#8217;s an example:</p>
<pre><code>/worldseries/index.php?year=2007&amp;keyword=lowell
/Worldseries/index.php?year=2007&amp;keyword=Lowell</code></pre>
<p>Both URLs are probably the same, they just appear different because of the case.  We want to force both URLs to have the same case and thus make them appear as a single line item in GA.   This can be done with a Lowercase or Uppercase filter.  I like the lowercase filter, but you could easily use the uppercase filter.  It&#8217;s a personal preference.</p>
<p>The filter below will force the Request URI to lowercase:</p>
<p><img alt="Google Analytics Lowercase Filter" id="image401" src="http://www.cutroni.com/blog/wp-content/uploads/2007/10/20071030-lowercase-filter.png" /></p>
<p>I recommend adding a case changing filter to any data element (i.e. filter field) that could be mixed case.  This includes:</p>
<ul>
<li>Request URI</li>
<li>Campaign Name</li>
<li>Campaign Term</li>
<li>Campaign Medium</li>
<li>Campaign Source</li>
</ul>
<p>Another cause of duplicate data is multiple URLs that display the same content but have a different file extension.  Here&#8217;s an example:</p>
<pre><code>/champions/redsox.php
/champions/redsox.htm</code></pre>
<p>These URLs may appear different (because of the file extension), but the web server might interpret them as the same file.  Please note that not every web server behaves this way.  It all depends on your web server.  Check with your IT guru if your site has URLs with multiple file extensions.</p>
<p>You should merge duplicates URLs, that have different file extensions, into a single line item.  I find the best way to do this is with an advanced filter.</p>
<p><img alt="Google Analytics AdVanced Filter for URI ReWrite" id="image403" src="http://www.cutroni.com/blog/wp-content/uploads/2007/11/20071104-advanced-filter-extension.png" /></p>
<p>Some may think that a search and replace filter is the best way to remove these duplicates.  But you would need to create a search and replace filter for each set of URLs that needs to be merged.  An advanced filter, because it uses a regular expression, will change every URL that ends in &#8216;.htm&#8217; to a &#8216;.php&#8217; extension.</p>
<h2>2.  Remove Irrelevant Information</h2>
<p>Extra information in the URL can cause big problems in Google Analytics.  The reason is that GA will capture all of the data in a URL, which includes the query string parameters.  Query string parameters that don&#8217;t have a functional meaning should be removed from the URL.</p>
<p>An easy way eliminate these parameters is to collect data for a week and then analyze the top content report.  Any query string parameter that does not provide insight into what the visitor sees or does should be eliminated.</p>
<p>To remove a query string parameter from GA simply add it to the &#8216;Exclude URL Query Parameters&#8217; field in the profile settings:</p>
<p><a title="20071104-exclude-parameters.png" class="imagelink" href="http://www.cutroni.com/blog/wp-content/uploads/2007/11/20071104-exclude-parameters.png"><img alt="20071104-exclude-parameters.png" id="image406" src="http://www.cutroni.com/blog/wp-content/uploads/2007/11/20071104-exclude-parameters.png" /></a></p>
<p>Enter multiple parameters as a comma separated list.</p>
<p>Be aware that once you remove a query string parameter from GA it is completely eliminated from the system. So any goals, funnels or other filters that use that parameter will no longer work.</p>
<p>Also remember that you should remove any query string parameters that contain personally identifiable information.  It is against the GA terms of service to collect PII.</p>
<h2>3.  Identify Your Segment</h2>
<p>I could have easily named this tip &#8216;exclude internal data&#8217; but I wanted to change the way we all think about profiles and the data that&#8217;s in them.  I believe we should think of profile data in terms of the segment we want to analyze, not who we want to exclude.  I know these statements are very close in meaning, but there is a slight difference.  Segmentation is so important to analysis.  I believe that every time we create a profile we should consider what segment of data it will contain.</p>
<p>I can think if a few segments of data that I would like to analyze:</p>
<ul>
<li>CPC traffic</li>
<li>New visitors</li>
<li>Return visitors</li>
<li>European visitors</li>
<li>Traffic from a specific marketing campaign</li>
<li>Non-employee traffic</li>
<li>Traffic generated by my call center</li>
</ul>
<p>All of the above segments can be created as different profiles using include filters.  Each will provide some insight into that segment.  <strong>Don&#8217;t get me wrong, you&#8217;ll probably want to exclude internal traffic from 99% of your profiles.</strong>  But try to think in broader terms, focus on the segment that you want to analyze.</p>
<p>Creating a profile based on a particular segment of traffic is pretty easy.  The first thing you want to do is identify what segment of traffic you want to include in your profile.  Then create a filter based on the filter filed that represents that segment.</p>
<p>Let&#8217;s say I want to see all traffic generated from visitors performing some type of external search on my name.  I could apply the following include filter to a profile:</p>
<p><img alt="Google Analytics Include Filter" id="image402" src="http://www.cutroni.com/blog/wp-content/uploads/2007/10/20071030-name-filter.png" /></p>
<p>This filter can easily be modified to include a specific marketing campaign (using the Campaign Name field), a specific country (using the Visitor Country field) or any other segment of data so long as it is represented by one of the filter fields.  Please note that this will work even if you&#8217;re using AdWords auto tagging on, even though you haven&#8217;t done any heavy lifting to define the Campaign Term.</p>
<p>By the way, you will want to exclude internal traffic from many profiles.  My favorite way to remove internal traffic from a profile is with an &#8216;Exclude all traffic from an IP address&#8217;.  Make sure you use anchors at the beginning and end of the regular expression.</p>
<p><img alt="Google Analytics Filter: Exclude IP Address" id="image405" src="http://www.cutroni.com/blog/wp-content/uploads/2007/11/20071105-exclude-ip.png" /></p>
<p>Another good way to exclude internal traffic, especially if you don&#8217;t have a static IP address, is to use a little hack called <a href="http://www.cutroni.com/blog/2006/07/11/count-me-out/">Count Me Out</a>.  This hack uses the GA custom segment cookie to identify users.</p>
<p>So remember, yes, you need to exclude internal traffic, but try to take a broad view and think about segmentation when you filter your profiles.<!--c59841172e80a2fb9bb7d6c362addf7d--><!--f721fa7914d09df272890886de8d55f3--></p>
<p><a href="http://cutroni.com/blog/2007/11/06/make-ga-data-quality-suck-less/">Make GA Data Quality Suck Less!</a> is a post from: <a href="http://cutroni.com/blog">Analytics Talk by Justin Cutroni</a></p>


<p>Related posts:<ol><li><a href='http://cutroni.com/blog/2006/09/21/google-analytics-configuration-mistake-2-query-string-variables/' rel='bookmark' title='Permanent Link: Google Analytics Configuration Mistake #2: Query String Variables'>Google Analytics Configuration Mistake #2: Query String Variables</a></li>
<li><a href='http://cutroni.com/blog/2007/08/29/segmenting-members-from-non-members/' rel='bookmark' title='Permanent Link: Segmenting Members from Non-Members'>Segmenting Members from Non-Members</a></li>
<li><a href='http://cutroni.com/blog/2006/07/11/count-me-out/' rel='bookmark' title='Permanent Link: Count Me Out!'>Count Me Out!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cutroni.com/blog/2007/11/06/make-ga-data-quality-suck-less/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (enhanced)

Served from: cutroni.com @ 2012-05-22 09:48:30 -->
