Title: https://stats.wp.com/w.js
Last modified: April 3, 2024

---

# https://stats.wp.com/w.js

 *  Resolved [frenchomatic](https://wordpress.org/support/users/frenchomatic/)
 * (@frenchomatic)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/https-stats-wp-com-w-js/)
 * Seeing this being inserted but the script is a 404 . How to get rid of it.
 * <script type=”text/javascript” src=”[https://stats.wp.com/w.js&#8221](https://stats.wp.com/w.js&#8221);
   id=”woo-tracks-js”></script>

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [ckadenge (woo-hc)](https://wordpress.org/support/users/ckadenge/)
 * (@ckadenge)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/https-stats-wp-com-w-js/#post-17553272)
 * Hello [@frenchomatic](https://wordpress.org/support/users/frenchomatic/),
 * Thanks for reaching out.
 * > Seeing this being inserted but the script is a 404 . How to get rid of it.
   >     ```wp-block-code
   >     <script type=”text/javascript” src=”https://stats.wp.com/w.js&#8221; id=”woo-tracks-js”></script>
   >     ```
   > 
 * I understand your frustration about the script and the 404 error, but before 
   we can dive deep into the issue, could we please share more details on where 
   you came across the script from your WooCommerce store?
 * This will help us in understanding the issue even better.
 * Looking forward to your reply.
 *  Thread Starter [frenchomatic](https://wordpress.org/support/users/frenchomatic/)
 * (@frenchomatic)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/https-stats-wp-com-w-js/#post-17553729)
 * I found the issue – settings -> advanced -> woo.com -> uncheck boxes.
 * Basically, by agreeing to share statistics, that script gets fired but it gives
   a 404
 * WordPress 6.4.4 , woocommerce 8.7.0
    - Register scripts required to record events from javascript.
      */public static
      function register_scripts() {wp_register_script( ‘woo-tracks’, ‘[https://stats.wp.com/w.js&#8217](https://stats.wp.com/w.js&#8217);,
      array( ‘wp-hooks’ ), gmdate( ‘YW’ ), false );}
 *  [ckadenge (woo-hc)](https://wordpress.org/support/users/ckadenge/)
 * (@ckadenge)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/https-stats-wp-com-w-js/#post-17556494)
 * Hello [@frenchomatic](https://wordpress.org/support/users/frenchomatic/),
 * I’m afraid I’m not following. I tried unchecking the boxes under WooCommerce 
   settings > advanced > woo.com, but I’m still not able to replicate the issue.
 * For easier visual understanding, kindly share with us a screencast (video recording)
   of the issue. You can use any video sharing software like [loom](https://www.loom.com/).
 * Looking forward to assisting you further.
 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/https-stats-wp-com-w-js/#post-17690205)
 * Just to note, sharing screenshots would be fine, also.
 * If you don’t already have a screenshot service installed, here are a few free
   options:
 * [https://snipboard.io](https://snipboard.io)
   [http://skitch.com/](http://skitch.com/)
   [http://getcloudapp.com/](http://getcloudapp.com/)[http://awesomescreenshot.com/](http://awesomescreenshot.com/)
   There is also a walkthrough guide here: [https://en.support.wordpress.com/make-a-screenshot/](https://en.support.wordpress.com/make-a-screenshot/)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   we’ll be here if and/or when you are ready to continue.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘https://stats.wp.com/w.js’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/https-stats-wp-com-w-js/#post-17690205)
 * Status: resolved