Export count of page visits for a specific url

I Make artificial page views with javascript on my website using javascript


piwikTracker.trackPageView('/lid/902095/website');

I need to be able to export how many times the above code was executed, so that I can show them on my website, however I’m not sure what my query to the API should be, here is my attempt:


?module=API&method=Actions.getExitPageUrls&idSite=2&period=day&date=today&format=JSON&token_auth=anonymous&segment=pageUrl=@%2Flid%2F902095%2Fwebsite

It returns an error at this time “Error: The report ‘VisitsSummary_CoreMetrics’ was requested but it is not available at this stage. You may also disable the related plugin to avoid this error.”

I don’t see a plugin with that name in plugins section, my active plugins are “Actions, Dashbord, DoNotTrack, ExampleAPI, ExamplePlugin, Live, Login, Widgetize”

Not sure if this is the right query to send to the API or not, any help is appreciated.

if you want the stats for this particular page, remove the &segment and instead use filter_pattern instead http://piwik.org/docs/analytics-api/reference