Extension of the Insights » Posting Activity functionality

Filed an Issue Automattic/jetpack (GitHub)
Increase your traffic, view your stats, speed up your site, and protect yourself from hackers with Jetpack.
I’ve been enjoying the idea that JetPack is providing a Github contributions-like functionality at https://wordpress.com/stats/insights/example.com under the heading Posting Activity.

Orderly grid of squares representing dates which are grouped by month with a gradation of colors on each square that indicate in heat map fashion how frequently I post to my website.

Seeing this naturally provides me some additional motivation to post more often, which is generally a good thing for the platform. It also dovetails in visually with the “you have posted X days in a row” notifications sent by the mobile app.

I’m sure it all may be on the roadmap somewhere, but in case it’s not I thought I’d leave a few ideas about continuing to extend this awesome functionality and related UI features.

  • It would be nice to be able to display more than one calendar year of activity. Perhaps a tabbed UI could provide access to prior years while still being relatively compact? (This could be similar to “All Time Views” just below it which has button (aka tab) options for “Months and Years” or “Average per Day”.
    A visual representation of the button/tabbed functionality for "All Time Views" described in the text.
  • While hovering over a particular square representing a date provides some useful information like the number of posts on a particular date, it would be awesome if clicking on that date would take one to the correct archive page for that date. This is not too dissimilar to from GitHub’s functionality and the permalinks for each day should already exist in core. Example: https://example.com/2019/04/17 to show all of that day’s posts.
  • Similar to the functionality for posts, it would be interesting to have a similar set up for comments to allow sorting through those visually as well.
  • It would be awesome to have all of the above rolled up into a widget that would allow one to post the visual data for several months and/or years visually on a sidebar, footer, or other widgetizeable area. This also provides site readers the ability to quickly jump to a particular date and/or set of posts much like the Archives widget allows, but with a more visual interface.
  • If there is a widget, while I’m sure that many will love the blue WordPress-based color scheme, many will want to key their colors off of their theme as a customizable widget option.
  • Given the infrastructure for creating a lot of the above functionality, one could go a half step further and create an “On this Day” feature similar to that of Facebook, Timehop, and many others which allow one to create archive page views for what happened on this same day a year ago, two years ago, three, four, etc. This could be wonderfully useful for a wide variety of sites to look back at birthdays, anniversaries, and red letter dates as well as the average Tuesday. To my knowledge there is only one old plugin that I was able to find after some serious search that has somewhat similar functionality: Room 34 presents On This Day. There is also some similar functionality like this recently built into the Post Kinds Plugin which creates archive views for several date-based permalinks. This would be all the better if there is a better API for such an endpoint so that it could be tied into third party platforms like Timehop which are overly focused on social sites like Facebook, Twitter, Google, etc., but which could include WordPress-based websites.

Also as I post this, and as I’m thinking the functionality is relatively new, I notice that my JetPack enabled .org site only has Posting Activity that goes back to mid-October 2018 (despite the fact that it should go back much further), while my wordpress.com site has data that goes far back beyond that date. Is this a potential bug, or could it be the case that my self-hosted site hasn’t been parsed back far enough to cover more time yet? It may also be related to the fact that I’ve recently (this week) disconnected and reconnected JetPack to do some troubleshooting.

On This Day functionality for WordPress

Last night while catching up on some of my feeds and I ran across a new WordPress plugin for creating On This Day-type functionality from Alan Levine.

Having enjoyed the mobile app TimeHop and its functionality for a long time, I’d spent a long time a while back searching for what I was sure would be multiple WordPress plugins that might offer such functionality. At the time I could only find one and seemed deeply hidden: the Room 34 Presents On This Day plugin which has served my needs for a while.

While the two are implemented somewhat differently and have different levels of UI features, it’s nice that there’s now a bit of competition and options available in the space. Alan’s excellent version is a shortcode-based plugin with some options for configuring the output and he’s got lots of additional details for customizing it. The Room 34 version creates an archive view of most of its data and also includes  a widget for adding the output to various widget locations.

I’ve added some of these examples and links to the On This Day page of the IndieWeb wiki, so that others looking for UI examples, options, and brainstorming for their WordPress-based or other sites might have an easier time tracking them down and building additional iterations or coming up with new ideas.

These sorts of plugins provide some useful functionality commonly found in other social media sites, including Facebook which allow you to go back in time. I find they’re even more valuable on my own site as my content here is generally far richer and more valuable to me than it is on other social sites which often have a “throw away” or a more ephemeral feel to some of their content. It’s nice to be able to look back at old thoughts, revisit them, possibly reshape them, or even see how far I’ve come in some of my thinking since those older days.

Now, if we could only get Timehop to dovetail with the WordPress API so that they could add WordPress websites to their offerings…