From f095fc56963e0d5b0c7febf88325faff90571d8f Mon Sep 17 00:00:00 2001 From: Luigi Teschio Date: Thu, 8 Aug 2024 17:27:18 +0200 Subject: [PATCH] CYS: fix survey tracking (#50354) * CYS: fix survey tracking * Add changefile(s) from automation for the following project(s): woocommerce --------- Co-authored-by: github-actions --- .../client/customize-store/transitional/survey-form/index.tsx | 4 ++-- plugins/woocommerce/changelog/50354-fix-survey_ces | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 plugins/woocommerce/changelog/50354-fix-survey_ces diff --git a/plugins/woocommerce-admin/client/customize-store/transitional/survey-form/index.tsx b/plugins/woocommerce-admin/client/customize-store/transitional/survey-form/index.tsx index cb2ca7ca2b8..83f1e124303 100644 --- a/plugins/woocommerce-admin/client/customize-store/transitional/survey-form/index.tsx +++ b/plugins/woocommerce-admin/client/customize-store/transitional/survey-form/index.tsx @@ -98,12 +98,12 @@ export const SurveyForm = ( { } else { trackEvent( 'ces_feedback', { action: 'customize_your_store_on_core_transitional_survey_complete', - rating, + score: rating, choose_design_my_own_theme: isStreamlineChecked, choose_dislike_themes: isDislikeThemesChecked, choose_themes_not_match: isThemeNoMatchChecked, choose_other: isOtherChecked, - feedback: feedbackText, + comments: feedbackText, spill_beans: spillBeansText, } ); } diff --git a/plugins/woocommerce/changelog/50354-fix-survey_ces b/plugins/woocommerce/changelog/50354-fix-survey_ces new file mode 100644 index 00000000000..36fc17908b2 --- /dev/null +++ b/plugins/woocommerce/changelog/50354-fix-survey_ces @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +CYS: Improve tracking survey \ No newline at end of file