use `recordLocationTransition`.  also, quite minor, feels to me location should be first.