added a google analytics check