From 90c0954d217ee39564b790da7b9e78fb6c83863f Mon Sep 17 00:00:00 2001 From: Peter Fabian Date: Thu, 27 Jun 2019 13:20:03 +0200 Subject: [PATCH] Renamed add_fee event to added_fee. Makes it consistent with e.g. coupon addition tracks. --- assets/js/admin/meta-boxes-order.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/admin/meta-boxes-order.js b/assets/js/admin/meta-boxes-order.js index 2d37c5fdcba..533ec3d443e 100644 --- a/assets/js/admin/meta-boxes-order.js +++ b/assets/js/admin/meta-boxes-order.js @@ -556,7 +556,7 @@ jQuery( function ( $ ) { $( '#woocommerce-order-items' ).find( '.inside' ).append( response.data.html ); wc_meta_boxes_order_items.reloaded_items(); wc_meta_boxes_order_items.unblock(); - window.wcTracks.recordEvent( 'order_edit_add_fee', { + window.wcTracks.recordEvent( 'order_edit_added_fee', { order_id: data.post_id, status: $( '#order_status' ).val() } );