update analytics tracking code