diff --git a/addon/services/metrics.js b/addon/services/metrics.js index 8af04f6b..ad443561 100644 --- a/addon/services/metrics.js +++ b/addon/services/metrics.js @@ -65,6 +65,10 @@ export default class Metrics extends Service { this._options = { metricsAdapters, environment }; this.appEnvironment = environment; this.activateAdapters(metricsAdapters); + + if (navigator !== 'undefined' && navigator.doNotTrack == '1' && environment !== 'production') { + console.warn('[ember-metrics] Browser settings specify do not track. No metrics will be sent to any adapter.') + } } /**