Fixed bug when deploying with google analytics