Skip to content


Live! API to support the 'segment' parameter to allow querying any visit level information #2307

mattab opened this Issue · 1 comment

1 participant

Piwik Open Source Analytics member

This would be cool to have, in response to this forum post request, as a general tool. Also it would make the API consistent because other functions support the segment parameter.

For example it will make possible to select:

  • all visits (and their actions/goal conversions) for a given IP
  • or for a given country
  • or for a given keyword
  • or for any combination of segments data

Then later we could update the UI for the Visitor Log to add "Filters" at the top. However it would be nice to wait for this until we can build a reusable "Filter" for building segments that we could use for the Visitor Log but also to define segments for all other reports.

Piwik Open Source Analytics member

(In [4441]) Fixes #2307 - Live! api now accepts segments (for the Counter call and the GetLastVisits call)
The next step that would be a real OMG would be to have Filters in the UI to be able to ajax search any visitor based on any criteria... oh that would be cool ;)

Fixes #2309 - also adding visitorId as a segment

  • integration tests for both new features
@mattab mattab added this to the Piwik 1.3 milestone
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.