adding in analytics tracking