fixed improper google analytics implementation