diff --git a/package-lock.json b/package-lock.json index 741ebc05d..c5fba26fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9690,4 +9690,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/appInsights.ts b/src/appInsights.ts index a2bdbccc4..3e29853cc 100644 --- a/src/appInsights.ts +++ b/src/appInsights.ts @@ -8,6 +8,9 @@ import { ApplicationInsights } from '@microsoft/applicationinsights-web'; import CookieManager from './script/CookieManager'; const load = () => { + if (location.hostname !== "ml-machine.org") { + return; + } if (CookieManager.getComplianceChoices().analytics) { appInsights.loadAppInsights(); appInsights.trackPageView(); // Manually call trackPageView to establish the current user/session/pageview