Use AppConfig, not Rails.env, to toggle analytics.