diff --git a/src/Web/WebMVC/Views/Shared/_Layout.cshtml b/src/Web/WebMVC/Views/Shared/_Layout.cshtml index ee0c724c4..0976616e4 100644 --- a/src/Web/WebMVC/Views/Shared/_Layout.cshtml +++ b/src/Web/WebMVC/Views/Shared/_Layout.cshtml @@ -30,6 +30,7 @@ + @Html.Raw(JavaScriptSnippet.FullScript)
diff --git a/src/Web/WebMVC/Views/_ViewImports.cshtml b/src/Web/WebMVC/Views/_ViewImports.cshtml index ac59773cf..14fd3dd37 100644 --- a/src/Web/WebMVC/Views/_ViewImports.cshtml +++ b/src/Web/WebMVC/Views/_ViewImports.cshtml @@ -2,4 +2,5 @@ @using Microsoft.eShopOnContainers.WebMVC.ViewModels @using Microsoft.AspNetCore.Identity +@inject Microsoft.ApplicationInsights.AspNetCore.JavaScriptSnippet JavaScriptSnippet @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers