Fixes a logic error for google analytics vs google map use