Title: CAOS broken?
Last modified: June 26, 2023

---

# CAOS broken?

 *  Resolved [benjisdad17](https://wordpress.org/support/users/benjisdad17/)
 * (@benjisdad17)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/caos-broken/)
 * Hi there,
 * So like most people, when CAOS updated a few days ago, it wiped out the analytics
   settings.
 * I did have a few days of zero traffic before noticing…. 
   So I put them back in
   for both UA and G4 and it started tracking again. Yay…
 * However, it doesn’t seem to be tracking everything as some traffic is being tracked…
   but not all of it.
 * I also attached screenshots of my settings, but removed analytics codes for privacy.
 * [https://ibb.co/sQVnjZw](https://ibb.co/sQVnjZw)
   [https://ibb.co/Pt6RL28](https://ibb.co/Pt6RL28)
   [https://ibb.co/RSZx1FB](https://ibb.co/RSZx1FB)

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

 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/caos-broken/#post-16848676)
 * Hi!
 * Could you share your site’s URL? If you don’t want to share it here, please do
   so using [this contact form](https://daan.dev/contact).
 *  Thread Starter [benjisdad17](https://wordpress.org/support/users/benjisdad17/)
 * (@benjisdad17)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/caos-broken/#post-16848684)
 * just sent it to yuo Daan.
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/caos-broken/#post-16851713)
 * I’ve been clicking through your site, but I noticed that CAOS’ tracking script
   isn’t loaded on all pages.
 * This must be the work of a JS optimization plugin, because when I append `?nocache`
   to the URL, the script returns.
 * Most optimization plugins offer an “exclude” option. You could add “caos” to 
   that list. Or for the inline script: `window.dataLayer`.
 * Either way, that’s the direction you should be looking in! Good luck!
 *  [converted](https://wordpress.org/support/users/converted/)
 * (@converted)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/caos-broken/#post-16851971)
 * I have the same situation when CAOS updated 4.6.1 version a few days ago, it 
   wiped out the analytics settings. [@benjisdad17](https://wordpress.org/support/users/benjisdad17/)
   i put your settings and i will check my Google analytics. I am hoping it will
   help.
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/caos-broken/#post-16852125)
 * Yes, the database migration failed during update. Which sucks. But I found the
   code responsible for it, and removed it. So, updates from now on should go smoothly
   again. Sorry for the hassle!
 *  Thread Starter [benjisdad17](https://wordpress.org/support/users/benjisdad17/)
 * (@benjisdad17)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/caos-broken/#post-16852484)
 * Is this a change from how it worked before? 
   I’ve never had a conflict before
   using any caching. This is has Ezoic on it with the standard settings and I am
   using a plugin called Asset Cleanup. Are you familiar with settings from either
   of those apps?
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/caos-broken/#post-16853906)
 * Well, nothing changed on my end. Maybe the optimization plugins became better
   at what they’re supposed to do? 🙂
 * This is the setting for Asset Cleanup:
 * > [View post on imgur.com](https://imgur.com/a/tR5SBov)
 * I suppose adding something like `(.*?)caos(.*?)` there should work. But for more
   help I’d suggest contacting the plugin’s devs. Feel free to refer them to this
   thread, so maybe we can work out a permanent compatibility fix.

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

The topic ‘CAOS broken?’ is closed to new replies.

 * ![](https://ps.w.org/host-analyticsjs-local/assets/icon-256x256.png?rev=3307068)
 * [CAOS | Host Google Analytics Locally](https://wordpress.org/plugins/host-analyticsjs-local/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/host-analyticsjs-local/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/host-analyticsjs-local/)
 * [Active Topics](https://wordpress.org/support/plugin/host-analyticsjs-local/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/host-analyticsjs-local/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/host-analyticsjs-local/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/caos-broken/#post-16853906)
 * Status: resolved