<?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>Measuring Success &#187; Plugins &amp; Hacks</title>
	<atom:link href="http://www.Advanced-Web-Metrics.com/blog/category/ga-hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.Advanced-Web-Metrics.com/blog</link>
	<description>Official blog for the book Advanced Web Metrics with Google Analytics by Brian Clifton</description>
	<lastBuildDate>Fri, 27 Jan 2012 09:50:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<atom:link rel='hub' href='http://www.Advanced-Web-Metrics.com/blog/?pushpress=hub'/>
		<item>
		<title>Google Analytics &#8211; Customisations you cannot live without #2</title>
		<link>http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-2/</link>
		<comments>http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-2/#comments</comments>
		<pubDate>Tue, 10 May 2011 09:24:56 +0000</pubDate>
		<dc:creator>Brian Clifton</dc:creator>
				<category><![CDATA[Google Analytics specific]]></category>
		<category><![CDATA[Plugins & Hacks]]></category>
		<category><![CDATA[auto]]></category>
		<category><![CDATA[automate]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[doc]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[file downloads]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[outbound]]></category>
		<category><![CDATA[outbound links]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[ppt]]></category>
		<category><![CDATA[xls]]></category>
		<category><![CDATA[zip]]></category>

		<guid isPermaLink="false">http://www.Advanced-Web-Metrics.com/blog/?p=2830</guid>
		<description><![CDATA[There are 2 main things that Google Analytics cannot do:

1. No regionalisation of Search Engines for SEO - previous post
2. No automatic tracking of file downloads and outbound links – this post…

The first is an major limitation for Search Marketers requiring regional search engine detail for SEO campaigns; The second is a real pain in the bum for webmasters of content heavy websites who need to track non-standard click throughs (file downloads, mailto, outbound links).

However, Google Analytics is a very flexible product and a little bit of custom JavaScript can go a long way – so I have developed JavaScript “extensions” to over come these limitations…
<em>Related posts (automatically generated):</em><ol>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-1/' rel='bookmark' title='Google Analytics customisations you cannot live without #1'>Google Analytics customisations you cannot live without #1</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2008/06/08/updated-tracking-script-for-gajs/' rel='bookmark' title='Track outbound links and file downloads automatically in Google Analytics'>Track outbound links and file downloads automatically in Google Analytics</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2007/08/15/tracking-banners-and-other-outgoing-links-automatically/' rel='bookmark' title='Tracking banners and other outgoing links &#8211; Automatically'>Tracking banners and other outgoing links &#8211; Automatically</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2010/04/29/google-analytics-ebook-pdf-available/' rel='bookmark' title='Google Analytics ebook (PDF) available'>Google Analytics ebook (PDF) available</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Following my previous post in this two-part serties, in my opinion there are 2 main limitations of Google Analytics:</p>
<ol>
<li>No automatic tracking of file downloads and outbound links &#8211; <em>this post&#8230;</em></li>
<li><em> </em>No <a href="http://www.advanced-web-metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-1">regionalisation of Search Engines for SEO</a> - <em>previous post</em></li>
</ol>
<p>The first is an major limitation for Search Marketers requiring regional search engine detail for SEO campaigns; The second is a real pain in the bum for webmasters of content heavy websites who need to track non-standard click throughs (file downloads, mailto, outbound links).</p>
<p>However, Google Analytics is a very flexible product and a little bit of <strong>custom JavaScript</strong> can go a long way &#8211; so I have developed simple JavaScript &#8220;plugins&#8221; to over come these limitations&#8230;</p>
<p><strong>Automatic Tracking of file Downloads and Outbound links<br />
</strong></p>
<p>On a small scale, tracking file downloads and outbound links is straightforward for a webmaster. All that is required is a <a href="http://www.google.com/support/analytics/bin/topic.py?topic=11004" target="_blank">modification of the link anchor</a> to include an onClick event handler &#8211; either to call a virtual pageview, or track as an event. That&#8217;s fine for a handful of download/outbound links, but what if your site contains hundreds, thousands, or even hundreds of thousands of these&#8230;? This script automates this for you.<br />
<strong> </strong></p>
<p>Add 1 line of code to your pages and this JavaScript extension will scan all your page links in the background &#8211; as the page is loaded by your visitors &#8211; and automatically adjust them accordingly.</p>
<p><strong><a href="http://www.advanced-web-metrics.com/blog/auto-tracking-file-downloads-outbound-links" target="_top">Read more about automatic tracking of file downloads and outbound links &gt;&gt;</a></strong></p>
<p>Summary of features:</p>
<ul>
<li>No manual modifications of your links required, just drop this script into your page header</li>
<li>Auto-track File downloads – MS Office files (doc/x, xls/x, ppt/x), exe, zip, txt, pdf</li>
<li>Auto-track mailto: links</li>
<li>Auto-track outbound links i.e. those not local to <em>yourdomain.com</em></li>
<li>For each type (download, outbound, mailto), select if these are tracked as a virtual pageview or an event</li>
<li>Multiple pageTracker support – works with multiple GA page tags.</li>
<li>Improved bounce rate calculation – can optionally set a timeout to redefine a bounced visit e.g. set a single page visit a bounce, only if time on page is 30+ seconds</li>
</ul>
<p><strong>What it looks like</strong></p>
<p>Without this script there is no outbound link or file download reporting by default. With this script you can view these as either virtual pageviews or events&#8230;</p>
<p>Using virtual pageviews for tracking file downloads and outbound links:</p>
<p style="text-align: center;"><a href="http://www.Advanced-Web-Metrics.com/blog/wp-content/uploads/2011/05/virtual-pageviews.png"><img class="aligncenter" style="border: 1px solid black;" src="http://www.Advanced-Web-Metrics.com/blog/wp-content/uploads/2011/05/virtual-pageviews.png" alt="virtual-pageviews.png" width="600" height="346" /></a></p>
<p>Using events for tracking file downloads and outbound links:</p>
<p style="text-align: center;"><a href="http://www.Advanced-Web-Metrics.com/blog/wp-content/uploads/2011/05/outbounds-downloads-as-events.png"><img class="aligncenter" style="border: 1px solid black;" src="http://www.Advanced-Web-Metrics.com/blog/wp-content/uploads/2011/05/outbounds-downloads-as-events.png" alt="outbounds-downloads-as-events.png" width="600" height="312" /></a></p>
<p style="text-align: left;"><strong><a href="http://www.advanced-web-metrics.com/blog/auto-tracking-file-downloads-outbound-links" target="_top">Find out more about this extension &gt;&gt;</a></strong></p>
<p style="text-align: center;">Also read Part 1 of this series – <a href="http://www.advanced-web-metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-1">regionalisation of Search Engines for SEO</a></p>
<p style="text-align: center;">
<div class="shr-publisher-2830"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p><em>Related posts (automatically generated):</em><ol>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-1/' rel='bookmark' title='Google Analytics customisations you cannot live without #1'>Google Analytics customisations you cannot live without #1</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2008/06/08/updated-tracking-script-for-gajs/' rel='bookmark' title='Track outbound links and file downloads automatically in Google Analytics'>Track outbound links and file downloads automatically in Google Analytics</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2007/08/15/tracking-banners-and-other-outgoing-links-automatically/' rel='bookmark' title='Tracking banners and other outgoing links &#8211; Automatically'>Tracking banners and other outgoing links &#8211; Automatically</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2010/04/29/google-analytics-ebook-pdf-available/' rel='bookmark' title='Google Analytics ebook (PDF) available'>Google Analytics ebook (PDF) available</a></li>
</ol></p><hr />
<p><small>© Brian Clifton for <a href="http://www.Advanced-Web-Metrics.com/blog">Measuring Success</a>, 2011. |
<a href="http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-2/">Permalink</a> |
<a href="http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-2/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-2/&title=Google Analytics &#8211; Customisations you cannot live without #2">del.icio.us</a>
<br/>
Post tags: <a href="http://www.Advanced-Web-Metrics.com/blog/tag/auto/" rel="tag">auto</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/automate/" rel="tag">automate</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/automatic/" rel="tag">automatic</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/doc/" rel="tag">doc</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/download/" rel="tag">download</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/file-downloads/" rel="tag">file downloads</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/mp3/" rel="tag">mp3</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/outbound/" rel="tag">outbound</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/outbound-links/" rel="tag">outbound links</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/pdf/" rel="tag">PDF</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/ppt/" rel="tag">ppt</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/xls/" rel="tag">xls</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/zip/" rel="tag">zip</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Analytics customisations you cannot live without #1</title>
		<link>http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-1/</link>
		<comments>http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-1/#comments</comments>
		<pubDate>Tue, 10 May 2011 08:44:40 +0000</pubDate>
		<dc:creator>Brian Clifton</dc:creator>
				<category><![CDATA[Google Analytics specific]]></category>
		<category><![CDATA[Plugins & Hacks]]></category>
		<category><![CDATA[auto-tracking]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[external links]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[mailto]]></category>
		<category><![CDATA[outbound]]></category>
		<category><![CDATA[search engines]]></category>

		<guid isPermaLink="false">http://www.Advanced-Web-Metrics.com/blog/?p=2719</guid>
		<description><![CDATA[There are 2 main things that Google Analytics cannot do:

1. No regionalisation of Search Engines for SEO – this post
2. No automatic tracking of file downloads and outbound links - follow-up post

The first is an major limitation for Search Marketers requiring regional search engine detail for SEO campaigns; The second is a real pain in the bum for webmasters of content heavy websites who need to track non-standard click throughs (file downloads, mailto, outbound links).

However, Google Analytics is a very flexible product and a little bit of custom JavaScript can go a long way – so I have developed JavaScript “extensions” to over come these limitations…
<em>Related posts (automatically generated):</em><ol>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-2/' rel='bookmark' title='Google Analytics &#8211; Customisations you cannot live without #2'>Google Analytics &#8211; Customisations you cannot live without #2</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2009/06/04/tracking-bing-in-google-analytics-and-other-custom-search-engines/' rel='bookmark' title='SEO Tracking &#8211; Bing in Google Analytics (and other custom search engines)'>SEO Tracking &#8211; Bing in Google Analytics (and other custom search engines)</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/' rel='bookmark' title='SEO Tracking &#8211; regional Search Engines in Google Analytics'>SEO Tracking &#8211; regional Search Engines in Google Analytics</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2007/08/25/customising-the-list-of-recognised-search-engines/' rel='bookmark' title='SEO Tracking &#8211; Customising the list of recognised search engines'>SEO Tracking &#8211; Customising the list of recognised search engines</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2008/06/08/updated-tracking-script-for-gajs/' rel='bookmark' title='Track outbound links and file downloads automatically in Google Analytics'>Track outbound links and file downloads automatically in Google Analytics</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>If you like tweaking Google Analytics for your specific needs, this 2-part series is for you&#8230; Essentially, in my opinion there are 2 main things that Google Analytics cannot do:</p>
<ol>
<li>No regionalisation of Search Engines for SEO &#8211; <em>this post</em></li>
<li>No <a href="/blog/2011/05/10/customisations-you-cannot-live-without-2">automatic tracking of file downloads and outbound links</a> -<em> follow-up post</em></li>
</ol>
<p>The first is an major limitation for Search Marketers requiring regional search engine detail for SEO campaigns; The second is a real pain in the bum for webmasters of content heavy websites who need to track non-standard click throughs (file downloads, mailto, outbound links).</p>
<p>However, Google Analytics is a very flexible product and a little bit of <strong>custom JavaScript</strong> can go a long way &#8211; so I have developed JavaScript &#8220;extensions&#8221; to over come these limitations&#8230;</p>
<p><strong>SEO Search Engine Regionalisation</strong></p>
<p>Regional differences are important &#8211; for example, if you are conducting SEO for a North American audience, knowing if visitors come to your site via a search on google.com, google.ca or google.co.mx can be very important to you. More so in Europe, which is a more fragmented market: google.co.uk, google.de, google.fr etc., and the same for the Middle East, Asia, Asia-Pacific and so on. Essentially, if your SEO is targeting different countries, understanding regional differences is a key requirement of your work.</p>
<p>Google Analytics tracks <a href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingTraffic.html#addingSearchEngine" target="newbc">40 search engines</a>, <em>in aggregate</em>. That is, all google domains are tracked as a single entity &#8211; &#8220;google&#8221;. The same for Yahoo, Bing and all the <a href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingTraffic.html#searchEngine" target="_blank">search engines it tracks by default</a>. So you don&#8217;t know if a visitor from a Google search came form google.com or google.co.uk &#8211; or any other google/yahoo/bing domain&#8230;</p>
<p><strong>Customising the Search Engine Report</strong></p>
<p>Although adding a <a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiSearchEngines.html#_gat.GA_Tracker_._addOrganic" target="_blank">new search engine</a> is straightforward in GA, managing a large list is cumbersome. This JavaScript extension does all the hard work for you and is fully maintained and updated by me. Just add 1 line of code to your pages:</p>
<p><strong><a href="http://www.advanced-web-metrics.com/blog/custom-search-engine-hack/" target="_top">Find out more about this Extension &gt;&gt;</a></strong></p>
<p>264 search domains tracked&#8230;! Summary of features:</p>
<ul>
<li>Tracks visitors from 189 regional Google domains – and their keywords</li>
<li>Tracks visitors from 30 regional Yahoo domains &#8211; and their keywords</li>
<li>Tracks visitors from Google Maps, News, and Video search &#8211; and their keywords</li>
<li>Tracks visitors from 46 other search engines that are not available in GA: e.g. BBC, Tesco, Maktoob (Arabic), Naver (Korea), HotBot, zinza (Arabic), Rambler (Russian), ukr.net (Ukraine), others…</li>
<li>Adds price comparison engines kelkoo.com, pricegrabber.com</li>
</ul>
<p>NOTE: These are all in addition to the GA defaults (40 search domains). Check out the <a href="http://www.advanced-web-metrics.com/blog/search-engine-list" target="_top">full list</a> of tracked search engines and domains (growing all the time).</p>
<p>Sample report view <span style="text-decoration: underline;"><strong>before</strong></span> applying this extension:</p>
<p style="text-align: center;"><a href="http://www.Advanced-Web-Metrics.com/blog/wp-content/uploads/2011/05/SEO-before.png"><img class="aligncenter" style="border: 1px solid black;" src="http://www.Advanced-Web-Metrics.com/blog/wp-content/uploads/2011/05/SEO-before.png" alt="SEO-before.png" /></a></p>
<p>Sample report view <span style="text-decoration: underline;"><strong>after</strong></span> applying this extension:</p>
<p style="text-align: center;"><a href="http://www.Advanced-Web-Metrics.com/blog/wp-content/uploads/2011/05/SEO-after.png"><img class="aligncenter" style="border: 1px solid black;" src="http://www.Advanced-Web-Metrics.com/blog/wp-content/uploads/2011/05/SEO-after.png" alt="SEO-after.png" /></a></p>
<p>As you can see, there is a great deal more regional information when you deploy this script. Installation is straightforward.</p>
<p><strong><strong><a href="http://www.advanced-web-metrics.com/blog/custom-search-engine-hack/" target="_top">Find out more about this Extension &gt;&gt;</a></strong></strong></p>
<p><strong><strong><br />
</strong></strong></p>
<p style="text-align: center;"><strong>Read part 2 of this series</strong> &#8211; <a href="/blog/2011/05/10/customisations-you-cannot-live-without-2">automatic tracking of file downloads and outbound links</a></p>
<div class="shr-publisher-2719"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p><em>Related posts (automatically generated):</em><ol>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-2/' rel='bookmark' title='Google Analytics &#8211; Customisations you cannot live without #2'>Google Analytics &#8211; Customisations you cannot live without #2</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2009/06/04/tracking-bing-in-google-analytics-and-other-custom-search-engines/' rel='bookmark' title='SEO Tracking &#8211; Bing in Google Analytics (and other custom search engines)'>SEO Tracking &#8211; Bing in Google Analytics (and other custom search engines)</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/' rel='bookmark' title='SEO Tracking &#8211; regional Search Engines in Google Analytics'>SEO Tracking &#8211; regional Search Engines in Google Analytics</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2007/08/25/customising-the-list-of-recognised-search-engines/' rel='bookmark' title='SEO Tracking &#8211; Customising the list of recognised search engines'>SEO Tracking &#8211; Customising the list of recognised search engines</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2008/06/08/updated-tracking-script-for-gajs/' rel='bookmark' title='Track outbound links and file downloads automatically in Google Analytics'>Track outbound links and file downloads automatically in Google Analytics</a></li>
</ol></p><hr />
<p><small>© Brian Clifton for <a href="http://www.Advanced-Web-Metrics.com/blog">Measuring Success</a>, 2011. |
<a href="http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-1/">Permalink</a> |
<a href="http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-1/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-1/&title=Google Analytics customisations you cannot live without #1">del.icio.us</a>
<br/>
Post tags: <a href="http://www.Advanced-Web-Metrics.com/blog/tag/auto-tracking/" rel="tag">auto-tracking</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/downloads/" rel="tag">downloads</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/external-links/" rel="tag">external links</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/files/" rel="tag">files</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/hack/" rel="tag">hack</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/mailto/" rel="tag">mailto</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/outbound/" rel="tag">outbound</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/search-engines/" rel="tag">search engines</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SEO Tracking &#8211; regional Search Engines in Google Analytics</title>
		<link>http://www.Advanced-Web-Metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/</link>
		<comments>http://www.Advanced-Web-Metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 19:38:20 +0000</pubDate>
		<dc:creator>Brian Clifton</dc:creator>
				<category><![CDATA[Plugins & Hacks]]></category>
		<category><![CDATA[SEO & Analytics]]></category>
		<category><![CDATA[cusomise]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[regional]]></category>
		<category><![CDATA[search engines]]></category>

		<guid isPermaLink="false">http://www.Advanced-Web-Metrics.com/blog/?p=120</guid>
		<description><![CDATA[Google Analytics recognises 41 search engines by default. Although this is constantly being added to, there are of course a great many other search engines in the world &#8211; language and region specific, as well as price comparison and vertical portals. This hack is for anyone who manages SEO at a regional level i.e to be able to differentiate regional variations of search engines. For example, the default Search Engine list for Google Analytics shows aggregate search engines &#8211; Google, Yahoo, MSN etc., this hack shows regional specific ones for your SEO efforts. April 2011 &#8211; New async hack launchedThis hack has been completely revised for the latest GA async code. Further info >> &#160; [ Now 100+ additional SEs + GA defaults (140+ domains). You no longer need to re-define the default set of search engines as this hack now prepends new search engines to GA's list. For details [...]
<em>Related posts (automatically generated):</em><ol>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2009/06/04/tracking-bing-in-google-analytics-and-other-custom-search-engines/' rel='bookmark' title='SEO Tracking &#8211; Bing in Google Analytics (and other custom search engines)'>SEO Tracking &#8211; Bing in Google Analytics (and other custom search engines)</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2007/08/25/customising-the-list-of-recognised-search-engines/' rel='bookmark' title='SEO Tracking &#8211; Customising the list of recognised search engines'>SEO Tracking &#8211; Customising the list of recognised search engines</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-1/' rel='bookmark' title='Google Analytics customisations you cannot live without #1'>Google Analytics customisations you cannot live without #1</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><img src="http://www.brianjclifton.com/blog/wp-content/uploads/2007/08/ga-hacks.gif" alt="Google Analytics Hack" hspace="5" align="right" /> Google Analytics recognises 41 search engines by default. Although this is constantly being added to, there are of course a great many other search engines in the world &#8211; language and region specific, as well as price comparison and vertical portals.</p>
<p>This hack is for anyone who manages SEO at a regional level i.e to be able to differentiate <em>regional</em> variations of search engines. For example, the default Search Engine list for Google Analytics shows aggregate search engines &#8211;  Google, Yahoo, MSN etc., this hack shows regional specific ones for your SEO efforts.</p>
<p class="info-slim"><strong>April 2011 &#8211; New async hack launched</strong><br />This hack has been completely revised for the latest GA async code. <a href="/blog/ga-scripts/">Further info >></a></p>
<p>&nbsp;</p>
<p>[ Now 100+ additional SEs + GA defaults (140+ domains). You no longer need to re-define the default set of search engines as this hack now prepends new search engines to  GA's list. For details on new prepend revision see: <a href="http://code.google.com/apis/analytics/docs/gaJS/changelog.html#release-2009-10" target="newbc">code.google.com</a> </em> ]</p>
<p>Sample list of regional search engines:</p>
<ul>
<li>Google.com</li>
<li>Google.ca</li>
<li>Google.com.au</li>
<li>Google.co.uk</li>
<li>MSN.co.uk</li>
<li>MSN.fr</li>
<li>eniro.se</li>
<li>eniro.no</li>
<li>maps.google.com (local search)</li>
<li>etc.</li>
</ul>
<p>It is straight forward to add to Google&#8217;s list of recognised search engines &#8211; you simply add your own as described in the following <a href="http://www.google.com/support/analytics/bin/answer.py?hl=en-nz&amp;answer=57046" target="newbc">Help Centre article</a> . However, the Help Centre article cannot <em>customise</em> the list &#8211; only add new search engines. That is, &quot;google&quot; as a whole has already been defined so adding google.co.uk to the list won&#8217;t work as &#8211; it&#8217;s too late.</p>
<p>This hack was written to enable you to do this (original 2007 post <a href="http://www.advanced-web-metrics.com/blog/2007/08/25/customising-the-list-of-recognised-search-engines/">here</a> ).</p>
<p><strong>Some further background&#8230;</strong></p>
<p>I discuss this hack in Chapter 9 of the book and show the script to do this. However recent changes in the Google Analytics Tracking Code (GATC) has meant that the code no longer works written as it was.</p>
<p>Fortunately after some experimenting (a pseudonym for trial and error!), and help from Tomas Remortigue from Mountain View (all round nice guy and Google Analytics technical wiz), the hack is now fixed and back working <img src='http://www.Advanced-Web-Metrics.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>How to track regional search engines</strong></p>
<p>From the book, this is a simple update with respect to the placement of code &#8211; the call to the <a href="/scripts">custom_se-ga.js</a> . You can host the script locally (get the file from my <a href="/blog/ga-scripts">scripts</a> directory and place it in <code>/scripts</code> on your web server), or simply link directly to my file as shown.</p>
<p>The JavaScript file first clears the default list of search engines in Google Analytics and then defines 100 regional specific ones. Below is the layout you need to use for GATC:</p>
<p>Schematically, change your standard GATC from:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span>
     <span style="color: #006600; font-style: italic;">// load the ga.js file</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span>
     <span style="color: #006600; font-style: italic;">// set account number</span>
     <span style="color: #006600; font-style: italic;">// track pageview visit</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>code<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>to:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span>
     <span style="color: #006600; font-style: italic;">// load the ga.js file</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span>
     <span style="color: #006600; font-style: italic;">// set account number</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://www.advanced-web-metrics.com/scripts/custom_se-ga.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span>
     <span style="color: #006600; font-style: italic;">// track pageview visit</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>code<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>Notice the bold line inserted between setting the GA account number and tracking the pageview.</p>
<p>So a full GATC will look as below (remember to replace the account number, beginning with &quot;UA-&quot; with your own):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #003366; font-weight: bold;">var</span> gaJsHost <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;https:&quot;</span> <span style="color: #339933;">==</span> document.<span style="color: #660066;">location</span>.<span style="color: #660066;">protocol</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">?</span> <span style="color: #3366CC;">&quot;https://ssl.&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;http://www.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span>unescape<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;%3Cscript src='&quot;</span> <span style="color: #339933;">+</span> gaJsHost <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
	<span style="color: #003366; font-weight: bold;">var</span> pageTracker <span style="color: #339933;">=</span> _gat._getTracker<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;UA-123456-1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
&nbsp;
&lt;strong&gt;&lt;script src=&quot;http://www.advanced-web-metrics.com/scripts/custom_se-ga.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/strong&gt;
&nbsp;
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
	pageTracker._trackPageview<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
&lt;/code&gt;</pre></td></tr></table></div>

<p><strong>Note: </strong> The syntax of the GATC has to be exact for this to work. When in place, your Traffic Sources &gt; Search Engine report will look something like the one below:</p>
<p><a href="/blog/wp-content/uploads/2008/09/custom-search-engine-report.jpg"><img src="/blog/wp-content/uploads/2008/09/custom-search-engine-report-150x150.jpg" alt="custom search engine report" align="centre" /> </a></p>
<p>If you use this hack, I would be interested to hear want you think, so please add your comments below or provide a rating by clicking the stars.</p>
<div class="shr-publisher-120"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p><em>Related posts (automatically generated):</em><ol>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2009/06/04/tracking-bing-in-google-analytics-and-other-custom-search-engines/' rel='bookmark' title='SEO Tracking &#8211; Bing in Google Analytics (and other custom search engines)'>SEO Tracking &#8211; Bing in Google Analytics (and other custom search engines)</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2007/08/25/customising-the-list-of-recognised-search-engines/' rel='bookmark' title='SEO Tracking &#8211; Customising the list of recognised search engines'>SEO Tracking &#8211; Customising the list of recognised search engines</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-1/' rel='bookmark' title='Google Analytics customisations you cannot live without #1'>Google Analytics customisations you cannot live without #1</a></li>
</ol></p><hr />
<p><small>© Brian Clifton for <a href="http://www.Advanced-Web-Metrics.com/blog">Measuring Success</a>, 2009. |
<a href="http://www.Advanced-Web-Metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/">Permalink</a> |
<a href="http://www.Advanced-Web-Metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/#comments">40 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.Advanced-Web-Metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/&title=SEO Tracking &#8211; regional Search Engines in Google Analytics">del.icio.us</a>
<br/>
Post tags: <a href="http://www.Advanced-Web-Metrics.com/blog/tag/cusomise/" rel="tag">cusomise</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/customize/" rel="tag">customize</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/local/" rel="tag">local</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/regional/" rel="tag">regional</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/search-engines/" rel="tag">search engines</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.Advanced-Web-Metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>How to track mobile phone users with Google Analytics</title>
		<link>http://www.Advanced-Web-Metrics.com/blog/2009/10/08/how-to-track-mobile-phone-users-with-google-analytics/</link>
		<comments>http://www.Advanced-Web-Metrics.com/blog/2009/10/08/how-to-track-mobile-phone-users-with-google-analytics/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 19:27:06 +0000</pubDate>
		<dc:creator>Brian Clifton</dc:creator>
				<category><![CDATA[Plugins & Hacks]]></category>
		<category><![CDATA[advanced segment]]></category>
		<category><![CDATA[advanced segments]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[smartphone]]></category>
		<category><![CDATA[track]]></category>
		<category><![CDATA[tracking]]></category>

		<guid isPermaLink="false">http://www.Advanced-Web-Metrics.com/blog/?p=963</guid>
		<description><![CDATA[Designing a web site for a mobile audience with a 3 inch screen and potentially slower data connection is clearly very different from other users. Therefore studying this segment of visitors can have important implications for your web development. Visits from older generations of Internet enabled mobile phones cannot be tracked by web analytics tools that use page tags &#8211; including Google Analytics &#8211; as they do not execute JavaScript or cookies. The traditional solution to this was to use a Log analyzer such as Urchin. However the lack of cookie and JavaScript support was precisely the reason so few people used their phone for web access. In many cases sites just failed to work, so tracking the few mobile visitors out there was never a priority &#8211; until now. The newer generation of Smartphones (iPhone, Blackberry etc.) have driven the recent proliferation of web usage via mobile devices by [...]
<em>Related posts (automatically generated):</em><ol>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2008/06/08/updated-tracking-script-for-gajs/' rel='bookmark' title='Track outbound links and file downloads automatically in Google Analytics'>Track outbound links and file downloads automatically in Google Analytics</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2009/01/25/integrating-voice-of-customer-data-with-google-analytics/' rel='bookmark' title='Integrating Voice of Customer data with Google Analytics &#8211; Part I'>Integrating Voice of Customer data with Google Analytics &#8211; Part I</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2009/03/09/creating-the-prefect-trackable-blog-article/' rel='bookmark' title='Creating the perfect (trackable) blog article'>Creating the perfect (trackable) blog article</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Designing a web site for a mobile audience with a 3 inch screen and potentially slower data connection is clearly very different from other users. Therefore studying this segment of visitors can have important implications for your web development.</p>
<p>Visits from older generations of Internet enabled mobile phones cannot be tracked by web analytics tools that use page tags &#8211; including Google Analytics &#8211; as they do not execute JavaScript or cookies. The traditional solution to this was to use a Log analyzer such as <a href="http://www.advanced-web-metrics.com/blog/2007/10/16/what-is-urchin/">Urchin</a>. However the lack of cookie and JavaScript support was precisely the reason so few people used their phone for web access. In many cases sites just failed to work, so tracking the few mobile visitors out there was never a priority &#8211; until now.</p>
<p>The newer generation of Smartphones (iPhone, Blackberry etc.) have driven the recent proliferation of web usage via mobile devices by supporting cookies and JavaScript. Therefore visitors accessing your site from a Smartphone can now be tracked &#8211; in the exact same way as a desktop or laptop user.</p>
<p><strong>Mobile Web audience statistics</strong></p>
<ul>
<li>Mobile web browsing as a proportion of total web browsing is currently very small at 0.72 percent, though growing. [NetMarketingShare via Econsultancy.com blog, March 2009]</li>
</ul>
<ul>
<li>US Smartphone users spent an average of 4.6 hours per month on mobile Internet sites. [M:Metrics via Marketing Charts, May 2008]</li>
</ul>
<ul>
<li>In the US, 63.2m people used their mobiles to find news and information in January 2009, more than double that of January 2008. [comScore, March 2009]</li>
</ul>
<ul>
<li>Of 182 million people in China with Web-enabled mobile phones, 102 million (56 percent) use the devices to connect to the Web. [Netpop Research via Clickz, April 2009]</li>
</ul>
<p><strong>How to track mobile visitors</strong></p>
<p>As stated, by default Smartphone mobile visitors are tracked just as any other visitor to your website &#8211; you don&#8217;t have to do anything! However, the caveat is that these are a relatively small proportion of traffic, so are be buried deep in your reports.</p>
<p>In order to bubble these up to the top, you need to create an advanced segment. (If this means nothing to you, take a look at the <a href="http://www.google.com/support/analytics/bin/answer.py?hl=en&amp;answer=108040" target="_blank">advanced segment article</a> on the GA Help Centre). The Figure below shows how to create an advanced segment in Google Analytics to highlight your mobile visitors. It detects either the visitor&#8217;s operating system or browser type and matches it against a known lookup list. Just as for profile filters, it uses the regular expression pipe character “|” to separate multiple possible matches for the same metric or dimension.(...)<br/>Read the rest of <a href="http://www.Advanced-Web-Metrics.com/blog/2009/10/08/how-to-track-mobile-phone-users-with-google-analytics/">How to track mobile phone users with Google Analytics</a> (230 words)</p>
<hr />
<p><small>© Brian Clifton for <a href="http://www.Advanced-Web-Metrics.com/blog">Measuring Success</a>, 2009. |
<a href="http://www.Advanced-Web-Metrics.com/blog/2009/10/08/how-to-track-mobile-phone-users-with-google-analytics/">Permalink</a> |
<a href="http://www.Advanced-Web-Metrics.com/blog/2009/10/08/how-to-track-mobile-phone-users-with-google-analytics/#comments">20 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.Advanced-Web-Metrics.com/blog/2009/10/08/how-to-track-mobile-phone-users-with-google-analytics/&title=How to track mobile phone users with Google Analytics">del.icio.us</a>
<br/>
Post tags: <a href="http://www.Advanced-Web-Metrics.com/blog/tag/advanced-segment/" rel="tag">advanced segment</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/advanced-segments/" rel="tag">advanced segments</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/filter/" rel="tag">filter</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/google-analytics/" rel="tag">Google Analytics</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/mobile/" rel="tag">mobile</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/smartphone/" rel="tag">smartphone</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/track/" rel="tag">track</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/tracking/" rel="tag">tracking</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.Advanced-Web-Metrics.com/blog/2009/10/08/how-to-track-mobile-phone-users-with-google-analytics/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>SEO Tracking &#8211; Bing in Google Analytics (and other custom search engines)</title>
		<link>http://www.Advanced-Web-Metrics.com/blog/2009/06/04/tracking-bing-in-google-analytics-and-other-custom-search-engines/</link>
		<comments>http://www.Advanced-Web-Metrics.com/blog/2009/06/04/tracking-bing-in-google-analytics-and-other-custom-search-engines/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 09:48:17 +0000</pubDate>
		<dc:creator>Brian Clifton</dc:creator>
				<category><![CDATA[Plugins & Hacks]]></category>
		<category><![CDATA[SEO & Analytics]]></category>
		<category><![CDATA[bing]]></category>
		<category><![CDATA[bing.com]]></category>
		<category><![CDATA[search engine]]></category>
		<category><![CDATA[search engine optimisation]]></category>
		<category><![CDATA[search engines]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.Advanced-Web-Metrics.com/blog/?p=719</guid>
		<description><![CDATA[As you may have heard, bing.com is the new search engine from Microsoft. Although tracking bing.com visitors in Google Analytics will take place automatically, the caveat is, that at present it is reported as a standard referrer &#8211; as if a link from another website. That means it is not grouped with other search engines in your reports and no keyword information is available. This update allows you to track Bing.com as a search engine in Google Analytics with visitor keyword detail. April 2011 &#8211; New async hack launchedThis hack has been completely revised for the latest GA async code. Further info >> &#160; Background Search still has a long way to go in helping people efficiently find information other than for product search, so reading the Bing press release certainly caught my attention. Also see my latest post tracking regional search engines. Although Google will no doubt apply a [...]
<em>Related posts (automatically generated):</em><ol>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/' rel='bookmark' title='SEO Tracking &#8211; regional Search Engines in Google Analytics'>SEO Tracking &#8211; regional Search Engines in Google Analytics</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2007/08/25/customising-the-list-of-recognised-search-engines/' rel='bookmark' title='SEO Tracking &#8211; Customising the list of recognised search engines'>SEO Tracking &#8211; Customising the list of recognised search engines</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-1/' rel='bookmark' title='Google Analytics customisations you cannot live without #1'>Google Analytics customisations you cannot live without #1</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2009/05/04/seo-and-analytics/' rel='bookmark' title='SEO and Analytics &#8211; part 1'>SEO and Analytics &#8211; part 1</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2007/06/02/ses-milan/' rel='bookmark' title='SES, Milan &#8211; don&#8217;t chop off the head that feeds the tail'>SES, Milan &#8211; don&#8217;t chop off the head that feeds the tail</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>As you may have heard, <a href="http://www.bing.com" target="newbc">bing.com</a> is the new search engine from Microsoft. Although tracking bing.com visitors in Google Analytics will take place automatically, the caveat is, that at present it is reported as a standard referrer &#8211; as if a link from another website. That means it is not grouped with other search engines in your reports and no keyword information is available.</p>
<p>This update allows you to track Bing.com as a search engine in Google Analytics with visitor keyword detail.</p>
<p class="info-slim"><strong>April 2011 &#8211; New async hack launched</strong><br />This hack has been completely revised for the latest GA async code. <a href="/blog/ga-scripts/">Further info >></a></p>
<p>&nbsp;</p>
<p><strong>Background</strong></p>
<p>Search still has a long way to go in helping people efficiently find information other than for product search, so reading the <a href="http://www.microsoft.com/presspass/press/2009/may09/05-28NewSearchPR.mspx" target="_blank">Bing press release</a> certainly caught my attention. Also see my latest post <a href="http://www.advanced-web-metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/">tracking regional search engines</a>. </p>
<p>Although Google will no doubt apply a bing.com fix in the near future, the &#8220;Tracking regional search engines&#8221; hack is a script that allows you to define your own specific list of search engines for Google Analytics. For example, by default, Google Analytics groups all Google organic searches a &#8216;google / organic&#8217;. But what if you wish to separate google.com versus google.co.uk versus google.cn and all the other country specific domains? This hack enables this and allows you to define other regional specific engines such as naver.com (Korea), Eniro.com (Sweden) etc. In fact, over 100 regional specific search engines are now included, and you can easily add your own (or ask me to add them here!).</p>
<p><strong>The Bing hack for Google Analytics</strong></p>
<p>Using the script is straight forward &#8211; simply call it in your GATC <strong>before</strong> the function call _trackPageview(). For example, a modified GATC is as follows:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
   <span style="color: #003366; font-weight: bold;">var</span> gaJsHost <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;https:&quot;</span> <span style="color: #339933;">==</span> document.<span style="color: #660066;">location</span>.<span style="color: #660066;">protocol</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">?</span> <span style="color: #3366CC;">&quot;https://ssl.&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;http://www.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span>unescape<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;%3Cscript src='&quot;</span> <span style="color: #339933;">+</span> gaJsHost <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
	<span style="color: #003366; font-weight: bold;">var</span> pageTracker <span style="color: #339933;">=</span> _gat._getTracker<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;UA-123456-1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
&nbsp;
&lt;script src=&quot;http://www.advanced-web-metrics.com/scripts/custom_se-ga.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&nbsp;
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
	pageTracker._trackPageview<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
&lt;/code&gt;</pre></td></tr></table></div>

<p>Don&#8217;t forget to change to your account number (UA-123456-1). If you are using the legacy urchin.js GATC, refer to the corresponding script in the <a href="http://www.advanced-web-metrics.com/blog/ga-scripts/">Hacks section of this site</a> (Hack #2).</p>
<p>Your Traffic Sources &gt; Search Engines report will then look something like this:</p>
<p><a href="http://www.advanced-web-metrics.com/blog/wp-content/uploads/2009/06/bing.png"><img src="http://www.advanced-web-metrics.com/blog/wp-content/uploads/2009/06/bing-sm.png" alt="Bing.com correctly reported as a search engine in Google Analytics" align="centre"></a></p>
<p>As always I appreciate your comments/feedback, or a quick rating by clicking on the stars.</p>
<div class="shr-publisher-719"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p><em>Related posts (automatically generated):</em><ol>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/' rel='bookmark' title='SEO Tracking &#8211; regional Search Engines in Google Analytics'>SEO Tracking &#8211; regional Search Engines in Google Analytics</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2007/08/25/customising-the-list-of-recognised-search-engines/' rel='bookmark' title='SEO Tracking &#8211; Customising the list of recognised search engines'>SEO Tracking &#8211; Customising the list of recognised search engines</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2011/05/10/customisations-you-cannot-live-without-1/' rel='bookmark' title='Google Analytics customisations you cannot live without #1'>Google Analytics customisations you cannot live without #1</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2009/05/04/seo-and-analytics/' rel='bookmark' title='SEO and Analytics &#8211; part 1'>SEO and Analytics &#8211; part 1</a></li>
<li><a href='http://www.Advanced-Web-Metrics.com/blog/2007/06/02/ses-milan/' rel='bookmark' title='SES, Milan &#8211; don&#8217;t chop off the head that feeds the tail'>SES, Milan &#8211; don&#8217;t chop off the head that feeds the tail</a></li>
</ol></p><hr />
<p><small>© Brian Clifton for <a href="http://www.Advanced-Web-Metrics.com/blog">Measuring Success</a>, 2009. |
<a href="http://www.Advanced-Web-Metrics.com/blog/2009/06/04/tracking-bing-in-google-analytics-and-other-custom-search-engines/">Permalink</a> |
<a href="http://www.Advanced-Web-Metrics.com/blog/2009/06/04/tracking-bing-in-google-analytics-and-other-custom-search-engines/#comments">14 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.Advanced-Web-Metrics.com/blog/2009/06/04/tracking-bing-in-google-analytics-and-other-custom-search-engines/&title=SEO Tracking &#8211; Bing in Google Analytics (and other custom search engines)">del.icio.us</a>
<br/>
Post tags: <a href="http://www.Advanced-Web-Metrics.com/blog/tag/bing/" rel="tag">bing</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/bingcom/" rel="tag">bing.com</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/search-engine/" rel="tag">search engine</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/search-engine-optimisation/" rel="tag">search engine optimisation</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/search-engines/" rel="tag">search engines</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/seo/" rel="tag">seo</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.Advanced-Web-Metrics.com/blog/2009/06/04/tracking-bing-in-google-analytics-and-other-custom-search-engines/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

