<?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>Mohsin&#039;s Blog &#187; Google Analytics</title>
	<atom:link href="http://blog.khmohsin.com/category/google-analytics/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.khmohsin.com</link>
	<description>Journal of a free Soul</description>
	<lastBuildDate>Mon, 21 Jun 2010 12:56:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Custom Variables in Google Analytics</title>
		<link>http://blog.khmohsin.com/custom-variables-in-google-analytics/google-analytics/2010/04/10/</link>
		<comments>http://blog.khmohsin.com/custom-variables-in-google-analytics/google-analytics/2010/04/10/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 16:31:43 +0000</pubDate>
		<dc:creator>Mohsin</dc:creator>
				<category><![CDATA[Google Analytics]]></category>

		<guid isPermaLink="false">http://blog.khmohsin.com/?p=150</guid>
		<description><![CDATA[The new “_setCustomVar” method is a major upgrade of “_setVar” method that allowed advanced visitor segmentation. Now with this improved method we are not longer bound to “Visitors” rather we are now able to segment our analytics data based on “visitors”, “sessions” and “pages.”
The major difference between &#8220;_setVar&#8221; and &#8220;_setCustomVar&#8221; can be understood by the [...]]]></description>
			<content:encoded><![CDATA[<p>The <strong>new “_setCustomVar” method </strong>is a major upgrade of “_setVar” method that allowed advanced visitor segmentation. Now with this improved method we are not longer bound to “Visitors” rather we are now able to segment our analytics data based on “visitors”, “sessions” and “pages.”</p>
<p>The <strong>major difference between &#8220;_setVar&#8221; and &#8220;_setCustomVar&#8221;</strong> can be understood by the following chart:</p>
<p style="text-align: center;"><a href="http://blog.khmohsin.com/wp-content/uploads/2010/04/customvariable-is-different-from-set-var-method.png"><img class="aligncenter size-medium wp-image-152" title="customvariable is different from set var method" src="http://blog.khmohsin.com/wp-content/uploads/2010/04/customvariable-is-different-from-set-var-method-300x176.png" alt="" width="400" height="176" /></a></p>
<p>To get most out of new custom variables method, it is recommended that you first understand how  visitor interacts with your content/site over a period of time and how Google Analytics measures this. The point is made clear on the Google Code Site, under the heading “Overview”, I suggest you to read that passage first to clear up the concepts. A complete usage guide is also available there with complete examples and is good way to get started. <a rel="nofollow" target="_blank" href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html" target="_blank">Check out the article</a></p>
<p><strong>Benefits of using “Custom Variables”:</strong></p>
<ul>
<li>The very first and basic advantage lies in the categorization of content pages, even if the urls are do not include category information. This scenario is most used in content rich sites and blogs for SEO purposes to provide clean and short URLs to Search Engines. But this kind of practice creates difficulties for Web Analyst as he will not be able to analyze which areas of the site perform better/worse than other.</li>
<li>Similarly using Custom Variables also allows us to analyze the interaction of single user, whether logged in or not, and how they make use of our site/content.</li>
</ul>
<p>For practical example I recommend viewing the latest webinar recording on this topic, although the audio quality is very poor, but it contains very useful information. Also, if you can’t bear the audio long enough you can skip to the “Case Study” part, it starts from the 30<sup>th</sup> min of the webinar, although the rest of the webinar is very useful, but just in case you want to have an idea of the implementation, you should see the last 10 mins first.<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="305" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/UmQTfqmoSyk&amp;hl=en_US&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="400" height="305" src="http://www.youtube.com/v/UmQTfqmoSyk&amp;hl=en_US&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.khmohsin.com/custom-variables-in-google-analytics/google-analytics/2010/04/10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Asynchronous Tracking in Google Analytics</title>
		<link>http://blog.khmohsin.com/how-to-install-asynchronous-tracking-in-google-analytics/google-analytics/2010/04/01/</link>
		<comments>http://blog.khmohsin.com/how-to-install-asynchronous-tracking-in-google-analytics/google-analytics/2010/04/01/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 11:15:03 +0000</pubDate>
		<dc:creator>Mohsin</dc:creator>
				<category><![CDATA[Google Analytics]]></category>

		<guid isPermaLink="false">http://blog.khmohsin.com/?p=143</guid>
		<description><![CDATA[First Time Installation of Asynchronous Tracking:
Following are steps if you are installing Google Analytics Code on your site for first time and you want to use Asynchronous Tracking.

Insert the asynchronous snippet at the bottom of the &#60;head&#62; section of your pages, after any other scripts your page or template might use.

According to Google the optimal location for [...]]]></description>
			<content:encoded><![CDATA[<p><strong>First Time Installation of Asynchronous Tracking:</strong></p>
<p>Following are steps if you are installing Google Analytics Code on your site for first time and you want to use <a href="http://blog.khmohsin.com/what-is-google-analytics-asynchronous-tracking/tips/2010/03/25/" target="_blank">Asynchronous Tracking</a>.</p>
<ul>
<li>Insert <a href="http://blog.khmohsin.com/what-is-google-analytics-asynchronous-tracking/tips/2010/03/25/" target="_blank">the asynchronous snippet</a> at the <strong>bottom of the </strong><strong>&lt;head&gt;</strong><strong> section</strong> of your pages, after any other scripts your page or template might use.
<ul>
<li>According to Google the optimal location for the asynchronous snippet is at the bottom of the &lt;head&gt; section, just before the closing &lt;/head&gt; tag.</li>
</ul>
</li>
<li>Modify the _setAccount method with your web property ID. (check screen shot below)<a href="http://blog.khmohsin.com/wp-content/uploads/2010/04/ga-asynchronous-tracking.png"><img class="aligncenter size-medium wp-image-144" title="ga-asynchronous-tracking" src="http://blog.khmohsin.com/wp-content/uploads/2010/04/ga-asynchronous-tracking-300x130.png" alt="" width="400" height="130" /></a>And you are done!</li>
<li>You can get the <a rel="nofollow" target="_blank" href="http://blog.khmohsin.com/what-is-google-analytics-asynchronous-tracking/tips/2010/03/25/" target="_blank">Asynchronous Tracking code from this post</a> or <a href="http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html" target="_blank">from Google here.</a></li>
</ul>
<p><strong>Migrating or Upgrading to New Asynchronous Tracking:</strong></p>
<p>If you want to migrate/upgrade to the new asynchronous snippet from traditional tracking :</p>
<ul>
<li>Remove your existing tracking code snippet and any customizations you have made.</li>
<li>To reduce errors, it is recommended that you remove the existing tracking code snippet from the include file or mechanism that injects it into your web pages. <strong>[TIP] </strong>You can paste your existing tracking code snippet in a text file to keep track of any customized methods you use.</li>
<li>Use the steps defined above to install new tracking code.</li>
</ul>
<p>To <strong>make customizations to your new Asynchronous Tracking code</strong> like you have done to your old code, <a rel="nofollow" target="_blank" href="http://code.google.com/apis/analytics/docs/tracking/asyncMigrationExamples.html" target="_blank">check out this usage guide and side by side comparison from Google.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.khmohsin.com/how-to-install-asynchronous-tracking-in-google-analytics/google-analytics/2010/04/01/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is Google Analytics &#8211; Asynchronous Tracking</title>
		<link>http://blog.khmohsin.com/what-is-google-analytics-asynchronous-tracking/tips/2010/03/25/</link>
		<comments>http://blog.khmohsin.com/what-is-google-analytics-asynchronous-tracking/tips/2010/03/25/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 10:37:20 +0000</pubDate>
		<dc:creator>Mohsin</dc:creator>
				<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[What's New?]]></category>
		<category><![CDATA[Asynchronous Tracking]]></category>

		<guid isPermaLink="false">http://blog.khmohsin.com/?p=140</guid>
		<description><![CDATA[Quite recently Google has upgraded its Web Analytics Tracking Code, and the new version is called Asynchronous Tracking. This code is different from the previous GA code, below is an introduction.
Asynchronous Tracking in Google Analytics:
Asynchronous tracking is an improved way to track website visitors with Google Analytics. Asynchronous tracking optimizes how browsers load ga.js so its [...]]]></description>
			<content:encoded><![CDATA[<p>Quite recently Google has upgraded its Web Analytics Tracking Code, and the new version is called Asynchronous Tracking. This code is different from the previous GA code, below is an introduction.</p>
<p><strong>Asynchronous Tracking in Google Analytics:</strong></p>
<p>Asynchronous tracking is an improved way to track website visitors with Google Analytics. Asynchronous tracking optimizes how browsers load <code>ga.js</code> so its impact on user experience is minimized. It also allows you to put your Analytics snippet higher in the page without delaying subsequent content from rendering.</p>
<p>Although asynchronous tracking uses a different Analytics snippet and a different syntax for tracking calls, it supports the exact same tracking customizations as the traditional snippet. In fact, the asynchronous tracking syntax is also more flexible than the traditional snippet.</p>
<p>The following snippet represents the minimum configuration needed to track a page asynchronously. It uses <code>_setAccount</code> to set the page&#8217;s web property ID and then calls <code>_trackPageview</code> to send the tracking data back to the Google Analytics servers.</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221;&gt;</p>
<p>var _gaq = _gaq || [];<br />
_gaq.push(['_setAccount', 'UA-XXXXX-X']);<br />
_gaq.push(['_trackPageview']);</p>
<p>(function() {<br />
var ga = document.createElement(&#8217;script&#8217;); ga.type = &#8216;text/javascript&#8217;; ga.async = true;<br />
ga.src = (&#8216;https:&#8217; == document.location.protocol ? &#8216;https://ssl&#8217; : &#8216;http://www&#8217;) + &#8216;.google-analytics.com/ga.js&#8217;;<br />
var s = document.getElementsByTagName(&#8217;script&#8217;)[0]; s.parentNode.insertBefore(ga, s);<br />
})();</p>
<p>&lt;/script&gt;</p></blockquote>
<p>To use this on your pages, copy the code snippet above, replacing <code>UA-XXXXX-X</code> with your web property ID.</p>
<p>Check out the <a href="http://blog.khmohsin.com/how-to-install…ogle-analytics/google-analytics/2010/04/01/" target="_blank">tips to install Google Analytics &#8211; Asynchronous Tracking.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.khmohsin.com/what-is-google-analytics-asynchronous-tracking/tips/2010/03/25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Certified Analytics Professional</title>
		<link>http://blog.khmohsin.com/google-certified-analytics-professional/whats-new/2010/03/10/</link>
		<comments>http://blog.khmohsin.com/google-certified-analytics-professional/whats-new/2010/03/10/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 17:08:52 +0000</pubDate>
		<dc:creator>Mohsin</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[What's New?]]></category>

		<guid isPermaLink="false">http://blog.khmohsin.com/?p=130</guid>
		<description><![CDATA[I am happy to share with my friends and readers that I have just passed my Google Analytics Certification exam, so I am pretty much excited. It was not very tough but the at the same time not so easy. The questions were MCQs with focus on concepts. I will advise reading the Google Analytics [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" rel="https://www.starttest.com/8.1.0.0/searchcert.aspx?cmd=detail&amp;id=I0067036AFF64FE637632C9&amp;programid=93&amp;target=%target%&amp;type=%type%&amp;limit=%limit%&amp;loc=ENU&amp;code=3dfe6755d3721daa0a7cf6ed519d6387f32249eb" href="https://www.starttest.com/8.1.0.0/searchcert.aspx?cmd=detail&amp;id=I0067036AFF64FE637632C9&amp;programid=93&amp;target=%target%&amp;type=%type%&amp;limit=%limit%&amp;loc=ENU&amp;code=3dfe6755d3721daa0a7cf6ed519d6387f32249eb" target="_blank"><img class="size-full wp-image-131 alignleft" title="Google Badge" src="http://blog.khmohsin.com/wp-content/uploads/2010/03/Google-Badge.png" alt="" width="124" height="109" /></a>I am happy to share with my friends and readers that<strong> I have just passed my Google Analytics Certification exam</strong>, so I am pretty much excited. It was not very tough but the at the same time not so easy. The questions were MCQs with focus on concepts. I will advise reading the <a rel="nofollow" target="_blank" href="http://www.google.com/support/conversionuniversity/?hl=en" target="_blank">Google Analytics Course</a> and reading the various questions and problems in Help Center before attemting the exam. The exam had 70 questions and the time allowed was 90 mins. Check out the various resources for preparation at: <a rel="nofollow" target="_blank" href="http://www.google.com/analytics/education.html">http://www.google.com/analytics/education.html</a></p>
<p>You can search for more <a rel="nofollow" target="_blank" href="http://blog.khmohsin.com/pakistani-web-analytics-professionals/whats-new/2010/03/03/" target="_blank">Pakistani Google Analytics Certified Professionals</a>, <a href="https://www.starttest.com/8.1.0.0/searchcert.aspx?cmd=start&amp;program=googleanalytics&amp;type=consumer&amp;target=center&amp;limit=search" target="_blank">here on Google.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.khmohsin.com/google-certified-analytics-professional/whats-new/2010/03/10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to exclude specific country or region from Google Analytics</title>
		<link>http://blog.khmohsin.com/exclude-specific-country-region-google-analytics/tips/2009/12/16/</link>
		<comments>http://blog.khmohsin.com/exclude-specific-country-region-google-analytics/tips/2009/12/16/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 14:50:00 +0000</pubDate>
		<dc:creator>Mohsin</dc:creator>
				<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://blog.khmohsin.com/how-to-exclude-specific-country-or-region-from-google-analytics/tips/2009/12/16/</guid>
		<description><![CDATA[Here are the quick and easy steps to implement, if you want a report of website traffic, excluding a specific country or territory.
However,it should be noted that, it is among the best practices to create new test profiles when you are testing our filters or other advanced analytics setups. The reason is that it is [...]]]></description>
			<content:encoded><![CDATA[<p>Here are the quick and easy steps to implement, if you want a report of website traffic, excluding a specific country or territory.</p>
<p>However,it should be noted that, it is among the best practices to create <strong>new test profiles</strong> when you are testing our filters or other <strong>advanced analytics setups</strong>. The reason is that it is not unusual that some of your experiments might turn out to be wrong or do not meet your specific requirements, if you have multiple profiles, then you can safely delete the newly created one without loss of critical data. You should have one untouched raw analytics profile, always.</p>
<p>Having said that, lets move towards our setup, I have already created a new profile for the same website and name it &#8220;Filtered Traffic&#8221;</p>
<p>As soon as you create the new profile, click the edit button and scroll down to see the &#8220;Add New Filter&#8221; option.</p>
<p><a href="http://blog.khmohsin.com/wp-content/uploads/2009/12/f1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="f1" src="http://blog.khmohsin.com/wp-content/uploads/2009/12/f1_thumb.png" border="0" alt="f1" width="358" height="90" /></a></p>
<p>Kindly note that Google Analytics have 2 types of Filter Setups,i.e. Predefined and Custom, we will select the <strong>Custom Filter</strong>.</p>
<p><a href="http://blog.khmohsin.com/wp-content/uploads/2009/12/f2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="f2" src="http://blog.khmohsin.com/wp-content/uploads/2009/12/f2_thumb.png" border="0" alt="f2" width="356" height="125" /></a></p>
<p>Now select the <strong>Visitor Country</strong> option to mention the excluded region.</p>
<p><a href="http://blog.khmohsin.com/wp-content/uploads/2009/12/f3.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="f3" src="http://blog.khmohsin.com/wp-content/uploads/2009/12/f3_thumb.png" border="0" alt="f3" width="357" height="270" /></a></p>
<p>Now in the &#8220;Filter Pattern&#8221; box, enter your desired value or values.e.g.<strong> Filter Pattern: brazil|Argentina</strong></p>
<p><a href="http://blog.khmohsin.com/wp-content/uploads/2009/12/f4.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="f4" src="http://blog.khmohsin.com/wp-content/uploads/2009/12/f4_thumb.png" border="0" alt="f4" width="369" height="110" /></a></p>
<p><strong>Note:</strong>The pipe symbol | allows for multiples within the same pattern. Thus, you can mention one or many countries in the same pattern.</p>
<p>Another way is to put country names you want to exclude separated with | sign, and enclose it with ( ) in Filter Pattern field. For example if you want to exclude traffic stats from China, Australia and India the  filter pattern will be(China|Australia|India) . And that&#8217;s all, now save this filter by clicking &#8220;Save Changes&#8221; button.</p>
<p>Kindly note that | and () are regular expressions, they have many uses, read about them at: <a rel="nofollow" target="_blank" href="http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55582" target="_blank">Google&#8217;s Help Page</a></p>
<blockquote><p>I am setting up analytics for my new projects and hence my future posts will around this topic. If you like to be informed about future posts, kindly subscribe to RSS of this blog. Also I have taken help and inspiration for this post from <a rel="nofollow" target="_blank" href="http://blog.wasimasif.com/excluding-traffic-stats-specifc-countries-google-analytics/" target="_blank">WasimAsif&#8217;s blog</a>, thanks to him.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.khmohsin.com/exclude-specific-country-region-google-analytics/tips/2009/12/16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
