matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.88k stars 2.65k forks source link

Metadata API: support Goal metrics for keywords, countries, etc. #3099

Open mattab opened 12 years ago

mattab commented 12 years ago

Currently the metadata analytics api does return visits, page views, revenue, etc.

When the metadata is called with idgoal parameter, it should return the goal metrics for the requested report. This would work only for Keywords, websites, countries, custom variables, and a few other reports (appearing in Goals > any goal report).

Returning these metrics will allow Piwik mobile app to display per goal metrics for these reports, which are an important part of web analytics.

mattab commented 11 years ago

Note: there is now a &showRawMetrics=1 parameter that will display the Goal metrics.

I will update documentation.

The Metric names should also be returned for ecommerce/abandoned carts/goals

diosmosis commented 11 years ago

@matt, is this change still needed even though showRawMetrics will provide goal info?

mattab commented 11 years ago

@capedfuzz, work left on this ticket is simply 1) update documentation and 2) Add metric names in the metadata output for ecommerce/abandoned goal metrics