Extract google analytics to separate file