Skip to content


Subversion checkout URL

You can clone with
Download ZIP


API Analytics Use Case #4178

mattab opened this Issue · 2 comments

1 participant


It would be fantastic and very relevant to use Piwik as a API Analytics service. Piwik with its powerful log analytics and import can provide great insights in monitoring API and web services, such as: API request counters, successful requests, requests with errors, API Performance measurement, Continuous API monitoring. Count how many users use the API, which users use it often, which parameters they use, etc.

We would like to think about this use case a bit more and document how to use Piwik as a API Analytics platform. We have ourselves two APIs we could track using Piwik as a start.


Random notes:

  • Set "Visit duration" to 1 day to have accurate "unique users" metric
  • Unique Visitors per custom variable value is very interesting
    • CVariable Unique Visitors metric might is missing for month
  • option to turn Page URLs parameters to Custom Variables? (makes API usage analysis easier)

See also #5257 Application Performance Management & Monitoring

@mattab mattab removed Major c: Core labels
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.