Deriving User Flows and Optimal Path to Goals From Events

By analyzing frontend analytics events we can derive the ‘hot paths’–sequences of actions users often take. If we also know the user’s goals we can then calculate the state space and optimal path (e.g. A* pathfinding). With that we can calculate the frequency in which users choose an optimal path.

What might the results of this kind of analysis mean for the user experience?

  • A high cardinality of unique paths to a goal might reveal there are too many ways to do the same thing
  • A large percentage of users on an suboptimal path could indicate an opportunity to help users perform an action faster

See also:

It seems possible to generate all states of a purely functional UI so that it can be analyzed and audited.