Skip to content

Commit

Permalink
Adding tracks event
Browse files Browse the repository at this point in the history
  • Loading branch information
joelclimbsthings committed Oct 7, 2022
1 parent fc5e2f1 commit 654dfe7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/woocommerce-admin/client/inbox-panel/index.js
Expand Up @@ -373,6 +373,9 @@ const InboxPanel = ( { showHeader = true } ) => {
{ Boolean( allNotes.length ) &&
renderNotes( {
loadMoreNotes: () => {
recordEvent( 'inbox_action_load_more', {
quantity_shown: allNotes.length,
} );
setNoteDisplayQty(
noteDisplayQty + ADD_NOTES_AMOUNT
);
Expand Down

0 comments on commit 654dfe7

Please sign in to comment.