Updates analytics tracking code