added events to analytics