Refactored track view method call to improve analytics