add analytics events tracking