Fix double prefixed wcadmin events (https://github.com/woocommerce/woocommerce-admin/pull/4065)
This commit is contained in:
parent
2cce38db88
commit
94eec721c0
|
@ -309,7 +309,7 @@ class TaskDashboard extends Component {
|
|||
.filter( ( x ) => x.completed )
|
||||
.map( ( x ) => x.key );
|
||||
|
||||
recordEvent( 'wcadmin_tasklist_skip', {
|
||||
recordEvent( 'tasklist_skip', {
|
||||
completed_tasks_count: completedTaskKeys.length,
|
||||
completed_tasks: completedTaskKeys,
|
||||
reason: 'skip',
|
||||
|
@ -325,7 +325,7 @@ class TaskDashboard extends Component {
|
|||
.filter( ( x ) => x.completed )
|
||||
.map( ( x ) => x.key );
|
||||
|
||||
recordEvent( 'wcadmin_tasklist_skip', {
|
||||
recordEvent( 'tasklist_skip', {
|
||||
completed_tasks_count: completedTaskKeys.length,
|
||||
completed_tasks: completedTaskKeys,
|
||||
reason: 'later',
|
||||
|
|
|
@ -946,7 +946,7 @@ class Onboarding {
|
|||
$new_value = ! $previous;
|
||||
|
||||
wc_admin_record_tracks_event(
|
||||
'wcadmin_storeprofiler_toggled',
|
||||
'storeprofiler_toggled',
|
||||
array(
|
||||
'previous' => $previous,
|
||||
'new_value' => $new_value,
|
||||
|
|
Loading…
Reference in New Issue