Mocked-API icon indicating copy to clipboard operation
Mocked-API copied to clipboard

Add API analytics

Open ageddesi opened this issue 1 year ago • 5 comments

ageddesi avatar Aug 23 '22 17:08 ageddesi

Hello, @ageddesi Could you please elaborate more? 😃

vishva-mahadevan avatar Oct 14 '22 16:10 vishva-mahadevan

I need to look into a way to hook api metrics into different 3rd parties. For example google analytics. Plausible, fathom etc. So that we can measure usage of each end point

ageddesi avatar Oct 14 '22 16:10 ageddesi

I think I might take a look at this if that's ok? I think I can add Plausable into the docker-compose, get that working and develop an interface for the analytics.

computamike avatar Oct 23 '22 22:10 computamike

I have a local instance of plausible running - however it won't work for localhost - I can set up a host hack, but this is worth noting for developers looking to hack on this.

image

computamike avatar Oct 24 '22 00:10 computamike

I have something running locally - here's a screenshot. Still lots to do - around removing hardcoded magic strings. image image

computamike avatar Oct 24 '22 01:10 computamike