fixed the analytics code locations