![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/gg.corals.io/wp-content/plugins/woocommerce/assets/js/admin/ |
/*global jQuery */ (function( $ ) { $( function() { window.wcTracks.recordEvent( 'wcadmin_status_widget_view' ); }); var recordEvent = function( link ) { window.wcTracks.recordEvent( 'status_widget_click', { link: link } ); }; $( '.sales-this-month a' ).on( 'click', function() { recordEvent( 'net-sales' ); }); $( '.best-seller-this-month a' ).on( 'click', function() { recordEvent( 'best-seller-this-month' ); }); $( '.processing-orders a' ).on( 'click', function() { recordEvent( 'orders-processing' ); }); $( '.on-hold-orders a' ).on( 'click', function() { recordEvent( 'orders-on-hold' ); }); $( '.low-in-stock a' ).on( 'click', function() { recordEvent( 'low-stock' ); }); $( '.out-of-stock a' ).on( 'click', function() { recordEvent( 'out-of-stock' ); }); })( jQuery );