From f5be78817a9d7115fc62f2f4c67b8bd0b4f42e9a Mon Sep 17 00:00:00 2001 From: James King Date: Mon, 11 Jan 2021 10:41:25 +0000 Subject: [PATCH 1/3] Remove broken JS and add a DL push when radio buttons are selected/changed --- .../GetApprenticeshipFunding.cshtml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/SFA.DAS.EmployerAccounts.Web/Views/EmployerAccount/GetApprenticeshipFunding.cshtml b/src/SFA.DAS.EmployerAccounts.Web/Views/EmployerAccount/GetApprenticeshipFunding.cshtml index 454f0dcb74..07c2bb7aea 100644 --- a/src/SFA.DAS.EmployerAccounts.Web/Views/EmployerAccount/GetApprenticeshipFunding.cshtml +++ b/src/SFA.DAS.EmployerAccounts.Web/Views/EmployerAccount/GetApprenticeshipFunding.cshtml @@ -107,8 +107,20 @@ @section pageSpecificJS { } From 2d181d5ae1e0d562673459221dd377c02a591f76 Mon Sep 17 00:00:00 2001 From: James King Date: Mon, 11 Jan 2021 10:41:59 +0000 Subject: [PATCH 2/3] Keep existing DL push and add additional push when search filter radios are selected --- .../SearchForOrganisationResults.cshtml | 32 ++++++++++++++----- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/src/SFA.DAS.EmployerAccounts.Web/Views/SearchOrganisation/SearchForOrganisationResults.cshtml b/src/SFA.DAS.EmployerAccounts.Web/Views/SearchOrganisation/SearchForOrganisationResults.cshtml index 27112bd55b..985f1423c4 100644 --- a/src/SFA.DAS.EmployerAccounts.Web/Views/SearchOrganisation/SearchForOrganisationResults.cshtml +++ b/src/SFA.DAS.EmployerAccounts.Web/Views/SearchOrganisation/SearchForOrganisationResults.cshtml @@ -177,17 +177,33 @@ @section pageSpecificJS { } From 9b71dbae22ec64d11e71f6e12421e227a5773959 Mon Sep 17 00:00:00 2001 From: James King Date: Mon, 11 Jan 2021 10:44:36 +0000 Subject: [PATCH 3/3] Add dataLayer push when radio buttons are selected/changed --- .../WhenDoYouWantToView.cshtml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/SFA.DAS.EmployerAccounts.Web/Views/EmployerAgreement/WhenDoYouWantToView.cshtml b/src/SFA.DAS.EmployerAccounts.Web/Views/EmployerAgreement/WhenDoYouWantToView.cshtml index 6afdafabd3..f5344762da 100644 --- a/src/SFA.DAS.EmployerAccounts.Web/Views/EmployerAgreement/WhenDoYouWantToView.cshtml +++ b/src/SFA.DAS.EmployerAccounts.Web/Views/EmployerAgreement/WhenDoYouWantToView.cshtml @@ -86,6 +86,27 @@ +@section pageSpecificJS { + +} + + @*