How can I know what caused a new Iron Route to be called?

So In the LocalMarket app, you have this text blob (see screenshot)

So I would like to know how to do this for real now that iron router is released. I.e, how can i in a clean way know what caused a new route to be called (clicked on a link in app or clicked back button of app or clicked back button of browser?)