I try to run a HTTP-API with a segment on VisitCount.
Since I need only pagetitles who have less then a certain count of visits.
Only I do see the segment but I do not see an effect on the data.
I have used the demo-URL to mark my issue:
visitCount segment means Number of visits by one visitor, so it will select visits that have visited this website at least N times before this current visti.
What you want is to filter out the result set ? This is not possible to only have the rows with nb_visits > 4 returned, so you will have to do this with your script that calls the API
It’s not possible yet to do this, but we’d love to implement it. Could you please create a feature request on our tracker? https://github.com/piwik/piwik/issues