Fixed a bug in my logic for whether or not to load google analytics