Tracking events using the right version of analytics.