Changed trackEvent variable names to improve readability