Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

New dashboard widget to show real-time visitor count #3131

Closed
jacobshare opened this Issue · 17 comments

5 participants

Jacob Share Matthieu Aubry Stefan Giehl Benaka Fabian Becker
Jacob Share

The Chartbeat demo site shows their nifty dashboard widget in the upper-lefthand corner that displays in real-time how many people are active on your site.

At minimum, I'd like to have a widget that shows how many people are currently on the site. That count could be based on active sessions, for example.

Ideally, just like in Chartbeat, it would be nice to also know for those active sessions:

  1. the ratio of desktop:mobile referrals
  2. the ratio of direct:links:search:social referrals Keywords: real-time
Jacob Share

Attachment: Screenshot of Chartbeat's real-time visitor count widget
chartbeat-onsite-widget.png

Matthieu Aubry
Owner

It would be very easy to have a new Widget showing the number of visits and page views in the last 2 min (which we could define as Real time)

We also would need to prepare a new report to clearly rerport Mobile visits VS non mobile visits. I created a new ticket for this: #3133

In chartbeat what do they mean by "concurrent visits" do you know ?

Matthieu Aubry
Owner

We now have the Mobile VS Desktop report in 1.8.1

Jacob Share

That IS a cool new report, but it's not real-time or even a sub-section of a real-time widget as I requested. But thanks for updating me. I upgraded to 1.8.1 and am loving the row reports

Matthieu Aubry
Owner

What are your thoughts on this one, would you like to give a try to the Real time visitor count widget?

Stefan Giehl
Collaborator

We can not really give the same report as chartbeat does. The chartbeat tracking pixel sends an update request every 10 seconds or so to tell the server that the user is still online. the graph shows the users which have send an request within the last X seconds.
I would suggest to build a plugin doing exactly that. It would also allow us to have more exactly visit durations.

Matthieu Aubry
Owner

This will be done in this ticket #2041 to ping the page every N seconds

Matthieu Aubry
Owner

Postponing until specification is clarified

Jacob Share

Woohoo! Can't wait!

Benaka
Collaborator

In 1c181d9: Fixes #3131, add new auto-updating widget that displays the number of visitors, visits and actions in the last N minutes.

Notes:

  • Added visitors metric to result of Live.getCounters.
Benaka
Collaborator

In 043c349: Refs #3131, fixing build

Fabian Becker
Collaborator

@jshare: You might also want to take a look at a plugin I recently wrote https://github.com/halfdan/piwik-barometer-plugin

Jacob Share

@halfdan pure awesomeness. I got this working right away once I upgraded my dev piwik install to 1.11.1 (from 1.9.x).

Does the barometer needle ever move, or is it just the barometer colors and numbers that change?

I also noticed the time barometer too, cool stuff.

Fabian Becker
Collaborator

@jshare, the needle moves depending on the number of visits you have. I haven't got around to animate the visit once it updates, but this will come. Barometer colors are fixed (25% red, 25-75% yellow, >75% green), but if you have a suggestion on how they should change, let me know.

If the needle didn't move for you but the numbers changed, then this indicates that the "visit in the last 30 minutes" vs. "max visits in 30min interval over 30days" ratio hasn't changed.

Jacob Share

Sweet! Onward and upward! Great to see this is happening.

Matthieu Aubry
Owner

you'll be happy to know it's already available in latest beta: http://builds.piwik.org/piwik-1.12-b4.zip (which works beautifully btw)

Jacob Share

I upgraded my main site's Piwik install over the weekend to 1.11.1 and immediately put the barometer on the dashboard. Since it appeared, the numbers haven't changed at all in the past few days (from the left: 0 - 61 - 122 - 183). I would have thought that was the maximum number of visits in a 30min interval over 30days, but traffic has been trending upward the past few days, so I'd be surprised if that was true.

Benaka diosmosis was assigned by jacobshare
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.