move the google analytics to a partial, and only render the partial in production