From bb610cebbc79928214ad202c9f579acc516ce701 Mon Sep 17 00:00:00 2001 From: Khalid Date: Wed, 23 Feb 2022 12:50:48 -0500 Subject: [PATCH] AA is not typesafe, multi-billion dollar company... --- components/Tabs/index.tsx | 4 ++-- pages/eligibility/index.tsx | 2 +- public/scripts/adobe.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/Tabs/index.tsx b/components/Tabs/index.tsx index 9133107c1..96627fa28 100644 --- a/components/Tabs/index.tsx +++ b/components/Tabs/index.tsx @@ -36,8 +36,8 @@ export const Tabs: React.FC = observer((props) => { win.adobeDataLayer.push({ event: 'pageLoad', page: { - title: 'eng-sc-labs eligibility-estimator test', - language: 'eng', + title: title, + language: lang, creator: 'Employment and Social Development Canada', accessRights: '2', service: diff --git a/pages/eligibility/index.tsx b/pages/eligibility/index.tsx index 09420ff58..b42200868 100644 --- a/pages/eligibility/index.tsx +++ b/pages/eligibility/index.tsx @@ -33,7 +33,7 @@ const Eligibility: NextPage = (props) => { - + ) } diff --git a/public/scripts/adobe.js b/public/scripts/adobe.js index f6fa6a595..c220e7215 100644 --- a/public/scripts/adobe.js +++ b/public/scripts/adobe.js @@ -1,3 +1,3 @@ window.adobeDataLayer = adobeDataLayer -_satellite.setVar('jsAbort', false) +_satellite.setVar('jsAbort', 'false') window._satellite = _satellite