From ec9d66005ed543a88a882b631be782dab2547e55 Mon Sep 17 00:00:00 2001 From: julianajlk Date: Fri, 8 Nov 2024 16:15:59 -0500 Subject: [PATCH] fix: ConversionTracked had an option that is not available in the schema --- src/payment/data/sagas.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/payment/data/sagas.js b/src/payment/data/sagas.js index a85c86113..3bd0b9e3d 100644 --- a/src/payment/data/sagas.js +++ b/src/payment/data/sagas.js @@ -239,9 +239,7 @@ export function* handleSubmitPayment({ payload }) { // RV tracking for successful Stripe Payment if (method === 'stripe') { // Metada for conversion_category and conversion_action: - // Sucessful payment = 'Order' and 'Completed' - // Failed payment = 'Enrollment' and 'Declined' - tagularElement.category = 'Order'; + tagularElement.category = 'Enrollment'; tagularElement.action = 'Completed'; yield put(trackPaymentButtonClick(tagularElement)); } @@ -255,7 +253,7 @@ export function* handleSubmitPayment({ payload }) { } else { // RV tracking for failed Stripe Payment if (method === 'stripe') { - tagularElement.category = 'Enrollment'; + tagularElement.category = 'Cart'; tagularElement.action = 'Declined'; yield put(trackPaymentButtonClick(tagularElement)); }