move google analytics to external