conditionally load google analytics based on settings file