<?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>Steven Mileham - General Geekery &#187; google</title>
	<atom:link href="http://www.smileham.co.uk/tag/google/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.smileham.co.uk</link>
	<description>General Geekery</description>
	<lastBuildDate>Mon, 06 Feb 2012 14:12:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Google Analytics &#8211; Tracking page categories</title>
		<link>http://www.smileham.co.uk/2009/10/23/google-analytics-tracking-page-categories/</link>
		<comments>http://www.smileham.co.uk/2009/10/23/google-analytics-tracking-page-categories/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 13:30:45 +0000</pubDate>
		<dc:creator>smileham</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.smileham.co.uk/?p=244</guid>
		<description><![CDATA[I&#8217;ve recently been looking at how I can use Google Analytics to track website usage of content based on the category it has been assigned.  We are using META tags in the page headings to store the category name and title of the content. Google have just rolled out a bunch of excessively handy features [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently been looking at how I can use Google Analytics to track website usage of content based on the category it has been assigned.  We are using META tags in the page headings to store the category name and title of the content.</p>
<p>Google have just rolled out a bunch of excessively handy features allowing <a title="Custom Variables" href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html">custom variables</a> in their most recent update to the analytics package, unfortunetly my Analytics account hasn&#8217;t yet been updated to include them.  As a fall back I&#8217;ve used the <a title="Event Tracking Guide" href="http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html">Event Tracking</a> functionality instead.</p>
<p>At the bottom of each page which I want to track the category of, added the following code;</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&lt;script type=<span class="st0">&quot;text/javascript&quot;</span>&gt;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw2">var</span> pageTracker = _gat._getTracker<span class="br0">&#40;</span><span class="st0">&quot;&lt;%= googleAnalyticsId %&gt;&quot;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; <span class="kw2">function</span> getMeta<span class="br0">&#40;</span><span class="kw3">name</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw2">var</span> metas = document.<span class="me1">getElementsByTagName</span><span class="br0">&#40;</span><span class="st0">&#8216;META&#8217;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span><span class="kw2">var</span> i = <span class="nu0">0</span>; i &lt; metas.<span class="me1">length</span>; i++<span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>metas<span class="br0">&#91;</span>i<span class="br0">&#93;</span>.<span class="me1">getAttribute</span><span class="br0">&#40;</span><span class="st0">&#8216;NAME&#8217;</span><span class="br0">&#41;</span> == <span class="kw3">name</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> metas<span class="br0">&#91;</span>i<span class="br0">&#93;</span>.<span class="me1">getAttribute</span><span class="br0">&#40;</span><span class="st0">&#8216;CONTENT&#8217;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">return</span> <span class="st0">&quot;null&quot;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; <span class="kw1">try</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw2">var</span> cat = getMeta<span class="br0">&#40;</span><span class="st0">&quot;CATEGORY&quot;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw2">var</span> title = getMeta<span class="br0">&#40;</span><span class="st0">&quot;ARTICLE_NAME&quot;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>cat != <span class="st0">&quot;null&quot;</span> &amp;amp;&amp;amp; title != <span class="st0">&quot;null&quot;</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; pageTracker._trackEvent<span class="br0">&#40;</span><span class="st0">&#8216;Category&#8217;</span>,cat,title<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="br0">&#125;</span><span class="kw1">catch</span><span class="br0">&#40;</span>ex<span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="coMULTI">/* do nothing */</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; pageTracker._trackPageview<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&lt;/script&gt;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<p>Using this codes means that I can put these meta tags into the headings of any page;</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&lt;meta name=&quot;CATEGORY&quot; content=&quot;Analytics&quot; /&gt;
</div>
</li>
<li class="li1">
<div class="de1">&lt;meta name=&quot;ARTICLE_NAME&quot; content=&quot;Custom Variables&quot; /&gt;
</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<p>And Google Analytics will track the my each of my articles based on the category they have been tagged with.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smileham.co.uk/2009/10/23/google-analytics-tracking-page-categories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The future of Google Chrome</title>
		<link>http://www.smileham.co.uk/2009/02/26/the-future-of-google-chrome/</link>
		<comments>http://www.smileham.co.uk/2009/02/26/the-future-of-google-chrome/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 17:14:33 +0000</pubDate>
		<dc:creator>smileham</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.smileham.co.uk/2009/02/26/the-future-of-google-chrome/</guid>
		<description><![CDATA[Google as a company just seem to get it, by introducing (yet) another browser into the wild, they began another round of the browser wars. Kicking off a flurry of innovation, which browser manages to render the acid tests? Who can perform the most javascript calls per milli-second? etc. All Google seems to care about [...]]]></description>
			<content:encoded><![CDATA[<p>Google as a company just seem to get it, by introducing (yet) another browser into the wild, they began another round of the browser wars.  Kicking off a flurry of innovation, which browser manages to render the acid tests?  Who can perform the most javascript calls per milli-second? etc.</p>
<p>All Google seems to care about is that this innovation continues, so that they can build web applications to run on these platforms.</p>
<p>This interview is really worth a read to see the direction of Google and the Chrome browser.</p>
<p><a href="http://www.techradar.com/news/software/applications/interview-google-chrome-s-lars-bak-548115">Interview: what&#8217;s next for Google Chrome</a></p>
<p>Always the Google fan boy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smileham.co.uk/2009/02/26/the-future-of-google-chrome/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Mobile &#8211; Sync</title>
		<link>http://www.smileham.co.uk/2009/02/11/google-mobile-sync/</link>
		<comments>http://www.smileham.co.uk/2009/02/11/google-mobile-sync/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 12:18:07 +0000</pubDate>
		<dc:creator>smileham</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.smileham.co.uk/?p=99</guid>
		<description><![CDATA[Seeing as I am a Google fan boy and I love my iPhone, I was really pleased that Google finally got round to enabling sync with Google Calendar. Previously I had been using Nueva Sync, a third party tool which acted as an Exchange server. Now Google have produced their own service which can push [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-101" title="Google Sync" src="http://www.smileham.co.uk/wp-content/winmo_large.gif" alt="Google Sync" width="141" height="152" />Seeing as I am a Google fan boy and I love my iPhone, I was really pleased that Google finally got round to enabling sync with Google Calendar.</p>
<p>Previously I had been using Nueva Sync, a third party tool which acted as an Exchange server.</p>
<p>Now Google have produced their own service which can push updates to an Exchange enabled client.</p>
<p><a href="http://www.google.com/mobile/default/sync.html">Google Mobile &#8211; Sync</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smileham.co.uk/2009/02/11/google-mobile-sync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome</title>
		<link>http://www.smileham.co.uk/2008/09/03/google-chrome/</link>
		<comments>http://www.smileham.co.uk/2008/09/03/google-chrome/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 23:54:37 +0000</pubDate>
		<dc:creator>smileham</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.smileham.co.uk/?p=70</guid>
		<description><![CDATA[It looks like the &#8220;Google Browser&#8221; finally landed. Seeing as I am a Google fanboy, I&#8217;ve been waiting for this the second I heard it was happening.  The fact that they got Scott McCloud to create a 38 page comic detailing Chrome&#8217;s features adds bonus points! From my perspective, the three most interesting features, in order [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-71" title="Google Chrome" style="float:right" src="http://www.smileham.co.uk/wp-content/1-207x300.jpg" alt="" width="207" height="300" />It looks like the &#8220;Google Browser&#8221; finally landed.</p>
<p>Seeing as I am a Google fanboy, I&#8217;ve been waiting for this the second I heard it was happening.  The fact that they got <a href="http://www.scottmccloud.com/">Scott McCloud</a> to create a <a href="http://www.google.com/googlebooks/chrome/">38 page comic</a> detailing Chrome&#8217;s features adds bonus points!</p>
<p>From my perspective, the three most interesting features, in order of importance are;</p>
<p> </p>
<ul>
<li>Separate threads for each tab/plugin/window.</li>
<li>Javascript compiler</li>
<li>Open source</li>
</ul>
<div>We&#8217;ve already seen what Firefox&#8217;s entry into the browser market has done to the &#8220;industry&#8221;, it&#8217;ll be interesting to see whether Google can shake it up any more.</div>
<div>There are a few things missing though, although they aren&#8217;t show-stoppers;</div>
<div>
<ul>
<li>Ad blocker &#8211; Aparently there are adverts on the web, I wouldn&#8217;t know, seeing as I&#8217;ve been using Firefox with adblock plus since it was released.</li>
<li>Spell checker &#8211; I&#8217;m lost without this, where oh where are my red underlines?</li>
</ul>
<div>So far though, I&#8217;m really looking forward to working with Chrome, it&#8217;s underlying engine is Webkit, which is also used by Safari.  Looks like Open Source cross pollination is the way forward!</div>
</div>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.smileham.co.uk/2008/09/03/google-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

