update to analytics tracking