Timestamp in the Piwik API Segmentation

is it possible to use a timestamp or something similar in the Segmentation API as

  • I’d like to get the last visits for the last 5 min for instance
  • retrieve the visits that happened since a given timestamp

I’d like something less than one hour , say close to few minutes.

how to achieve that without querying the DB just through HTTP?
is such call possible ?



Indeed we could add a segment visitDatetime that would accept a timestamp and/or a datetime string, and would segment users. please create a ticket with your suggestion on dev.piwik.org

Happy New Year! If you are still using Piwik and interested in the awesome new feature of “Creating a Custom Segment in Piwik and apply to reports in Real time!” we need YOUR help, with a little or big donation at: http://crowdfunding.piwik.org/custom-segments-editor/

This will allow to dynamically add or edit, a new set of rules for example “Show all visitors from USA and using Firefox and using Google”. This will be done via a simple to use interface. See screenshots and more info here: http://crowdfunding.piwik.org/custom-segments-editor/

We are crowd funding the future of Piwik and this feature in particular. With your help we can do it.