diff --git a/config/initializers/dfe_analytics.rb b/config/initializers/dfe_analytics.rb index 02e6201c8..0e0a31b54 100644 --- a/config/initializers/dfe_analytics.rb +++ b/config/initializers/dfe_analytics.rb @@ -5,6 +5,8 @@ config.environment = HostingEnvironment.name config.queue = :analytics + config.excluded_paths = [%r{^/healthcheck}] + config.enable_analytics = proc do disabled_by_default = Rails.env.development?