Server : LiteSpeed System : Linux server321.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : apotdzgr ( 7060) PHP Version : 8.0.30 Disable Function : NONE Directory : /home/apotdzgr/public_html/wp-content/plugins/woocommerce/assets/js/admin/ |
Upload File : |
/*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 );