Google Analytics for Today Bookmarklet

Like anybody that has a website, I love Google Analytics. but it drives me crazy that the default view is for the last 30 days when I really just want to see what has happened today. The only way to check for today is to manually change the date in the report, so I hooked up a bookmarklet to do that for me.

With a small modification, you can use the same bookmarklet for your own use. All you'll have to do is replace the ID in the bookmarklet with the ID for your Analytics account. (Note that you could use this to your advantage to make separate bookmarklets for multiple accounts)

Source (www.howtogeek.com)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3Avar%2520d%3Dnew%2520Date%28%29%3Bvar%2520pad%3D%27%27%3Bvar%2520padm%3D%27%27%3Bif%28d.getDate%28%29%3C10%29%7Bpad%3D%270%27%3B%7D%3Bif%28d.getMonth%28%29%3C10%29%7Bpadm%3D%270%27%3B%7D%3Bvar%2520t%3D%27%27+d.getFullYear%28%29+padm+%28d.getMonth%28%29+1%29+pad+d.getDate%28%29%3Blocation.href%3D%27https%3A//www.google.com/analytics/reporting/dashboard%3Fid%3DYOURIDHERE%26pdr%3D%27+t+%27-%27+t+%27%26cmp%3Daverage%27


Rate it:


Tags:

Comments

Comments so far. Add yours.

tom

I use this bookmarklet on a daily basis. Don't forget the change it to work with your account.