After installing WooCommerce, you’ll be prompted to choose whether or not to send WooCommerce usage data to the WooCommerce team. If you’re curious about what data is being sent, you can check out their explanation on their website.
If you decide later on that you don’t want to continue with tracking, you can easily change your preference by going to WooCommerce > Settings > Advanced > Usage Tracking.

If you prefer to make the change using code, you can use the following snippet. Simply run it once or add it to your plugin or theme file.
// Update an option in WooCommerce function update_woocommerce_option( ) { //Possible values: yes|no update_option( 'woocommerce_allow_tracking', 'no' ); } add_action( 'init', 'update_woocommerce_option' );
By following these simple steps, you can easily control your website’s data tracking preferences in WooCommerce.