Title: Exclude caos analytics js
Last modified: December 12, 2025

---

# Exclude caos analytics js

 *  Resolved [Insect Trojan](https://wordpress.org/support/users/insecttrojan/)
 * (@insecttrojan)
 * [5 months, 4 weeks ago](https://wordpress.org/support/topic/exclude-caos-analytics-js/)
 * hello I am trying to exlude caos analytics js from autoptimize I add the the 
   ezlude wp-content/uploads/caos/ or wp-content/uploads/ but nothing any idea. 
   Thanks 😊
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexclude-caos-analytics-js%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 months, 4 weeks ago](https://wordpress.org/support/topic/exclude-caos-analytics-js/#post-18753305)
 * try with just `caos`, that should exclude both the inline and the linked JS files(
   CAOS seems to use both) 🙂
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/exclude-caos-analytics-js/#post-18788040)
 * No feedback so I assume this worked? Feel free to follow up if you still encounter
   issues!
 * have a nice day!
    frank

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexclude-caos-analytics-js%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [4 months, 3 weeks ago](https://wordpress.org/support/topic/exclude-caos-analytics-js/#post-18788040)
 * Status: resolved