Stats in your time zone

When we sat down at an Austin cafe in 2005 and wrote the stats system, Matt and I had no idea what we were getting into. He created the databases and drew the little smiley face while I wrote the code. We had milk and cookies. It was really cute. We were naïve!

I swear it was Matt’s idea to store stats data as daily summaries in Universal Coordinated Time (UTC), which is why stats days have always ended at odd hours for non-Greenwichians. But even if I seem blameless, I failed to champion your cause soon enough. It is even more my fault than Matt’s.

And so today I present a gift. If you have set your blog’s time zone, your stats reports will honor that setting (in whole hours from -12 to +14). This upgrade is retroactive to the beginning of 2009. It affects all blogs using WordPress.com stats, even self-hosted blogs using the Stats plugin (version 1.4).

The best part is that any time you change your blog’s time zone, the stats reports change retroactively. This works because now we store data by the hour instead of by the day. I’ve written lots of new code and Barry is bringing many new systems online to cope with the additional data, and we do it all just to give you stats in your time zone. We really do like you.


Missing out on the latest WordPress.com developments? Enter your email below to receive future announcements direct to your inbox. An email confirmation will be sent before you will start receiving notifications—please check your spam folder if you don't receive this.

Join 110.1M other subscribers

312 Comments

Comments are closed.

  1. Matt

    Sweet!

    Like

  2. Nightgunner5

    Somehow, I don’t think there are 26 hours in a day.

    Like

  3. Nikita

    Fantastic! Thanks 😀

    Like

  4. PiensoLuegoPiensoLuegoExisto

    Perfect. A long desired feature, thanks!!

    Like

  5. Nibu Thomas

    Cool man!

    Like

  6. dougrogers

    Yay!

    Like

  7. sensico

    Me likes 🙂

    Like

  8. lorkito

    Thanks.

    Like

  9. Jake

    Ah! That explains how I got an extra view yesterday today 🙂

    Like

  10. Jake

    Oh, and thanks 😀

    Like

  11. nokia5800blog

    n1 plugin, thx!

    Like

  12. Jenny

    Great! I’ve been wanting this for a really long time. Thanks!

    Like

  13. Moi

    At last! Ty very much.

    Like

  14. Lilja

    Very useful to know – Thanks 🙂

    Like

  15. Lora

    Very nice! Thanks alot.
    Keep the updates coming.

    – Lora

    Like

  16. waitingforthecall

    Nightgunner- no, there aren’t. There are however countries that move their time zone forward 1 or 2 hours for Summer Time. I would guess that’s what these guys have been cool enough to take into account.

    Like

  17. insider53

    I think the guy who came up with UTC also designed the LA freeways. Thanks for making it easier.

    Like

  18. sitidjenar

    good…

    Like

  19. Noscere

    Nice, a big thanks from the UK, and what do you meen Nightgunner5 with “there are not 26 hous in a day”. I thought there was or at least it feels like there is

    Like

  20. PiedType

    LOL! Nightgunner5 can proofread for me anytime. But good on ya, WP.

    Like

  21. Tyler

    awesome awesome

    Like

  22. Ivar

    That explains why my visits today dropped by 20% between two checkings 🙂 It’s cool to know that this feature is working as it should, now. Thanks!

    Like

  23. Narinda

    Huzzah! I knew something funny and wonderful was going on. :n) Thanks, WP.

    Like

  24. Andzia

    Nice 🙂

    Like

  25. GuRpS

    GREAT!!!

    Like

  26. ClapSo

    STUNNING! Thanks…

    The scientifically impossible I do right away
    The spiritually miraculous takes a bit longer

    Like

  27. di4z

    To be easier, thanks!

    Like

  28. stabroeknews

    Great news.

    We’re on self-hosted and we sometimes get banned from the stats service ..probably because we break 100k+ pageviews per day sometimes ? Sent some emails, but didnt get any replies and we’re willing to pay for the service if needed.

    Anyway this bug was annoying. Thanks for the fix.

    Like

  29. M Shodiq Mustika

    Thank you so much. It is like a dream coming true. 🙂

    Like

  30. hunterpw

    YES FINALLY!!! THANK YOU!

    Like

  31. Lola

    Awesome ! 😀

    Like

  32. Arun Shanbhag

    Since you have it, can we see “by the hour” data?
    Have some more milk and cookies! 😀

    Like

  33. ajgago

    fantastic!

    Like

  34. ericriveracooks

    AWESOME!!!

    Like

  35. nusantaraku

    Yeah… i just see my new blog stat.
    Thanks

    Like

  36. shwaldman

    Wow – I wondered why my stats changed overnight – that is cool!

    Like

  37. trollboy

    thats great news. No more head scratching trying to figure out the stats! Now if i can only do something about these darn fleas…

    Like

  38. Carleen

    Excellent update! Thanks!

    Like

  39. coolaquasilver

    cool 😉

    Like

  40. TelBitConsulting

    And I just got used to ending my day at 4 PM! 😉

    Seriously, this is great! Thanks…

    Like

  41. richmx2

    Uh… they seem to be screwed up. I assume this is a temporary situation but on the “stats” screen there is a growing discrepancy with what’s shown on the detailed statistics screen. It was a 25 “hit” difference earlier today, and is now about 35.

    By the way, realizing that stats are not everything (and other than a rough estimate on the number of hits per month is more than enough information), is there a way to simply turn off the stats?

    Like

  42. Zaeriuraschi 11098

    AWESOME! WordPress just keeps getting better and better! :mrgreen:

    Like

  43. Ricardo Homsi

    Thank you guys for all the hours you’ve no doubt put into this. Sounds like an excellent feature, one that will make my entire blogging troupe smile contentedly. Even though our Canadian reporter might not savor it too much, since our blog is Brazil-based and thus GMT-3… 🙂

    Like

  44. Lisa Hill

    Well this is nice, but what I’d really like to do is to thank you for your excellent stats system anyway. Long ago when I was young and foolish I started a blog with that other crowd and I still have that blog because it has a million travel photos which are dear to my heart. That other blog doesn’t even have a built in stats thingy, you have to find one and put it in – all of which was very challenging to the aging brain – and it’s nowhere near as good as the WP stats thingy anyway. I love checking my stats, have made all kinds of helpful discoveries about how to raise my online profile by watching to see which posts get traffic etc, and have even made new online friends by tracking back some of my visitors to their own blogs.
    So thanks, gentlemen
    from Lisa in Oz

    Like

  45. Bridget Casas

    Hopefully, it will make more sense now instead of an odd time during the day!

    Like

  46. gwalter

    Thanks – the other was doable – but this is cool! Thank you!

    Like

  47. writeasrain

    Ummm for some reason…my stats stopped counting today….is that going to continue to be a problem? At the moment…the daily number of visitors has not changed for quite some time…even though…my referrer numbers are changing. Solution? (or just be patient 🙂 )

    Like

  48. Jared

    Yeah! I’m in New Zealand and it really confused me at first that my stats were zero-ing out in the middle of the day. Well done!

    Like

  49. Isaac Milton

    I lost some hints with the update though… It says I had 283 last month, 131 this month (that’s 414 total, pitiful I know). But it says my total hits is 399, or 15 less than what it should be.

    Like

  50. silverwink

    Awesome! That is so much better. Thank you!

    Like

  51. naadhim

    Thanx.

    Like

  52. steelbound

    Awesome!

    Having the stats end not at midnight had always been a low grade bother for me. Behind being able to add polls to wordpress.com blogs, this is the best upgrade to WordPress in the 1+ year I’ve used WordPress.

    Like

  53. Ken

    Awesome!

    Like

  54. hubman38

    I love that you’ve made this change- thanks!

    But I was wondering why the blog stats graph on my dashboard or the main blog stats page shows one value for each day, but when I navigate to the summary tables I get a different value?

    Like

  55. seaclearly

    A very welcome upgrade 🙂

    Like

  56. destroyer

    Thanks

    Like

  57. Alice Gray

    AWESOME!! I ❤ WP!

    Like

  58. bigcrow

    Finally 🙂
    I’m in +4 timezone and my stats was reseting at 4:00 Am…

    p.s. So sweet story about cafe and milk 🙂

    Like

  59. ballightning

    Great upgrade! Thanks Andy!

    Like

  60. Celebes

    Perfect! Thanks!

    Like

  61. sniperk

    Nice. Now I understand why the number of visits in my blog got scrambled. But, this is a great upgrade. Thanks for the effort.

    Like

  62. arcadata

    Cool – I was wondering what happened to the stats…

    Like

  63. La historia del dia

    Great!
    Thanks a lot 🙂

    Like

  64. Neil

    Excellent! 🙂

    Like

  65. b*

    Good. I always hated being reminded of just how provincial I am. Now I’m right and the rest of the world is off.

    Like

  66. eideard

    Bravo! Even though I’m surrounded by folks who think in Zulu time – pilots and proper UK football fans – this will help me sort out what’s happening with my personal blog here at WP.

    Especially since [I believe] about half my audience is outside the U.S., anyway.

    Thanks, again.

    Like

  67. samedifference1

    This is brilliant! Thanks.

    Like

  68. Rizal

    great job!

    Like

  69. art predator

    holy cow! this will be a sea change!

    Like

  70. Steamboat McGoo

    Ah-ha! That may explain an oddity I ran into just today!

    I keep an excel spreadsheet of my daily stats. Today I noticed that all of them (recent ones) have changed slightly – but that the total has not moved appreciably. if you are “re-tallying” them from a different reference point, then they would all wiggle a bit day-to-day, wouldn’t they?

    You folks do a fine job! Thank you!

    Like

  71. tanfahgarden

    So awesome Q(*_*Q)

    Like

  72. mesin kasir

    since today I feel the real time same with the stats time at my region, thanks for this update

    Like

  73. Andrew

    I was hoping for this for a long time. Thanks!

    Like

  74. Todd

    so will the detailed stats reconcile later today?

    Thanks for this….even though I had just got used to ending my day at 7, lol. Great to see it…and now my monthly wrap up will be more accurate.

    Like

  75. fandigunawan

    I think I’ve to install this to my self hosted wordpress. Great feature indeed.

    Like

  76. billbennettnz

    Ah, that explains the strange numbers I was getting this morning and overnight here in Auckland, New Zealand. The day’s traffic suddenly halved!

    Like

  77. novice9

    I’m glad that you like us. =) Yay for WP.

    Like

  78. Cyndy Otty

    Shiny! ^_^

    Like

  79. shrikrishnasamant

    A big Thank-you from me

    Like

  80. Mary

    Finally, yay! 🙂

    Like

  81. Vikas Gupta

    Thank you Andy for doing the needful better late than never! Both you an Matt are guilty! 😉

    Like

  82. nzglen

    billbennettnz – my traffic for the day suddenly doubled! Now I know why! Awesome work team 🙂

    Like

  83. Ming Wu

    Ya!
    I am happy with this!

    Like

  84. josekont

    Ohhhhhh thanks. This one is a good improvement. WP rulez!

    Like

  85. radityo

    very interesting..

    radit
    jakarta, indonesia

    Like

  86. musicmaiden

    I always wondered why my stats were not the correct time! Thank you! I like, very much. 🙂

    Like

  87. Damon Tucker

    That’s Great!

    Now how can we get the RSS feeds to come in at our correct time zones?

    On my other wordpress blog that uses feeds… It appears that articles are written in the future.

    It’s a collaboration of Hawaii Big Island Bloggers work, however, when the site takes the RSS feed from their site it posts them as being posted way in the future.

    (Hawaii is 3 hours different from even West Coast time)

    Like

  88. linuxandfriends

    Just cool.

    Like

  89. curiousillusion

    love it… helps so much!

    Like

  90. pymequitacion

    Thank you, I like you too! More every day…

    Like

  91. QC

    Ah … thanks for fixing this atypically amateurish feature of the platform. 🙂

    Like

  92. antonjuniorche

    Great!!!

    Like

  93. pifflepie

    well actully there is 24 hours in the day

    Like

  94. FXSmom

    sweet beans!! And it’s ok matt (cuz we like you better anyway 😉 )

    Like

  95. r8chel

    Yes! Finally! 🙂

    Like

  96. egomaniac

    Ahh.. At last! Thank you guys!

    Like

  97. bingoknows

    I’ve just noticed, right on!

    Like

  98. getatraveldeal

    Thanks Andy. Love the upgrade

    Like

  99. bryanens

    Thanks. Great update! I was just whining yesterday about blogs being in GMT (UTC).

    Like

  100. rjjrdq

    Keep working on it. Totally screwed up. I look at the chart and have the usual abbreviated page views, those stats that have been tanking since the “the big rollout stats project” , and the blog tables are showing no hits at all today. Can’t complain, I’m getting my moneys worth.

    Like

Create your new blog or website for free

Get Started