add analytics tracking stuff