Added conditional to not output google analytics code if the ID is not set in settings