adding analytics events