<?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>my code trip &#187; Community Server</title>
	<atom:link href="http://mycodetrip.com/tag/community-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://mycodetrip.com</link>
	<description>stories from the information technology highway</description>
	<lastBuildDate>Thu, 01 Jul 2010 04:47:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to add Google Analytics to your Community Server Blogs  / Forums</title>
		<link>http://mycodetrip.com/2006/10/13/how-do-i-add-google-analytics-to-cs-blogs-forums-websites_56/</link>
		<comments>http://mycodetrip.com/2006/10/13/how-do-i-add-google-analytics-to-cs-blogs-forums-websites_56/#comments</comments>
		<pubDate>Sat, 14 Oct 2006 03:11:02 +0000</pubDate>
		<dc:creator>Shiva</dc:creator>
				<category><![CDATA[Tips / HowTos]]></category>
		<category><![CDATA[Community Server]]></category>

		<guid isPermaLink="false">http://mycodetrip.com/?p=56</guid>
		<description><![CDATA[How to add Google Analytics to your Community Server Blogs / Forums Websites.]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>In this post, I will walk you through adding Google Analytics, a highly sophisticated website traffic analysis tool, to your vibrant, search engine optimized community that you have already built using Community Server.</p>
<h2>Post History</h2>
<p>Last Updated on: 12.Oct.2006</p>
<p>Applies to: Community Server 2.1</p>
<p>Pre-requisites: An existing Gmail account.</p>
<h2>Sign up for Google Analytics</h2>
<p>Visit the Google Analytics website at <a rel="nofollow" href="http://www.google.com/analytics/" target="_blank">http://www.google.com/analytics/</a> and sign in with your Gmail account.</p>
<p>After you are logged in, click the <strong>Sign Up</strong> button.</p>
<p>In the <strong>General Information</strong> screen, enter the website details as requested and Click <strong>Next</strong>.</p>
<p><a rel="lightbox" href="http://theshiva.us/images/blogimages/google-analytics-signup-account-information.gif"><img src="http://theshiva.us/images/blogimages/google-analytics-signup-account-information_tn.gif" alt="google-analytics-signup-account-information" /></a></p>
<p>In the <strong>Contact Information</strong> screen, enter your contact information and Click <strong>Next</strong>.</p>
<p>Read the user agreement conditions in the ‘<strong>Accept User Agreement</strong>‘ Screen carefully, and if you agree to it, check the “Yes, I agree to the above terms and conditions” box and click <strong>Create New Account</strong>.</p>
<p>The <strong>Analytics  &#8211; Tracking Instruction</strong> screen will be displayed.</p>
<p><a rel="lightbox" href="http://theshiva.us/images/blogimages/google-analytics-tracking-code-and-instructions.gif"><img src="http://theshiva.us/images/blogimages/google-analytics-tracking-code-and-instructions_tn.gif" alt="google-analytics-tracking-code-and-instructions" /></a></p>
<p>Copy the entire script in the box, and paste it temporarily in a text document like a new notepad or wordpad document. Click <strong>Next</strong>.</p>
<p>You will now be taken to the main Analytics screen. At the top, you will see a message saying that ‘<strong>Tracking for your website has not yet been validated</strong>‘. Don’t panic. This is expected because you haven’t added the code in your website pages that will allow Goggle Analytics to track your website.</p>
<p><a rel="lightbox" href="http://theshiva.us/images/blogimages/google-analytics-check-tracking-status.gif"><img src="http://theshiva.us/images/blogimages/google-analytics-check-tracking-status_tn.gif" alt="google-analytics-check-tracking-status" /></a></p>
<h2>Add the Google Analytics Tracking Code to your Community Server Website Pages.</h2>
<p>The easiest way to ensure that the Google Analytics Tracking Code to your website is to add it in the sitewide page footer. Since the footer is visible in all the pages in your website including the blogs, forums, galleries and downloads pages, this is the recommended method to include the tracking code.</p>
<p>The architects of Community Server have also separated the control panel footer from the regular site footer. This is a very good design move because if there wasn’t a separate footer for the control panel and you added the tracking code in one common footer page, then even your activity within the control panel will be tracked by Google Analytics, giving you a false sense of traffic.</p>
<p>So let’s go ahead and add the tracking code to your site footer.</p>
<p>In a text editor or in Visual Studio (if you have it), open the <strong>Master.ascx</strong> page located in the <strong><em>site_root\</em>Themes\Default\Masters</strong> folder. Scroll down and located the  <strong>&lt;/BODY&gt;</strong> html tag and paste the tracking code immediately above the <strong>&lt;/BODY&gt;</strong> so that the script appears as shown below.</p>
<p><a rel="lightbox" href="http://theshiva.us/images/blogimages/google-analytics-tracking-code-in-website-page.gif"><img src="http://theshiva.us/images/blogimages/google-analytics-tracking-code-in-website-page_tn.gif" alt="google-analytics-tracking-code-in-website-page" /></a></p>
<p>Save and close the <strong>Master.ascx</strong> file. If you site is hosted somewhere, copy and overwrite this <strong>Master.ascx</strong> onto the corresponding folder in the host.</p>
<p>Open a browser window and visit the website.</p>
<p>Now right click on the page and click <strong>View Source</strong>.</p>
<p>Either search for <strong>&lt;/BODY&gt;</strong> or scroll down till you find <strong>&lt;/BODY&gt;</strong> at the end.</p>
<p>Ensure that the Google Analytics tracking code is visible.</p>
<h2>Confirm the Tracking Code on your Google Analytics Account</h2>
<p>Visit the <a rel="nofollow" href="http://www.google.com/analytics/" target="_blank">Google Analytics</a> website and sign in with your Gmail account.</p>
<p>You will now be taken to the main Analytics screen. At the top, you will see a message saying that ‘<strong>Tracking for your website has not been validated</strong>‘. Now that we have added the tracking code, click the <strong>Check Status</strong> Button.</p>
<p><a rel="lightbox" href="http://theshiva.us/images/blogimages/google-analytics-check-tracking-status.gif"><img src="http://theshiva.us/images/blogimages/google-analytics-check-tracking-status_tn.gif" alt="google-analytics-check-tracking-status" /></a></p>
<p>It is quite likely that you will be informed that the <strong>Tracking is Not Installed</strong>.</p>
<p><a rel="lightbox" href="http://theshiva.us/images/blogimages/google-analytics-tracking-status.gif"><img src="http://theshiva.us/images/blogimages/google-analytics-tracking-status_tn.gif" alt="google-analytics-tracking-status" /></a></p>
<p>Here is the important part. <span style="text-decoration: underline;">Be patient</span>. Often, it takes anywhere from a few minutes to a few hours for Google Analytics to detect the tracking code on your site and start gathering traffic statistics. So if you do get the ‘<strong>Tracking is Not Installed</strong>‘ message, just wait patiently. Take a walk, drink coffee, or if it is late at night, go to bed and then logon to your google analytics account again.</p>
<p>If the Tracking is successfully detected, then you will see it your website listed in the Website Profiles Table. The status column in the website profiles table will also show a status of ‘<strong>Receiving Data</strong>‘</p>
<p><a rel="lightbox" href="http://theshiva.us/images/blogimages/google-analytics-website-profiles-table.gif"><img src="http://theshiva.us/images/blogimages/google-analytics-website-profiles-table_tn.gif" alt="google-analytics-website-profiles-table" /></a></p>
<p>Click the “<strong>View Reports</strong>” and you are ready to see the traffic on your website !</p>
<p><a rel="lightbox" href="http://theshiva.us/images/blogimages/google-analytics-website-traffic-statistics.gif"><img src="http://theshiva.us/images/blogimages/google-analytics-website-traffic-statistics_tn.gif" alt="google-analytics-website-traffic-statistics" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mycodetrip.com/2006/10/13/how-do-i-add-google-analytics-to-cs-blogs-forums-websites_56/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
