From f212457ba679f2c9ab176003b57129397ed159b8 Mon Sep 17 00:00:00 2001 From: "SHAKIR, Muhammad" Date: Fri, 10 Jan 2025 16:36:09 +0000 Subject: [PATCH] added page view tracking script --- .../Pages/Shared/_AppInsights.cshtml | 39 ++++++++++++------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_AppInsights.cshtml b/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_AppInsights.cshtml index 38921f317..045be5379 100644 --- a/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_AppInsights.cshtml +++ b/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_AppInsights.cshtml @@ -2,27 +2,36 @@ var authenticatedUserId = (User.Identity is not null && User.Identity.IsAuthenticated) ? User.Identity.Name ?? "Unknown" : "Anonymous"; } -