Title: How do remove this code?
Last modified: January 12, 2024

---

# How do remove this code?

 *  Resolved [Weijx](https://wordpress.org/support/users/wordpace/)
 * (@wordpace)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/how-do-remove-this-stats-js-code/)
 *     ```wp-block-code
       <script src="https://stats.wp.com/e-202402.js" id="jetpack-stats-js"></script>
       ```
   
 * How do remove this code? Is disabling the statistical function sufficient? this
   js loading is causing website loading blockage.

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

 *  [Bruce (a11n)](https://wordpress.org/support/users/bruceallen/)
 * (@bruceallen)
 * Happiness Engineer
 * [2 years, 4 months ago](https://wordpress.org/support/topic/how-do-remove-this-stats-js-code/#post-17365884)
 * Hi there,
 * It sounds like you’re looking to remove the Jetpack Stats tracking script from
   your site. Disabling the site statistics feature in Jetpack should normally prevent
   this script from being loaded on your site.
 * Here’s what you can do:
    1. Navigate to your WordPress dashboard.
    2. Go to Jetpack → Settings.
    3. In the “Traffic” tab, look for “Site stats.”
    4. Toggle off the feature that enables statistics for your site.
 * Once you’ve done that, the script should no longer load on your site. However,
   if you still see it after disabling the stats feature, please clear your site’s
   cache if you are using a caching plugin, and check again.
 * If you continue to face issues or if you have any other questions, please reply
   in this thread with your website URL so that we can have a look.
 * Thank you!
 *  Plugin Contributor [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/how-do-remove-this-stats-js-code/#post-17386324)
 * Hello [@wordpace](https://wordpress.org/support/users/wordpace/),
 * I’m going to mark this thread as solved. If you have any further questions or
   need more help, you’re welcome to open another thread here. Cheers!
 *  [frenchomatic](https://wordpress.org/support/users/frenchomatic/)
 * (@frenchomatic)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/how-do-remove-this-stats-js-code/#post-17548207)
 * Wrong plugin – sorry
    -  This reply was modified 2 years, 2 months ago by [frenchomatic](https://wordpress.org/support/users/frenchomatic/).
    -  This reply was modified 2 years, 2 months ago by [frenchomatic](https://wordpress.org/support/users/frenchomatic/).

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

The topic ‘How do remove this code?’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [js](https://wordpress.org/support/topic-tag/js/)
 * [Stats](https://wordpress.org/support/topic-tag/stats/)

 * 3 replies
 * 4 participants
 * Last reply from: [frenchomatic](https://wordpress.org/support/users/frenchomatic/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/how-do-remove-this-stats-js-code/#post-17548207)
 * Status: resolved