1

Context: We have some features that rarely calls any backend service and the logic stays in the frontend.

Most of the tools we have can calculate SLI/SLO status based on latency and error code return from the server side, but right now since the applications is frontend-heavy, we're mostly tracking bugs based on user reports, manually.

We're trying to add some services to track the end user interaction and hope that we can collect some metrics like number of clicks for example.

The main question is: what are the good metrics to collect for a frontend application?

I think analyzing bug tickets, user feedback, and surveys are good methods also but I'm looking for some "black box" metrics so based on that we can set up some kind of alerts to notify our team to send someone to investigate before bug tickets arrive.

1

1 Answer 1

0

There is a crossover here with some analytics tools as you are probably interested in:

  • Front end errors
  • Rage clicks / dead clicks
  • Time from interaction to delivery (i.e. how long to do something after a user clicks)

If you monitor these, you can set up automatic alerts when there's an anomaly, such as a sudden increase in front-end errors that may have been caused by a change in the latest version of your app.

Rage clicks and dead clicks indicate usability problems.

You'd expect the timings to be super-fast if the whole app runs in the front-end without communicating with back end services, but this will certainly offer surprises if there's an operation that takes longer than a few milliseconds!

Business metrics

Additional to this would be tracking the business metrics that relate to the app. Are you hoping people will do something as a result of the app? How many / what proportion of users do the thing you wanted?

A new version of the app might be technically brilliant, but if users stop doing the business thing you hoped for, it might need to roll back to keep your business operating.

As an example, if you ran a hotel bookings site and released a change to the sorting of the results, it could reduce the number or value of hotel bookings, which could put you out of business if you don't go back to the old sorting.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.