diff --git a/src/setup/analytics.js b/src/setup/analytics.js index 4a3940c..7dbb7ea 100644 --- a/src/setup/analytics.js +++ b/src/setup/analytics.js @@ -6,6 +6,8 @@ const setupAnalytics = () => { debug: (process.env.NODE_ENV !== 'production') }); ReactGA.pageview(document.location.pathname); + } else { + console.log('Google Analytics disabled by Do Not Track'); // eslint-disable-line no-console } }; diff --git a/src/setup/raven.js b/src/setup/raven.js index 19d9132..01b2b30 100644 --- a/src/setup/raven.js +++ b/src/setup/raven.js @@ -8,6 +8,8 @@ const setupRaven = () => { debug: (process.env.NODE_ENV !== 'production'), release: process.env.BUILD_ID }); + } else { + console.log('Sentry error reporting disabled by Do Not Track'); // eslint-disable-line no-console } };