Google Analytics – Updated

Google has updated Analytics, and the feature that made this most obvious was the date range picker.  Before you even open it you can see a new Comparing to: Site ? text.
Analytics date picker change 1
On opening the data picker, they now let you choose today in New Zealand time.

Analytics date picker change 2
No more editing the URL to see what is happening now! This is quite useful when I get comments to see how people found my site etc.

I will have to explore to see if I find more features, but for now, my #1 missing feature has been solved.

WordPress URL rewriting

When reviewing Google Analytics this morning I noticed a 404 page view for: http://simeonpilgrim.com/404/blog/2007/07/17/curse-of-the-azure-bonds/

with the refer on the end of the URL, going to the referring web site their is a link to this none existing page but the content was for this page: http://simeonpilgrim.com/blog/2005/08/04/curse-of-the-azure-bonds/

After a bit of reading I found mod_rewrite (Linux hosting) was the tool to fix the problem.

I downloaded the /blog/.htaccess file and used the above mentioned manual to decode the meaning and start hacking me a new file.

Much wasted time latter, I worked out that WordPad was messing with the Unix new-line markers, and changing to Visual Studio was met with success (or lack of server failure).

So what I needed to add was the following line to my WordPress default .htaccess

RewriteRule ^2007/07/17/curse-of-the-azure-bonds/$ 2005/08/04/curse-of-the-azure-bonds/ [R=permanent,L]

giving me this file

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^2007/07/17/curse-of-the-azure-bonds/$ 2005/08/04/curse-of-the-azure-bonds/ [R=permanent,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule> # END WordPress

And magically the link now redirects to the correct page.

You can find these pages in Google Analytics by:

  • selecting Content
  • selecting Top Content or Content by Title
    URL rewriting: Steps 1- 2
  • entering /404/ in the Find URL search box
    URL rewriting: Step 3

Happy Fixing…

Google Analytics default date range

I have Google Analytics running on this blog, and I think it’s fantastic. But, I’ve always found it on that on my 27th of August, it only shows up to the 25th. Other day I found the date range Timeline picker, but got very confused when I saw the same data for two days running.

It turned out that with the Timeline picker you can move to the 26th’s data. So I ended up see the effective data two days running

Today I noticed that on the default dates the graphs stop on the 25th data

default time

But if you choose the 26th you some hint of the 27th’s data

can select US today

But you cannot select the 27th

cannot select NZ today

But you can change the URL and see into the future!

go into the future

All you need to-do is change the URL value from pdr=20070801-20070826 to pdr=20070801-20070830. Tada!

So my question is why the funny default dates? Why on the default dates does it not show future data hints?