View Google Analytics For Current Day

Google Analytics is one of the best and widely used analytics tool. In addition to it being free it also has lots of features. The annoying factor with Google Analytics is that whenever you login it shows you the analytics for the past 30 days and not the current day.

There is a workaround to viewing the data for the current day using a bookmarklet.

Drag and drop the Analytics Today Bookmarklet to your bookmarks toolbar. Once you have done this you will need to make a change in the bookmarklet code. For this first login into your analytics account and load the site you want to view the stats for.

In the URL you will see a parameter called as id (?id=xxxxxx) copy the site id from the URL and edit your bookmarklet by right clicking on it and choosing properties. In the location for the bookmark you will see some text which says “YOURIDHERE” without the quotes. Replace this text with the site id you just copied from the URL.

Click on Ok to save the bookmarklet. Next time whenever you want to view the statistics for the current day just click on this bookmarklet. This definitely saves time you would spend on changing the date using the visual tools available in Google Analytics.

Published by

Keith Dsouza

I am the editor-in-chief and owner of Techie Buzz. I love coding and have contributed to several open source projects in the past. You can know more about me and my projects by visiting my Personal Website.I am also a social networking enthusiast and can be found active on twitter, you can follow Keith on twitter @keithdsouza. You can click on my name to visit my Google+ profile.

  • Ohh that is great, have been looking for something like that for a while! thanks!

  • Nice article buddy . This was something i was looking for too .

  • That’s Great,
    I was using sitemeter b’coz analytics would not update every hour . Now,it Fine..Thanks Keith.
    What happened to other blog design ? (This is better)

  • Interesting find! I’ll try this out.

  • I love this tip. Thanks for helping out a stats junkie heh.

  • keith

    @Baron – Glad to help a stats junkie :-)

    @Nirmal – Yups you should try it out its quite useful.

    @TechDune – Yups it was annoying as Google did not show current day stats, well I changed the design back to the old one since my earnings dropped with the old design. I am trying to make few changes in the new design before I can relaunch it.

    @Madhur – Glad you liked it buddy.

  • Pingback: Güncel Blog » Blog ArÅŸivi » Bugüne ait google analytics bilgileri()

  • If the month is a single digit (like from 1-9) then the date is going to be printed in wron format.

    Current format, prints date out as 2008107-2008107, but it should be 20080107-20080107.

  • Its simply an awesome article dude :p
    I was looking for this from a long time, but can’t find a way 2 it.
    Thanks Keith
    keep rocking…

  • I also found it annoying when Google Analytics showed all the days by default. Thanks for posting this up here now. I’ve added this bookmarklet to Firefox and now it’ll be easier for me to check my stats.

  • WOW! Thank you so much. Not being able to see the current traffic has been driving me nuts for weeks now. I really appreciate you sharing this with us.

  • Pingback: Google Analytics - Free Business Forums UK()

  • Hello,

    Thanks for the valuable script.

    I modified it (although I am absolutely not familiar with javascript) a bit because for me it wasn't working as it looked like the "pad" variable wasn't defined.

    Also as I wanted to display not only the current day but a period of one month I added one more variable.

    Check it here:




  • Nelson

    Had to modify the code to make it work, I put the code up on my blog:

  • Just what I was looking for. Thanks so much!