<?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>Hey, I&#039;m J.R. &#187; Google Analytics</title>
	<atom:link href="http://juanpatten.com/category/google-analytics/feed/" rel="self" type="application/rss+xml" />
	<link>http://juanpatten.com</link>
	<description>life is awesome</description>
	<lastBuildDate>Thu, 03 Sep 2009 02:58:05 +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>Make Google Analytics Default to Today</title>
		<link>http://juanpatten.com/2008/make-google-analytics-default-to-today/</link>
		<comments>http://juanpatten.com/2008/make-google-analytics-default-to-today/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 13:55:12 +0000</pubDate>
		<dc:creator>JR</dc:creator>
				<category><![CDATA[Google Analytics]]></category>

		<guid isPermaLink="false">http://www.runningskull.com/?p=42</guid>
		<description><![CDATA[I love Google Analytics.  It&#8217;s phenomenal.  It really helps me track how a site is doing and optimize the visitor experience.  However, there&#8217;s one thing about it that bugs me to no end.  It defaults to showing you the last full day&#8217;s statistics.
Well, I&#8217;m a statistics junkie, so that doesn&#8217;t make me happy.  I want [...]]]></description>
			<content:encoded><![CDATA[<p>I love Google Analytics.  It&#8217;s phenomenal.  It really helps me track how a site is doing and optimize the visitor experience.  However, there&#8217;s one thing about it that bugs me to no end.  It defaults to showing you the last <em>full</em> day&#8217;s statistics.</p>
<p>Well, I&#8217;m a statistics junkie, so that doesn&#8217;t make me happy.  I want to see how I&#8217;m doing today, as close to real-time as I can.  As far as I can tell there is no setting you can set to make it default to view today by default.  The only way to do that without manually changing the dates is to set the <tt>pdr</tt> variable in the URL.</p>
<p>So, here&#8217;s how to create a bookmark that will take you to today&#8217;s statistics (these instructions are for Firefox, but I imagine Safari and IE can&#8217;t be too different).</p>
<ol>
<li><strong>Drag this link to your bookmarks toolbar</strong>: <a href="javascript:today=new%20Date();ts=today.getFullYear()%20+%20''%20+%20(today.getMonth().toString().length==1%20?%20'0'+(today.getMonth()+1)%20:%20today.getMonth()+1)%20+%20(today.getDate().toString().length==1%20?%20'0'+today.getDate()%20:%20today.getDate());bs=today.getFullYear()%20+%20''%20+%20(today.getMonth().toString().length==1%20?%20'0'+today.getMonth()%20:%20today.getMonth())%20+%20(today.getDate().toString().length==1%20?%20'0'+today.getDate()%20:%20today.getDate());window.location='https://www.google.com/analytics/reporting/dashboard?id=XXX&#038;pdr='+bs+'-'+ts+'&#038;cmp=average&#038;gdfmt=nth_day';">Today&#8217;s Analytics</a></li>
<li><strong>Find out your Analytics ID</strong>: You can do this by visiting your dashboard and looking for the id parameter in the URL.</li>
<li><strong>Replace XXX in the bookmark with your ID</strong>: Right click on the bookmark you created, and go to Properties.  Scroll toward the end of the URL, and find &#8220;XXX&#8221;.  Replace this with the ID you found.</li>
<li><strong>Click the bookmark</strong></li>
</ol>
<p>You should now be able to use that bookmark to view your Google Analytics with a default end date of today.</p>
<p>If you don&#8217;t like any of the other settings, you can change around the URL at the end to suit how you like to do things.</p>
<p>Now you don&#8217;t have to always change the date as soon as you log in.  Enjoy!</p>
<p>Well, Wordpress seems to have messed up the link.  I&#8217;ll fix it as soon as I can&#8230;</p>
<p><em>Questions, comments?  I&#8217;d love to hear from you.  Just leave a comment down below!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://juanpatten.com/2008/make-google-analytics-default-to-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
