refactor track method to be common across handler classes