Extract tracker.track function.