diff --git a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Shared/_Layout.cshtml b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Shared/_Layout.cshtml
index 23dc6b810..5563e2f42 100644
--- a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Shared/_Layout.cshtml
+++ b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Shared/_Layout.cshtml
@@ -42,14 +42,15 @@
=======
@if (hasConsented && enableAppInsightsBrowserAnalytics)
{
-
+
+
}
diff --git a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/_ViewImports.cshtml b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/_ViewImports.cshtml
index 5523e661b..1202c0192 100644
--- a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/_ViewImports.cshtml
+++ b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/_ViewImports.cshtml
@@ -5,4 +5,3 @@
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Dfe.ManageFreeSchoolProjects
@addTagHelper *, NetEscapades.AspNetCore.SecurityHeaders.TagHelpers
-@inject Microsoft.ApplicationInsights.AspNetCore.JavaScriptSnippet AIJavaScriptSnippet;
diff --git a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/wwwroot/package-lock.json b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/wwwroot/package-lock.json
index 9bb0f730a..7e291d8bb 100644
--- a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/wwwroot/package-lock.json
+++ b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/wwwroot/package-lock.json
@@ -8,6 +8,7 @@
"accessible-autocomplete": "^3.0.0",
"dfe-frontend": "2.0.1",
"govuk-frontend": "5.4.1",
+ "@microsoft/applicationinsights-web": "^3.2.2",
"jquery": "^3.6.1"
},
"devDependencies": {
@@ -85,10 +86,181 @@
"integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
"dev": true,
"dependencies": {
- "@jridgewell/resolve-uri": "^3.1.0",
- "@jridgewell/sourcemap-codec": "^1.4.14"
+ "@jridgewell/resolve-uri": "3.1.0",
+ "@jridgewell/sourcemap-codec": "1.4.14"
}
},
+ "node_modules/@microsoft/applicationinsights-analytics-js": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-analytics-js/-/applicationinsights-analytics-js-3.2.2.tgz",
+ "integrity": "sha512-i6/7hYO7lFPE1rMARG6c4bGTuUJUiPb9GRfwMhzArpG39fqduCWpH6y2PdlwZzjyDQAxIOgBiSfLddgsAVoYOA==",
+ "dependencies": {
+ "@microsoft/applicationinsights-common": "3.2.2",
+ "@microsoft/applicationinsights-core-js": "3.2.2",
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ },
+ "peerDependencies": {
+ "tslib": "*"
+ }
+ },
+ "node_modules/@microsoft/applicationinsights-cfgsync-js": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-cfgsync-js/-/applicationinsights-cfgsync-js-3.2.2.tgz",
+ "integrity": "sha512-W4sQmQC9ZXN8ETYHcXQZl7kMACDkiC/a26OYx9IW8CzgZUI0U3hfDRonaj/1AMkM6zZbC2Zuto4vqpex7abJEg==",
+ "dependencies": {
+ "@microsoft/applicationinsights-common": "3.2.2",
+ "@microsoft/applicationinsights-core-js": "3.2.2",
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-async": ">= 0.5.1 < 2.x",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ },
+ "peerDependencies": {
+ "tslib": "*"
+ }
+ },
+ "node_modules/@microsoft/applicationinsights-channel-js": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-channel-js/-/applicationinsights-channel-js-3.2.2.tgz",
+ "integrity": "sha512-4ruoKxgZYYa+K8JJu8RMY0egKazS8xClbx70NQHa/rJ7JYFgN3OIEIBZtFoMcHR8Vg7MEsNE5/wV6o7WWJkVIA==",
+ "dependencies": {
+ "@microsoft/applicationinsights-common": "3.2.2",
+ "@microsoft/applicationinsights-core-js": "3.2.2",
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-async": ">= 0.5.1 < 2.x",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ },
+ "peerDependencies": {
+ "tslib": "*"
+ }
+ },
+ "node_modules/@microsoft/applicationinsights-common": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-common/-/applicationinsights-common-3.2.2.tgz",
+ "integrity": "sha512-e1C35gdkFSzWyUUR1S8FvisXW3nT3p6wWsLNs+vUKLOTQzsvW3XpNMVtNCq4MfHWiYDuz1lPSzo2eENaij1fVA==",
+ "dependencies": {
+ "@microsoft/applicationinsights-core-js": "3.2.2",
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ },
+ "peerDependencies": {
+ "tslib": "*"
+ }
+ },
+ "node_modules/@microsoft/applicationinsights-core-js": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-core-js/-/applicationinsights-core-js-3.2.2.tgz",
+ "integrity": "sha512-dF6LZ4ahdhoHufw+N7OXRDzWT8QN193Dvpd8GLqEZdR/KtCTofPSI63yumu+ZkzKYadf1S3w2xg0OmbdyXexoQ==",
+ "dependencies": {
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-async": ">= 0.5.1 < 2.x",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ },
+ "peerDependencies": {
+ "tslib": "*"
+ }
+ },
+ "node_modules/@microsoft/applicationinsights-dependencies-js": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-dependencies-js/-/applicationinsights-dependencies-js-3.2.2.tgz",
+ "integrity": "sha512-15EUVU6Kh0B400i/2YNy+V9xMhOwnpzAMTAiyFo90Q1SC5rJIsmzqjAWQnFmxAeq5YQoZ2FuQQpD2qsUajVEQQ==",
+ "dependencies": {
+ "@microsoft/applicationinsights-common": "3.2.2",
+ "@microsoft/applicationinsights-core-js": "3.2.2",
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-async": ">= 0.5.1 < 2.x",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ },
+ "peerDependencies": {
+ "tslib": "*"
+ }
+ },
+ "node_modules/@microsoft/applicationinsights-properties-js": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-properties-js/-/applicationinsights-properties-js-3.2.2.tgz",
+ "integrity": "sha512-ovT123foF4WquHdk6f51YpRacx7ZgST7iwqRA/jshy/7NVqlu05JbrVB8IlrxNausdaRwX5CvSCca+SQbOW0ZA==",
+ "dependencies": {
+ "@microsoft/applicationinsights-common": "3.2.2",
+ "@microsoft/applicationinsights-core-js": "3.2.2",
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ },
+ "peerDependencies": {
+ "tslib": "*"
+ }
+ },
+ "node_modules/@microsoft/applicationinsights-shims": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-shims/-/applicationinsights-shims-3.0.1.tgz",
+ "integrity": "sha512-DKwboF47H1nb33rSUfjqI6ryX29v+2QWcTrRvcQDA32AZr5Ilkr7whOOSsD1aBzwqX0RJEIP1Z81jfE3NBm/Lg==",
+ "dependencies": {
+ "@nevware21/ts-utils": ">= 0.9.4 < 2.x"
+ }
+ },
+ "node_modules/@microsoft/applicationinsights-web": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-web/-/applicationinsights-web-3.2.2.tgz",
+ "integrity": "sha512-DBJ83Fe7nHzH7QgMKFQrBN/Gbhoo5JgMQkBzJeTb5hMfNZUFOBEHWjytBdU9MEZVpa+Vk+RPQ72IOc0txbnJYw==",
+ "dependencies": {
+ "@microsoft/applicationinsights-analytics-js": "3.2.2",
+ "@microsoft/applicationinsights-cfgsync-js": "3.2.2",
+ "@microsoft/applicationinsights-channel-js": "3.2.2",
+ "@microsoft/applicationinsights-common": "3.2.2",
+ "@microsoft/applicationinsights-core-js": "3.2.2",
+ "@microsoft/applicationinsights-dependencies-js": "3.2.2",
+ "@microsoft/applicationinsights-properties-js": "3.2.2",
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-async": ">= 0.5.1 < 2.x",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ },
+ "peerDependencies": {
+ "tslib": "*"
+ }
+ },
+ "node_modules/@microsoft/dynamicproto-js": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@microsoft/dynamicproto-js/-/dynamicproto-js-2.0.3.tgz",
+ "integrity": "sha512-JTWTU80rMy3mdxOjjpaiDQsTLZ6YSGGqsjURsY6AUQtIj0udlF/jYmhdLZu8693ZIC0T1IwYnFa0+QeiMnziBA==",
+ "dependencies": {
+ "@nevware21/ts-utils": ">= 0.10.4 < 2.x"
+ }
+ },
+ "node_modules/@ministryofjustice/frontend": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@ministryofjustice/frontend/-/frontend-1.8.0.tgz",
+ "integrity": "sha512-N4791HcFoqJNLNrK6EN4oMaTJjeFp9ileavCpXkda3qvpEWQByxZUsOd6sDA69FuLRpB6jBFL2C2bqfYbcTdqg==",
+ "dependencies": {
+ "govuk-frontend": "^3.0.0 || ^4.0.0",
+ "moment": "^2.27.0"
+ },
+ "engines": {
+ "node": ">= 4.2.0"
+ },
+ "peerDependencies": {
+ "jquery": "^3.6.0"
+ }
+ },
+ "node_modules/@nevware21/ts-async": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/@nevware21/ts-async/-/ts-async-0.5.1.tgz",
+ "integrity": "sha512-O2kN8n2HpDWJ7Oji+oTMnhITrCndmrNvrHbGDwAIBydx+FWvLE/vrw4QwnRRMvSCa2AJrcP59Ryklxv30KfkWQ==",
+ "dependencies": {
+ "@nevware21/ts-utils": ">= 0.11.2 < 2.x"
+ }
+ },
+ "node_modules/@nevware21/ts-utils": {
+ "version": "0.11.2",
+ "resolved": "https://registry.npmjs.org/@nevware21/ts-utils/-/ts-utils-0.11.2.tgz",
+ "integrity": "sha512-80W8BkS09kkGuUHJX50Fqq+QqAslxUaOQytH+3JhRacXs1EpEt2JOOkYKytqFZAYir3SeH9fahniEaDzIBxlUw=="
+ },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -2424,10 +2596,151 @@
"integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
"dev": true,
"requires": {
- "@jridgewell/resolve-uri": "^3.1.0",
- "@jridgewell/sourcemap-codec": "^1.4.14"
+ "@jridgewell/resolve-uri": "3.1.0",
+ "@jridgewell/sourcemap-codec": "1.4.14"
+ }
+ },
+ "@microsoft/applicationinsights-analytics-js": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-analytics-js/-/applicationinsights-analytics-js-3.2.2.tgz",
+ "integrity": "sha512-i6/7hYO7lFPE1rMARG6c4bGTuUJUiPb9GRfwMhzArpG39fqduCWpH6y2PdlwZzjyDQAxIOgBiSfLddgsAVoYOA==",
+ "requires": {
+ "@microsoft/applicationinsights-common": "3.2.2",
+ "@microsoft/applicationinsights-core-js": "3.2.2",
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ }
+ },
+ "@microsoft/applicationinsights-cfgsync-js": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-cfgsync-js/-/applicationinsights-cfgsync-js-3.2.2.tgz",
+ "integrity": "sha512-W4sQmQC9ZXN8ETYHcXQZl7kMACDkiC/a26OYx9IW8CzgZUI0U3hfDRonaj/1AMkM6zZbC2Zuto4vqpex7abJEg==",
+ "requires": {
+ "@microsoft/applicationinsights-common": "3.2.2",
+ "@microsoft/applicationinsights-core-js": "3.2.2",
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-async": ">= 0.5.1 < 2.x",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ }
+ },
+ "@microsoft/applicationinsights-channel-js": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-channel-js/-/applicationinsights-channel-js-3.2.2.tgz",
+ "integrity": "sha512-4ruoKxgZYYa+K8JJu8RMY0egKazS8xClbx70NQHa/rJ7JYFgN3OIEIBZtFoMcHR8Vg7MEsNE5/wV6o7WWJkVIA==",
+ "requires": {
+ "@microsoft/applicationinsights-common": "3.2.2",
+ "@microsoft/applicationinsights-core-js": "3.2.2",
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-async": ">= 0.5.1 < 2.x",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ }
+ },
+ "@microsoft/applicationinsights-common": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-common/-/applicationinsights-common-3.2.2.tgz",
+ "integrity": "sha512-e1C35gdkFSzWyUUR1S8FvisXW3nT3p6wWsLNs+vUKLOTQzsvW3XpNMVtNCq4MfHWiYDuz1lPSzo2eENaij1fVA==",
+ "requires": {
+ "@microsoft/applicationinsights-core-js": "3.2.2",
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
}
},
+ "@microsoft/applicationinsights-core-js": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-core-js/-/applicationinsights-core-js-3.2.2.tgz",
+ "integrity": "sha512-dF6LZ4ahdhoHufw+N7OXRDzWT8QN193Dvpd8GLqEZdR/KtCTofPSI63yumu+ZkzKYadf1S3w2xg0OmbdyXexoQ==",
+ "requires": {
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-async": ">= 0.5.1 < 2.x",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ }
+ },
+ "@microsoft/applicationinsights-dependencies-js": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-dependencies-js/-/applicationinsights-dependencies-js-3.2.2.tgz",
+ "integrity": "sha512-15EUVU6Kh0B400i/2YNy+V9xMhOwnpzAMTAiyFo90Q1SC5rJIsmzqjAWQnFmxAeq5YQoZ2FuQQpD2qsUajVEQQ==",
+ "requires": {
+ "@microsoft/applicationinsights-common": "3.2.2",
+ "@microsoft/applicationinsights-core-js": "3.2.2",
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-async": ">= 0.5.1 < 2.x",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ }
+ },
+ "@microsoft/applicationinsights-properties-js": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-properties-js/-/applicationinsights-properties-js-3.2.2.tgz",
+ "integrity": "sha512-ovT123foF4WquHdk6f51YpRacx7ZgST7iwqRA/jshy/7NVqlu05JbrVB8IlrxNausdaRwX5CvSCca+SQbOW0ZA==",
+ "requires": {
+ "@microsoft/applicationinsights-common": "3.2.2",
+ "@microsoft/applicationinsights-core-js": "3.2.2",
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ }
+ },
+ "@microsoft/applicationinsights-shims": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-shims/-/applicationinsights-shims-3.0.1.tgz",
+ "integrity": "sha512-DKwboF47H1nb33rSUfjqI6ryX29v+2QWcTrRvcQDA32AZr5Ilkr7whOOSsD1aBzwqX0RJEIP1Z81jfE3NBm/Lg==",
+ "requires": {
+ "@nevware21/ts-utils": ">= 0.9.4 < 2.x"
+ }
+ },
+ "@microsoft/applicationinsights-web": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-web/-/applicationinsights-web-3.2.2.tgz",
+ "integrity": "sha512-DBJ83Fe7nHzH7QgMKFQrBN/Gbhoo5JgMQkBzJeTb5hMfNZUFOBEHWjytBdU9MEZVpa+Vk+RPQ72IOc0txbnJYw==",
+ "requires": {
+ "@microsoft/applicationinsights-analytics-js": "3.2.2",
+ "@microsoft/applicationinsights-cfgsync-js": "3.2.2",
+ "@microsoft/applicationinsights-channel-js": "3.2.2",
+ "@microsoft/applicationinsights-common": "3.2.2",
+ "@microsoft/applicationinsights-core-js": "3.2.2",
+ "@microsoft/applicationinsights-dependencies-js": "3.2.2",
+ "@microsoft/applicationinsights-properties-js": "3.2.2",
+ "@microsoft/applicationinsights-shims": "3.0.1",
+ "@microsoft/dynamicproto-js": "^2.0.3",
+ "@nevware21/ts-async": ">= 0.5.1 < 2.x",
+ "@nevware21/ts-utils": ">= 0.11.1 < 2.x"
+ }
+ },
+ "@microsoft/dynamicproto-js": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@microsoft/dynamicproto-js/-/dynamicproto-js-2.0.3.tgz",
+ "integrity": "sha512-JTWTU80rMy3mdxOjjpaiDQsTLZ6YSGGqsjURsY6AUQtIj0udlF/jYmhdLZu8693ZIC0T1IwYnFa0+QeiMnziBA==",
+ "requires": {
+ "@nevware21/ts-utils": ">= 0.10.4 < 2.x"
+ }
+ },
+ "@ministryofjustice/frontend": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@ministryofjustice/frontend/-/frontend-1.8.0.tgz",
+ "integrity": "sha512-N4791HcFoqJNLNrK6EN4oMaTJjeFp9ileavCpXkda3qvpEWQByxZUsOd6sDA69FuLRpB6jBFL2C2bqfYbcTdqg==",
+ "requires": {
+ "govuk-frontend": "^3.0.0 || ^4.0.0",
+ "moment": "^2.27.0"
+ }
+ },
+ "@nevware21/ts-async": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/@nevware21/ts-async/-/ts-async-0.5.1.tgz",
+ "integrity": "sha512-O2kN8n2HpDWJ7Oji+oTMnhITrCndmrNvrHbGDwAIBydx+FWvLE/vrw4QwnRRMvSCa2AJrcP59Ryklxv30KfkWQ==",
+ "requires": {
+ "@nevware21/ts-utils": ">= 0.11.2 < 2.x"
+ }
+ },
+ "@nevware21/ts-utils": {
+ "version": "0.11.2",
+ "resolved": "https://registry.npmjs.org/@nevware21/ts-utils/-/ts-utils-0.11.2.tgz",
+ "integrity": "sha512-80W8BkS09kkGuUHJX50Fqq+QqAslxUaOQytH+3JhRacXs1EpEt2JOOkYKytqFZAYir3SeH9fahniEaDzIBxlUw=="
+ },
"@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
diff --git a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/wwwroot/package.json b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/wwwroot/package.json
index f443346c2..1d9255a6d 100644
--- a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/wwwroot/package.json
+++ b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/wwwroot/package.json
@@ -2,7 +2,8 @@
"scripts": {
"build": "npm run build:assets && npm run build:frontend",
"build:frontend": "webpack",
- "build:assets": "webpack --config webpack.assets.config.js",
+ "build:assets": "webpack --config webpack.assets.config.js & npm run build:assets:application-insights",
+ "build:assets:application-insights": "webpack --config webpack.appinsights.config.js",
"build:watch": "webpack --watch"
},
"devDependencies": {
@@ -20,6 +21,7 @@
"accessible-autocomplete": "^3.0.0",
"dfe-frontend": "2.0.1",
"govuk-frontend": "5.4.1",
+ "@microsoft/applicationinsights-web": "^3.2.2",
"jquery": "^3.6.1"
}
}