Fix analytics tracking code