From b69ed6e422b8d06fd99da59cedb0bf5e9079eeff Mon Sep 17 00:00:00 2001 From: ayesha waris <73840786+ayesha-waris@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:42:28 +0500 Subject: [PATCH] fix: fixed opt out event text (#1330) --- src/register/components/ConfigurableRegistrationForm.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/register/components/ConfigurableRegistrationForm.jsx b/src/register/components/ConfigurableRegistrationForm.jsx index 47962084..3cf11b47 100644 --- a/src/register/components/ConfigurableRegistrationForm.jsx +++ b/src/register/components/ConfigurableRegistrationForm.jsx @@ -108,8 +108,8 @@ const ConfigurableRegistrationForm = (props) => { const cohesionEventData = { pageType: PAGE_TYPES.ACCOUNT_CREATION, elementType: ELEMENT_TYPES.BUTTON, - webElementText: ELEMENT_TEXT.CREATE_ACCOUNT, - webElementName: ELEMENT_NAME.CREATE_ACCOUNT, + webElementText: ELEMENT_TEXT.OPT_IN_TEXT, + webElementName: ELEMENT_NAME.OPT_OUT, }; trackCohesionEvent(cohesionEventData); }