Ui state debugs

Please would it be possible to add an even to listen to state/route change.
This could be handy when trying to mange user visits to a particular url
Thanks