<?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>SocialDeveloper.net &#187; google analytics</title>
	<atom:link href="http://socialdeveloper.net/tag/google-analytics/feed/" rel="self" type="application/rss+xml" />
	<link>http://socialdeveloper.net</link>
	<description>Building One Social Network At A Time.</description>
	<lastBuildDate>Thu, 02 Jul 2009 05:40:08 +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>Integrate Google Analytics into SE 3+</title>
		<link>http://socialdeveloper.net/2009/01/integrate-google-analytics-into-se-3/</link>
		<comments>http://socialdeveloper.net/2009/01/integrate-google-analytics-into-se-3/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 05:32:06 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[Mods]]></category>
		<category><![CDATA[google analytics]]></category>

		<guid isPermaLink="false">http://socialdeveloper.net/?p=59</guid>
		<description><![CDATA[For people new to LAMP and other programing languages, you might not be familiar with Google Analytics. Most people have, but for those that haven&#8217;t, its a free reporting tool that lets you track the stats and visitors of visitors on your social network. Here is a quick description on how you can add Google [...]]]></description>
			<content:encoded><![CDATA[<p>For people new to LAMP and other programing languages, you might not be familiar with Google Analytics. Most people have, but for those that haven&#8217;t, its a free reporting tool that lets you track the stats and visitors of visitors on your social network. Here is a quick description on how you can add Google Analytics to your site.</p>
<h2>Step One</h2>
<p>Sign up for google analytics <a href="http://www.google.com/analytics/sign_up.html" target="_blank">here</a>, and add a site profile for your domain and proceed to the screen that gives you your tracking code. It should look something similar to this:</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
var gaJsHost = ((&#8220;https:&#8221; == document.location.protocol) ? &#8220;https://ssl.&#8221; : &#8220;http://www.&#8221;);<br />
document.write(unescape(&#8220;%3Cscript src=&#8217;&#8221; + gaJsHost + &#8220;google-analytics.com/ga.js&#8217; type=&#8217;text/javascript&#8217;%3E%3C/script%3E&#8221;));<br />
&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
try {<br />
var pageTracker = _gat._getTracker(&#8220;UA-4&#8212;&#8212;-&#8221;);<br />
pageTracker._trackPageview();<br />
} catch(err) {}&lt;/script&gt;</p></blockquote>
<h3>Step Two</h3>
<p>Go ahead and copy this code. You will need it when you edit the footer.tpl in the SocialEngine Admin section. Once you copy the code, go ahead and login to the admin section and navigate to HTML Templates. Once you get there, go ahead and click &#8220;footer.tpl&#8221; and the code should come up. Go ahead and scroll all the way to the bottom where it says <strong>&lt;/body&gt;</strong>.  Now go ahead and paste your Analytics code right before this. Now right above where it says &lt;script type&#8230;&#8230;.&gt; Type <strong>{literal}</strong> and right after where it says&lt;/script&gt; type<strong> {/literal}</strong> .</p>
<p>The literal tags prevent Smarty (The template engine) from confusing some of the code you pasted. You will get error messages if you dont use those literal tags so hope that helps. If you have any problems or ideas post em so we can come up with some easy mods for everyone.</p>
]]></content:encoded>
			<wfw:commentRss>http://socialdeveloper.net/2009/01/integrate-google-analytics-into-se-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
