<?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; 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>Thu, 26 Aug 2010 10:17:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<atom:link rel='hub' href='http://www.Advanced-Web-Metrics.com/blog/?pushpress=hub'/>
		<item>
		<title>Tracking regional and custom 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[Hacks]]></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. The purpose of this hack, is to be able to differentiate regional variations of search engines. For example, instead of just reporting search engines as their generic Google, Yahoo, MSN etc. (as Google Analytics will do by default), I want to be more regional specific in order to compare SEM efforts in different countries: [ Last update Dec 2009: Now 100+ additional SEs + GA defaults (140+ domains). You no longer need to re-define the default set of search engines that Google Analytics uses as this hack now prepends new search engines to GA's list. For details on new prepend revision see: code.google.com ] Google.com Google.co.uk MSN.co.uk MSN.fr eniro.se [...]]]></description>
			<content:encoded><![CDATA[<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>The purpose of this hack, is to be able to differentiate <em>regional</em> variations of search engines. For example, instead of just reporting search engines as their generic Google, Yahoo, MSN etc. (as Google Analytics will do by default), I want to be more regional specific in order to compare SEM efforts in different countries:</p>
<p>[ <em><strong>Last update Dec 2009:</strong> Now 100+ additional SEs + GA defaults (140+ domains). You no longer need to re-define the default set of search engines that Google Analytics uses 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>
<ul>
<li> Google.com</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>
<pre><code>&lt;script&gt;
     // load the ga.js file
&lt;/script&gt;
&lt;script&gt;
     // set account number
     // track pageview visit
&lt;/script&gt;</code></pre>
<p>to:</p>
<pre><code>&lt;script&gt;
     // load the ga.js file
&lt;/script&gt;
&lt;script&gt;
     // set account number
&lt;/script&gt;
<strong>&lt;script src="http://www.advanced-web-metrics.com/scripts/custom_se-ga.js" type="text/javascript"&gt;&lt;/script&gt;</strong>
&lt;script&gt;
     // track pageview visit
&lt;/script&gt;</code></pre>
<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>
<pre><code>&lt;script type="text/javascript"&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/script&gt;

&lt;script type="text/javascript"&gt;
	var pageTracker = _gat._getTracker("UA-123456-1");
&lt;/script&gt;

<strong>&lt;script src="http://www.advanced-web-metrics.com/scripts/custom_se-ga.js" type="text/javascript"&gt;&lt;/script&gt;</strong>

&lt;script type="text/javascript"&gt;
	pageTracker._trackPageview();
&lt;/script&gt;</code></pre>
<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-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.advanced-web-metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Tracking+regional+and+custom+Search+Engines+in+Google+Analytics+-+http://bit.ly/af2kNX&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.Advanced-Web-Metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/&amp;t=Tracking+regional+and+custom+Search+Engines+in+Google+Analytics" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.Advanced-Web-Metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/&amp;title=Tracking+regional+and+custom+Search+Engines+in+Google+Analytics" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.Advanced-Web-Metrics.com/blog/2009/12/15/customising-the-list-of-search-engines-in-google-analytics/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<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">39 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=Tracking regional and custom 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>39</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[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 [...]]]></description>
			<content:encoded><![CDATA[<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">18 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>18</slash:comments>
		</item>
		<item>
		<title>Tracking 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[Hacks]]></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. 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 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 [...]]]></description>
			<content:encoded><![CDATA[<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><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>
<pre>
<code>&lt;script type="text/javascript"&gt;
   var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/script&gt;

&lt;script type="text/javascript"&gt;
	var pageTracker = _gat._getTracker("UA-123456-1");
&lt;/script&gt;

<strong>&lt;script src="http://www.advanced-web-metrics.com/scripts/custom_se-ga.js" type="text/javascript"&gt;&lt;/script&gt;</strong>

&lt;script type="text/javascript"&gt;
	pageTracker._trackPageview();
&lt;/script&gt;</code>
</pre>
<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-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.advanced-web-metrics.com/blog/2009/06/04/tracking-bing-in-google-analytics-and-other-custom-search-engines/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Tracking+Bing+in+Google+Analytics+%28and+other+custom+search+engines%29+-+http://bit.ly/9kt0PM&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.Advanced-Web-Metrics.com/blog/2009/06/04/tracking-bing-in-google-analytics-and-other-custom-search-engines/&amp;t=Tracking+Bing+in+Google+Analytics+%28and+other+custom+search+engines%29" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.Advanced-Web-Metrics.com/blog/2009/06/04/tracking-bing-in-google-analytics-and-other-custom-search-engines/&amp;title=Tracking+Bing+in+Google+Analytics+%28and+other+custom+search+engines%29" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.Advanced-Web-Metrics.com/blog/2009/06/04/tracking-bing-in-google-analytics-and-other-custom-search-engines/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<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=Tracking 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>
		<item>
		<title>Roll up reporting in Google Analytics</title>
		<link>http://www.Advanced-Web-Metrics.com/blog/2009/03/30/roll-up-reporting-in-google-analytics/</link>
		<comments>http://www.Advanced-Web-Metrics.com/blog/2009/03/30/roll-up-reporting-in-google-analytics/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 18:00:06 +0000</pubDate>
		<dc:creator>Brian Clifton</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[aggregate]]></category>
		<category><![CDATA[GATC]]></category>
		<category><![CDATA[multiple]]></category>
		<category><![CDATA[roll up]]></category>
		<category><![CDATA[rollup]]></category>
		<category><![CDATA[using multiple analytics accounts]]></category>

		<guid isPermaLink="false">http://www.Advanced-Web-Metrics.com/blog/?p=587</guid>
		<description><![CDATA[Roll up reporting is not a standard feature in Google Analytics. However with a little extra coding, you can have stand alone reports for specific i.e. product dedicated websites, and a roll-up report to give a global overview.

Generally, this issue mostly effects enterprise clients. For example, companies with brand specific or product specific web sites targeted at particular markets. Because of this specific need it makes sense to have separate, stand alone Google Analytics accounts for each web site. That way, segmentation, referral analysis, e-commerce revenue (or lead generation) can be analyzed in detail.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.brianjclifton.com/blog/wp-content/uploads/2007/08/ga-hacks.gif" alt="Google Analytics Hack" hspace="5" align="right" /> Roll up reporting is not a standard feature in Google Analytics. However with a little extra coding, you can have stand alone reports for specific i.e. product dedicated websites, and a roll-up report to give a global overview.</p>
<p>Generally, this issue mostly effects enterprise clients. For example, companies with brand specific or product specific web sites targeted at particular markets. Because of this specific need it makes sense to have separate, stand alone Google Analytics accounts for each web site. That way, segmentation, referral analysis, e-commerce revenue (or lead generation) can be analyzed in detail.</p>
<p>However, Marketing Managers also need a high level overview of how the entire online channel is performing. This is when having separate GA accounts can become laborious.  Roll-up reporting simplifies this. That is, in addition to  individual Google Analytics accounts, you also have a single &quot;catch-all&quot; account with all data from all web sites aggregated. This post shows you how to do this and was recently successfully deployed by <a href="http://www.unicef.org.uk" target="_blank">Unicef.org.uk</a> .</p>
<p><strong>What exactly is the advantage of this approach compared to using a single profile and then creating additional sub-profiles for each site?</strong></p>
<p>For enterprise clients I generally come across the scenario where the client has semi-autonomous country offices who wish to “play” (segment, filter, open up access to their agency) with their own specific data. The HQ requires a global overview but wish to leave the country/region details to the local office. In fact, they generally wish to leave all training, support and management of analytics to their local office &#8211; HQ provides the implementation.</p>
<p>To ensure HQ receives its global overview with confidence in its data integrity, it is better that they maintain their own GA account with access restrictions and change history documentation in place. Country offices can then do as they wish.</p>
<p><strong>Roll-up reporting setup</strong></p>
<p>The principal to roll-up reporting is straight forward &#8211; you add multiple Google Analytics Tracking Codes (GATCs) to your web pages. One specifies the individual account, the other is for the roll-up account. Schematically this is shown below for two websites:</p>
<pre><code>&lt;script&gt;
   Call the standard GA loader script
&lt;/script&gt;
&lt;script&gt;
   1. Track the pageview into the individual account
   2. Track the pageview into the roll-up account
&lt;/script&gt;</code></pre>
<p>The actual JavaScript is as follows: </p>
<pre><code>&lt;script type="text/javascript"&gt;
   var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
   document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/script&gt;

&lt;script type="text/javascript"&gt;
   var firstTracker = _gat._getTracker("UA-123456-1");
   // Acc. for mysite.com firstTracker._trackPageview();
   var secondTracker = _gat._getTracker("UA-987654-1");
   // Acc. for catch-all secondTracker._trackPageview();
&lt;/script&gt;</code></pre>
<p>Note, for each stand alone web site, you use your specific GATC i.e. change the UA-123456-1 to match each of your Google Analytics accounts. Below this, you add the same same roll-up account information. The rollup part of the GATC remains the same for each site. In this case UA-987654-1. Obviously you will need to change the UA numbers for your account(s).</p>
<p><strong>E-Commerce</strong></p>
<p>Special consideration is required for e-commerce transactions because you will need to call the e-commerce tracking code for each account. So _addTrans, _addItem and _trackTrans are required for firstTracker and secondTracker objects. Schematically you need to add the following on your transaction receipt/confirmation page (view the <a href="http://www.google.com/support/googleanalytics/bin/answer.py?answer=55528&amp;topic=11002" target="_blank">Help Centre</a> if you need general e-commerce tracking help):</p>
<pre><code>   firstTracker._addTrans(enter transaction values as array);
   firstTracker._addItem(enter item values as an array);
   firstTracker._trackTrans();

   secondTracker._addTrans(enter transaction values as array);
   secondTracker._addItem(enter item values as an array);
   secondTracker._trackTrans();</code></pre>
<p>And that&#8217;s it&#8230; except&#8230;(...)<br/>Read the rest of <a href="http://www.Advanced-Web-Metrics.com/blog/2009/03/30/roll-up-reporting-in-google-analytics/">Roll up reporting in Google Analytics</a> (592 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/03/30/roll-up-reporting-in-google-analytics/">Permalink</a> |
<a href="http://www.Advanced-Web-Metrics.com/blog/2009/03/30/roll-up-reporting-in-google-analytics/#comments">32 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.Advanced-Web-Metrics.com/blog/2009/03/30/roll-up-reporting-in-google-analytics/&title=Roll up reporting in Google Analytics">del.icio.us</a>
<br/>
Post tags: <a href="http://www.Advanced-Web-Metrics.com/blog/tag/aggregate/" rel="tag">aggregate</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/gatc/" rel="tag">GATC</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/multiple/" rel="tag">multiple</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/roll-up/" rel="tag">roll up</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/rollup/" rel="tag">rollup</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/using-multiple-analytics-accounts/" rel="tag">using multiple analytics accounts</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.Advanced-Web-Metrics.com/blog/2009/03/30/roll-up-reporting-in-google-analytics/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Creating the perfect (trackable) blog article</title>
		<link>http://www.Advanced-Web-Metrics.com/blog/2009/03/09/creating-the-prefect-trackable-blog-article/</link>
		<comments>http://www.Advanced-Web-Metrics.com/blog/2009/03/09/creating-the-prefect-trackable-blog-article/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 08:54:59 +0000</pubDate>
		<dc:creator>Brian Clifton</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Metrics understanding]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[google reader]]></category>
		<category><![CDATA[tracking RSS]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[yahoo reader]]></category>

		<guid isPermaLink="false">http://www.Advanced-Web-Metrics.com/blog/2009/01/31/creating-the-prefect-trackable-blog-article/</guid>
		<description><![CDATA[<p>Crafting your article to entice click-throughs to your site If you write the perfect blog article and publish the full content via RSS, there is a strong possibility that the visitor will read your content in their RSS reader, be entirely satisfied (strong engagement) and then move on i.e. not visit your web site. ... This is a great way to track engaged RSS readers - casual readers of you headlines are screened out because they don't click through (so are not tracked), while engaged visitors click through and therefore are tracked.</p>
]]></description>
			<content:encoded><![CDATA[<p>Tracking RSS blog feeds presents a problem for on-site web analytics tools such Omniture, WebTrends and Google Analytics. Why? Because as the name suggests, on-site web analytics tools measure visitor activity whilst <em>on</em> your web site and so cannot track activity that happens off site.</p>
<p>For example, consider the following scenario: A visitor arrives on your site and likes the blog content so much they decide to subscribe. All activity &#8211; from the visitor arriving, viewing pages and then subscribing to your feed is tracked. Note, that even though a RSS subscription usually takes place off-site e.g. to feedburner.com, this can still be tracked using the virtual pageview technique (you could also use event tracking to capture this information). This provides you with an indicator as to the interest of your RSS content. That is, the number of subscribers. All well and good.</p>
<p>However, so far this has all been on-site visitor activity, so it does not tell you what happens next&#8230;</p>
<p>Now that your visitor has subscribed, there is no need for them to re-visit your web site when you post your next article. Instead, they simply receive your content in their RSS reader and may never visit you again! Because reading an RSS feed happens off your website, you are not able to track this activity. You will not know if subscribers are reading or engaging with your content.</p>
<p>And that is the problem &#8211; your RSS subscribers can read your content, enjoy it (have great engagement, or not) and you will be totally unaware of one of your most important visitor types &#8211; your influencers. Unless that is, you make the following changes&#8230;</p>
<p><strong>Tracking RSS viewers (using Google Analytics)</strong></p>
<p>Although this example uses Google Analytics, the same technique can be applied to any on-site web analytics tool. Essentially, there are two important parts to creating a trackable blog feed:</p>
<ol>
<li>Crafting the article to entice RSS click-throughs &#8211; so they can be tracked on your site</li>
<li>Crediting these to your feed using filters &#8211; to highlight RSS in your reports</li>
</ol>
<p>(...)<br/>Read the rest of <a href="http://www.Advanced-Web-Metrics.com/blog/2009/03/09/creating-the-prefect-trackable-blog-article/">Creating the perfect (trackable) blog article</a> (634 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/03/09/creating-the-prefect-trackable-blog-article/">Permalink</a> |
<a href="http://www.Advanced-Web-Metrics.com/blog/2009/03/09/creating-the-prefect-trackable-blog-article/#comments">15 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.Advanced-Web-Metrics.com/blog/2009/03/09/creating-the-prefect-trackable-blog-article/&title=Creating the perfect (trackable) blog article">del.icio.us</a>
<br/>
Post tags: <a href="http://www.Advanced-Web-Metrics.com/blog/tag/blog/" rel="tag">blog</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/google-reader/" rel="tag">google reader</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/tracking-rss/" rel="tag">tracking RSS</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/wordpress/" rel="tag">wordpress</a>, <a href="http://www.Advanced-Web-Metrics.com/blog/tag/yahoo-reader/" rel="tag">yahoo reader</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.Advanced-Web-Metrics.com/blog/2009/03/09/creating-the-prefect-trackable-blog-article/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>
