add analytics tracking