fixes in the google analytics implementation