add analytics to track