<?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>Leo Fogarty .com &#187; Web Analytics</title>
	<atom:link href="http://www.leofogarty.com/category/search-engine-optimisation/web-analytics/feed" rel="self" type="application/rss+xml" />
	<link>http://www.leofogarty.com</link>
	<description></description>
	<lastBuildDate>Sun, 22 Aug 2010 20:02:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to track downloads and external links through Google Analytics</title>
		<link>http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/how-to-track-downloads-and-external-links-through-google-analytics.html</link>
		<comments>http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/how-to-track-downloads-and-external-links-through-google-analytics.html#comments</comments>
		<pubDate>Mon, 21 Sep 2009 22:00:37 +0000</pubDate>
		<dc:creator>Leo</dc:creator>
				<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[track downloads]]></category>
		<category><![CDATA[track external links]]></category>

		<guid isPermaLink="false">http://www.leofogarty.com/?p=730</guid>
		<description><![CDATA[<a href="http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/how-to-track-downloads-and-external-links-through-google-analytics.html"><img align="left" hspace="5" width="150" src="http://www.iqcontent.com/blog/files/wp/2009/04/top-content-virtual-download-illustration1-300x228.jpg" class="alignleft wp-post-image tfe" alt="top-content-virtual-download-illustration1" title="" /></a>This post is continuing on from yesterdays post. Another great tip from Niamh from IQ Content that will be of great benefit to Affiliate Marketers is the ability to track downloads and external links through Google Analytics. They have even gone to all the trouble of making it very easy for you by making a [...]]]></description>
			<content:encoded><![CDATA[<p>This post is continuing on from yesterdays post. Another great tip from Niamh from <a href="http://www.iqcontent.com">IQ Content</a> that will be of great benefit to Affiliate Marketers is the ability to track downloads and external links through Google Analytics. They have even gone to all the trouble of making it very easy for you by making <a href="http://www.iqcontent.com/blog/files/taglinks.js">a script that will automatically track all downloads</a>.</p>
<p>This will track the following file types:</p>
<ul>
<li> PDF (.pdf)</li>
<li>Microsoft Word (.doc)</li>
<li> Microsoft Excel (.xls)</li>
<li>Microsoft PowerPoint (.ppt)</li>
<li>Microsoft Visio (.vsd)</li>
<li>Microsoft Visio XML (.vxd)</li>
<li>ZIP Archive(.zip)</li>
<li>RAR Archive (.rar)</li>
<li>Text file (.txt)</li>
<li>Downloadable Javascript file (.js)</li>
<li>Downloadable CSS file (.css)</li>
<li>Executable (.exe)</li>
<li>NEW Windows Media Audio (.wma)</li>
<li>NEW Quicktime (.mov)</li>
<li>NEW Audio Video Interleave (.avi)</li>
<li>NEW Windows Media Video (.wmv)</li>
<li>NEW Mpeg Layer-3 (.mp3)</li>
</ul>
<h2>How to use the Script:</h2>
<ol>
<li>Add the custom script onto your server, eg. <strong>/scripts/taglinks.js</strong></li>
<li>Add an extra line of code to every page on your site, immediately before the <strong>ga.js</strong> GA tracking code</li>
</ol>
<h2>How to monitor downloads:</h2>
<p>The script scans each page and autotags all downloads, mailtos and external links with ‘onclick events’.  This means that <strong>every time a visitor clicks one of these links, a virtual page view is sent to GA</strong>.</p>
<p>The virtual page views appear in the <strong>‘Top Content’ report in GA</strong> and they look like this:</p>
<p>Downloads:                        /virtual/download/page/file-name/</p>
<p>Mailtos:                              /virtual/mailto/page/email-address/</p>
<p>External links:                    /virtual/exlink/page/destination-url/</p>
<p>Each time one of these events takes place,</p>
<ul>
<li>the name of the downloaded file is logged,</li>
<li>the email address to whom the email is sent is logged, and</li>
<li>the destination of the link the visitor followed off your site is logged</li>
</ul>
<p>Further, in all cases, <strong>GA logs the page from which the virtual page view was triggered</strong>.  This is valuable data:</p>
<p>Consider a scenario where visitors have the option to download a newsletter from your home page or from your publications page.   By measuring the page from which users launched the download, <strong>you have full visibility on which page generated more newsletter downloads</strong>.  Note you may have more than one line entry in ‘Top Content’ for any given PDF.  Each line item records each location where the file was downloaded.</p>
<h2>How do I structure my account?</h2>
<p>You can measure what you want to measure.  Here’s how.</p>
<ul>
<li>If you want to isolate all of these virtual page views, simply type <strong>/virtual/</strong> in the ‘containing’ field at the bottom of ‘Top Content’</li>
<li>If you want to isolate just the downloads, type <strong>/virtual/downloads/</strong> into the ‘containing’ field at the bottom of the ‘Top Content’ report.</li>
<li>If you want to isolate just external links type <strong>/virtual/exlinks/</strong> into the ‘containing’ field at the bottom of the ‘Top Content’ report.</li>
<li> If you want to isolate just mailtos, type<strong>/virtual/mailtos/ </strong>into the ‘containing’ field at the bottom of the ‘Top Content’ report.</li>
</ul>
<p>You get the gist.</p>
<p>For example, to isolate only the file downloads, type, /virtual/downloads/:</p>
<p style="text-align: center;"><a href="http://www.iqcontent.com/blog/files/wp/2009/04/top-content-virtual-download-illustration1.jpg"><img class="aligncenter" src="http://www.iqcontent.com/blog/files/wp/2009/04/top-content-virtual-download-illustration1-300x228.jpg" alt="top-content-virtual-download-illustration1" width="300" height="228" /></a></p>
<p>The third entry indicates that there were 39 downloads (pageviews) during 36 sessions (unique pageviews) of the file PM18012008.pdf, launched from the page <span style="color: #0066cc;"><span style="text-decoration: underline;">http://www.iqcontent.com/about/jobs/</span></span><span style="color: #000000;"> in the time period selected.</span></p>
<img src="http://www.leofogarty.com/?ak_action=api_record_view&id=730&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/how-to-track-downloads-and-external-links-through-google-analytics.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Cross Domain Tracking on Multiple Domains using Google Analytics</title>
		<link>http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/cross-domain-tracking-on-multiple-domains-using-google-analytics.html</link>
		<comments>http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/cross-domain-tracking-on-multiple-domains-using-google-analytics.html#comments</comments>
		<pubDate>Sat, 19 Sep 2009 22:21:22 +0000</pubDate>
		<dc:creator>Leo</dc:creator>
				<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Cross Domain Tracking]]></category>
		<category><![CDATA[I-HCI]]></category>
		<category><![CDATA[IQ Content]]></category>
		<category><![CDATA[Multiple Domains]]></category>
		<category><![CDATA[Niamh Phelan]]></category>

		<guid isPermaLink="false">http://www.leofogarty.com/?p=715</guid>
		<description><![CDATA[<a href="http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/cross-domain-tracking-on-multiple-domains-using-google-analytics.html"><img align="left" hspace="5" width="150" src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.11NXC/bT*xJmx*PTEyNTMzOTI4MzAzMjAmcHQ9MTI1MzM5Mjg*NzQ*MyZwPTEwMTkxJmQ9c3NfZW1iZWQmZz*yJm9mPTA=.gif" class="alignleft wp-post-image tfe" alt="" title="" /></a>Well I decided to blow the dust of the blog, it&#8217;s been a whole 2 weeks since I last posted, this is a lifetime in the online community. Well the reason I havent been blogging is that I&#8217;ve been busy attending events and trying to apply the knowledge I&#8217;ve learnt to the affiliate marketing/make money [...]]]></description>
			<content:encoded><![CDATA[<p>Well I decided to blow the dust of the blog, it&#8217;s been a whole 2 weeks since I last posted, this is a lifetime in the online community. Well the reason I havent been blogging is that I&#8217;ve been busy attending events and trying to apply the knowledge I&#8217;ve learnt to the affiliate marketing/make money online world. The next couple of posts will be about what I picked up.</p>
<h1>IxDA Industry Session at Irish HCI Conference &#8211; 17th-18th September 2009, Trinity College, Dublin, Ireland.</h1>
<p>So this was the first event I attended which was held over two days, I have to admit I really was only interested in attending a couple of sessions mainly the ones related to web analytics and search, and I have to say I defintiely was happy with the knowledge shared at the event.</p>
<h2>Web Analytics</h2>
<p>First up was <a href="http://www.iqcontent.com/about/team/niamhphelan/">Niamh Phelan</a> from <a href="http://www.iqcontent.com">IQ content</a> discussing how to use Google Analytics, decide on the correct kpi&#8217;s/metrics for your business, establish your goals and tweak your website accordingly. Unfortunately I wasn&#8217;t able to find Niamh&#8217;s presentation online but I was able to find a presentation she did previously that shares a lot of the slides:<br />
<center><img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.11NXC/bT*xJmx*PTEyNTMzOTI4MzAzMjAmcHQ9MTI1MzM5Mjg*NzQ*MyZwPTEwMTkxJmQ9c3NfZW1iZWQmZz*yJm9mPTA=.gif" />
<div style="width:425px;text-align:left" id="__ss_522357"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/laurenceveale/ei-presentation-on-analytics" title="Ei Presentation on analytics">Ei Presentation on analytics</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=eipresentation-1216657833632251-9&#038;stripped_title=ei-presentation-on-analytics" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=eipresentation-1216657833632251-9&#038;stripped_title=ei-presentation-on-analytics" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/laurenceveale">Lar Veale</a>.</div>
</div>
<p></center></p>
<p>Niamh was great and very helpful, she even was able to give me some advice after the event. One of the areas I was interested in was cross domain tracking on multiple domains and how to implement it.<br />
<H3>Why as an Affiliate should I care about Cross Domain tracking?</H3><br />
Most successful affiliates will agree that in order to become successful you must think about longevity. The best way to do this is as <a href="http://www.leofogarty.com/affiliate-marketing/an-interview-with-fraser-edwards-from-affiliateblog-co-uk.html">Fraser Edwards recommended is to build a brand</a>. A good example of this in the industry would be Doug Scott&#8217;s <a href="http://www.carrentals.co.uk">carrentals.co.uk</a> targeting multiple countries using multiple domains. Ok, so what has this got to do with Cross Domains? Well once you&#8217;ve established your brand in one country or index, just as we scale our ppc campaigns when we&#8217;ve found a successful model, we do the same with our websites based on the markets where there is a demand for the products for which we&#8217;re an affiliate i.e. .com (targeting U.S. market), .co.uk (targeting U.K. market). When we&#8217;ve established a couple of country specific sites it is useful to track them as one brand, especially if the sites are heavily interlinked.</p>
<p><H3>How to Implement Cross Domain Tracking on Multiple Domains</H3><br />
Niamh was able to point me to the post on IQ&#8217;s blog which deals with <a href="http://www.iqcontent.com/blog/2009/08/google-analytics-automatic-tracking-across-multiple-domains/">cross domain tracking</a>.</p>
<p><H3>The scenario</H3></p>
<p>A user searches Google for “cheap widgets”. Your site, www.CheapWidgets.com, appears top of the search results, so the user decides to click on the link to your site. While browsing around, they click a link that leads to your insightful widget blog which is located at blog.CheapWidgets.com.</p>
<p>With the default Google Analytics setup, www.CheapWidgets.com will be seen as a referrer to your blog subdomain and a new set of cookies will be generated for that user, losing sight of information such as the referring site (Google) and the keywords that they used to find you (”cheap widgets”).</p>
<p>Ideally, this information would be preserved across all subdomains and any relevant third party domains that you own.<br />
<H3>The solution</H3></p>
<p>Google Analytics does provide a solution for this, but it’s a bit cumbersome:</p>
<p>Step 1: Modify your tracking code to include a couple of extra functions (which is simple enough).<br />
Step 2: Manually tag each link to one of your subdomains or third party domains with a JavaScript function (which is annoying).<br />
Step 3: Remember to tag each link that points to any of your domains (which is a burden). This is something that could very easily be overlooked.</p>
<p><H3>The real solution</H3></p>
<p>Niamh and the guys at IQ have produced a script that will automate this process. It automatically tags links to a set of domains that you configure inside the script.</p>
<p>The first thing you need to do is update the tracking code across each of your domains and subdomains.<br />
Updated tracking code</p>
<pre class="brush: php">
&lt;script type=&quot;text/javascript&quot;&gt;
    var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);
    document.write(unescape(&quot;%3Cscript src=&#039;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#039; type=&#039;text/javascript&#039;%3E%3C/script%3E&quot;));
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
    var pageTracker = _gat._getTracker(&quot;UA-xxxxx-x&quot;); // Replace with your own account number
    pageTracker._setDomainName(&quot;.yourdomain.com&quot;); // Don&#039;t forget to update this
    pageTracker._setAllowLinker(true);
    pageTracker._setAllowHash(false);
    pageTracker._trackPageview();
&lt;/script&gt;
</pre>
<p>The value of _setDomainName should be the root of the domain you’re installing the code on. So, the value for both blog.CheapWidgets.com and www.CheapWidgets.com would be</p>
<blockquote><p>   pageTracker._setDomainName(&#8220;.CheapWidgets.com&#8221;);</p></blockquote>
<p>The next and final step is to <a href="http://www.iqcontent.com/js/xdomain.js">download the script</a>, update the domains that you would like to track and include it on your page.<br />
Sample configuration</p>
<blockquote><p>
var domains_to_track =<br />
[<br />
    'blog.yourdomain.com',<br />
    'wiki.yourdomain.com',<br />
    '*.someotherdomain.com'<br />
];
</p></blockquote>
<p>Include the script with the following code (it must appear in the body, just before your tracking code):</p>
<pre class="brush: php">
&lt;script src=&quot;/path/to/js/xdomain.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
    var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);
    document.write(unescape(&quot;%3Cscript src=&#039;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#039; type=&#039;text/javascript&#039;%3E%3C/script%3E&quot;));
&lt;/script&gt;</pre>
<img src="http://www.leofogarty.com/?ak_action=api_record_view&id=715&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/cross-domain-tracking-on-multiple-domains-using-google-analytics.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to track 2nd page rankings in Google Analytics</title>
		<link>http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/how-to-track-2nd-page-rankings-in-google-analytics.html</link>
		<comments>http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/how-to-track-2nd-page-rankings-in-google-analytics.html#comments</comments>
		<pubDate>Thu, 20 Aug 2009 22:42:12 +0000</pubDate>
		<dc:creator>Leo</dc:creator>
				<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Rankings]]></category>

		<guid isPermaLink="false">http://www.leofogarty.com/?p=657</guid>
		<description><![CDATA[<a href="http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/how-to-track-2nd-page-rankings-in-google-analytics.html"><img align="left" hspace="5" width="150" src="http://www.leofogarty.com/wp-content/analytics0.png" class="alignleft wp-post-image tfe" alt="analytics0" title="analytics0" /></a>This is a follow up to the post I created yesterday on using analytics. When optimising your site and analysing data it&#8217;s best to go after the quick wins in the short term while still having a strategy for your long term goals. The quick wins would be to optimise and link build for the [...]]]></description>
			<content:encoded><![CDATA[<p>This is a follow up to the post I created yesterday on using analytics. When optimising your site and analysing data it&#8217;s best to go after the quick wins in the short term while still having a strategy for your long term goals. The quick wins would be to optimise and link build for the keywords that your ranking on the 2nd page of google and receiving traffic.</p>
<p>The appeal of this technique is pretty obvious. If your receiving traffic already from the 2nd page of google, how much traffic would you receive if you ranked on the 1st page of Google? If you already rank in the Top 20 of Google for the keywords how much link building will be required to move into the Top 10 compared with optimising and link building for a new keyword?</p>
<h2>So now we know the benefits, how do we track our 2nd page rankings?</h2>
<p>Thanks to <a href="http://www.distilled.co.uk/blog/seo/tracking-referrals-from-second-page-of-google-in-google-analytics/">Will and the guys at Distilled</a>, I&#8217;m going to show you how to set this tracking up in Google Analytics.</p>
<ul>
<li>Create a new Profile for the site</li>
</ul>
<ul> <img class="aligncenter size-full wp-image-664" title="analytics0" src="http://www.leofogarty.com/wp-content/analytics0.png" alt="analytics0" width="345" height="70" /></ul>
<ul>
<li>Add a <strong>filter</strong> and apply it to the newly created profile</li>
</ul>
<ul> <img class="aligncenter size-full wp-image-665" title="analytics2" src="http://www.leofogarty.com/wp-content/analytics2.png" alt="analytics2" width="207" height="95" /></ul>
<ul>
<li>Set the filter up as follows:</li>
</ul>
<p><img class="aligncenter size-full wp-image-666" title="analytics3" src="http://www.leofogarty.com/wp-content/analytics3.png" alt="analytics3" width="600" height="540" /></p>
<p>The text in the Field A –&gt; Extract A box is (\?|&amp;)(start)=([^&amp;]*)</p>
<p>This is a regular expression which extracts the parameter called ’start’ from the referring URL. Google uses this to determine which page of results to display (page 2 is start=10, page 3 is start=20 etc. for anyone with the default settings of 10 search results / page)</p>
<h3>Segmenting the data</h3>
<p>Now when we go into the profile we have the above data but it&#8217;s not quite what we want, we need to segment the data just to capture the keywords from referred from Page 2 of Google. To this we do the following:</p>
<ul>
<li>Select Advanced Segments</li>
</ul>
<p><img class="aligncenter size-full wp-image-672" title="analytics4" src="http://www.leofogarty.com/wp-content/analytics4.png" alt="analytics4" width="211" height="25" /></p>
<ul>
<li>Click on the drop-down and <strong>add a new segment</strong> as shown below:</li>
</ul>
<p><img class="aligncenter size-full wp-image-673" title="analytics5" src="http://www.leofogarty.com/wp-content/analytics5.png" alt="analytics5" width="558" height="448" /></p>
<ul>
<li>Finally Apply this segment to the report</li>
</ul>
<img src="http://www.leofogarty.com/?ak_action=api_record_view&id=657&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/how-to-track-2nd-page-rankings-in-google-analytics.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to track keywords, rankings and landing pages in Google Analytics</title>
		<link>http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/how-to-track-keywords-rankings-and-landing-pages-in-google-analytics.html</link>
		<comments>http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/how-to-track-keywords-rankings-and-landing-pages-in-google-analytics.html#comments</comments>
		<pubDate>Wed, 19 Aug 2009 21:38:23 +0000</pubDate>
		<dc:creator>Leo</dc:creator>
				<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Keywords]]></category>
		<category><![CDATA[landing pages]]></category>
		<category><![CDATA[Rankings]]></category>

		<guid isPermaLink="false">http://www.leofogarty.com/?p=641</guid>
		<description><![CDATA[<a href="http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/how-to-track-keywords-rankings-and-landing-pages-in-google-analytics.html"><img align="left" hspace="5" width="150" height="150" src="http://www.leofogarty.com/wp-content/google-filter-150x150.png" class="alignleft wp-post-image tfe" alt="google-filter" title="google-filter" /></a>When relying on search engine optimisation for your affiliate sites it helps if you can understand, analyse and make decisions based on the data you have for your sites. Google Analytics is a fantastic package for presenting your data regarding traffic to your site but it doesn&#8217;t offer everything you need right out of the [...]]]></description>
			<content:encoded><![CDATA[<p>When relying on search engine optimisation for your affiliate sites it helps if you can understand, analyse and make decisions based on the data you have for your sites. Google Analytics is a fantastic package for presenting your data regarding traffic to your site but it doesn&#8217;t offer everything you need right out of the box.  But don&#8217;t worry Google Analytics is totally customizable and allows you to create filters and use expressions to get the data you need.</p>
<p>Some of the most important metrics I believe required to monitor your SEO efforts would be the ability to monitor Keywords, Rankings and Landing Pages. This data can always be manipulated with &#8220;Links to your site&#8221; data from Webmaster Central to monitor effects of link building.</p>
<p>There have been a couple of solutions on how to do this on the internet. Yoast had a post on how to <a href="http://yoast.com/track-seo-rankings-google-analytics/">track what page of google traffic came from along with keywords</a>. This was good but it was still a bit awkward to read, i.e. the ranking report displays page 1 results as unset, (page: ), page 2 results as (page: 10) or (page: 11). Damon Gudaitis wrote a <a href="http://www.damongudaitis.com/analytics/serp-report-google-analytics.html">post</a> on how to use Yoasts technique but how to make it more presentable, i.e. Page 1, Page 2, etc.</p>
<p>Again this was better but not quite there, it wasn&#8217;t actually tracking the ranking position. But then Google modified it&#8217;s referrer string for search queries and this was spotted by <a href="http://www.blogstorm.co.uk/google-adds-ranking-data-to-referrer-string/">Patrick Altoft</a> who immediatley realised it was now possible to track ranking positions.</p>
<p>Expanding on Patricks information using an example from <a href="http://jamesmorell.com/track-keyword-rank-landing-page-google-analytics/">James Morell</a>, I&#8217;m going to show you how to setup Analytics to track keyword, ranking and landing page:</p>
<ul>
<li>Create a new profile in Google Analytics, and call it something like ‘SERP result and landing page.’</li>
</ul>
<ul>
<li>Hit ‘Edit’ and add a new filter. There will be four filters in total.</li>
</ul>
<ul>
<li>The first filter is for Google Traffic only. Set it up as follows</li>
</ul>
<p><img class="aligncenter size-full wp-image-643" title="google-filter" src="http://www.leofogarty.com/wp-content/google-filter.png" alt="google-filter" width="600" height="384" /></p>
<ol>
<p style="padding-left: 90px;">Select filter type: Custom filter<br />
Check the ‘Include’ radio button<br />
Select Campaign Source in the Filter Field dropdown<br />
Type ‘google’ into the Filter Pattern<br />
Select ‘no’ from the ‘Case Sensitive’ radio buttons</ol>
<ul>
<li>Next, Create another filter called ’search term and rank filter’</li>
</ul>
<p><img class="aligncenter size-full wp-image-650" title="search-term-and-rank-filter" src="http://www.leofogarty.com/wp-content/search-term-and-rank-filter.png" alt="search-term-and-rank-filter" width="600" height="465" /></p>
<p style="padding-left: 90px;">Select filter type: Custom filter<br />
Check the ‘Advanced’ radio button<br />
Select Campaign Term in the Field A -&gt; Extract A box. Enter <strong>(.*)</strong> in the text box<br />
Select Referral in the Field B -&gt; Extract B box. Enter <strong>(\?|&amp;)(cd)=([^&amp;]*)</strong> in the text box<br />
Select Custom Field 1 in the Output To -&gt; Constructor box. Enter <strong>$A1 | rank: $B3</strong> in the text box<br />
Select ‘yes’ from the ‘Field A Required’ radio buttons<br />
Select ‘yes’ from the ‘Field B Required’ radio buttons<br />
Select ‘yes’ from the ‘Override Output Field’ radio buttons<br />
Select ‘no’ from the ‘Case Sensitive’ radio buttons</p>
<ul>
<li>Create a filter called ‘landing page’ to search for the landing page people are getting to:</li>
</ul>
<p><img class="aligncenter size-full wp-image-651" title="landing-page" src="http://www.leofogarty.com/wp-content/landing-page.png" alt="landing-page" width="600" height="463" /></p>
<p style="padding-left: 90px;">Select filter type: Custom filter<br />
Check the ‘Advanced’ radio button<br />
Select Referral in the Field A -&gt; Extract A box. Enter <strong>(\?|&amp;)(url)=([^&amp;]*)</strong> in the text box<br />
Leave the Field B -&gt; Extract B box empty.<br />
Select Custom Field 2 in the Output To -&gt; Constructor box. Enter <strong>$A3</strong> in the text box<br />
Select ‘yes’ from the ‘Field A Required’ radio buttons<br />
Select ‘no’ from the ‘Field B Required’ radio buttons<br />
Select ‘yes’ from the ‘Override Output Field’ radio buttons<br />
Select ‘no’ from the ‘Case Sensitive’ radio buttons</p>
<ul>
<li>Finally, merge the last two filters together with one called ‘keyword, rank and landing page.’</li>
</ul>
<p><img class="aligncenter size-full wp-image-652" title="keyword-rank-landing-page" src="http://www.leofogarty.com/wp-content/keyword-rank-landing-page.png" alt="keyword-rank-landing-page" width="600" height="462" /></p>
<p style="padding-left: 90px;">Select filter type: Custom filter<br />
Check the ‘Advanced’ radio button<br />
Select Custom Field 1 in the Field A -&gt; Extract A box. Enter <strong>(.*)</strong> in the text box<br />
Select Custom Field 2 in the Field B -&gt; Extract B box. Enter <strong>(.*)</strong> in the text box<br />
Select User Defined in the Output To -&gt; Constructor box. Enter <strong>$A1, LP: $B1</strong> in the text box<br />
Select ‘yes’ from the ‘Field A Required’ radio buttons<br />
Select ‘yes’ from the ‘Field B Required’ radio buttons<br />
Select ‘yes’ from the ‘Override Output Field’ radio buttons<br />
Select ‘no’ from the ‘Case Sensitive’ radio buttons</p>
<p>To get value out of this report, go to Traffic sources, Keywords and select User Defined Value in the Dimension drop down. This will give you something like this once it has run for a few days:</p>
<p><img class="aligncenter size-full wp-image-653" title="filter-results" src="http://www.leofogarty.com/wp-content/filter-results.png" alt="filter-results" width="600" height="431" /></p>
<p>So try it for yourself and see if it helps in monitoring your SEO efforts!</p>
<img src="http://www.leofogarty.com/?ak_action=api_record_view&id=641&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.leofogarty.com/search-engine-optimisation/web-analytics/google-analytics/how-to-track-keywords-rankings-and-landing-pages-in-google-analytics.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

