add google analytics events for register, add class, upgrade