fixed analytics tracking