fix: fixed opt out event text (#1330)

This commit is contained in:
ayesha waris
2024-10-18 14:42:28 +05:00
committed by GitHub
parent 07ee2392e9
commit b69ed6e422

View File

@@ -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);
}