Title: Aggregating JS and Async Javascript
Last modified: November 2, 2019

---

# Aggregating JS and Async Javascript

 *  [birdog123](https://wordpress.org/support/users/birdog123/)
 * (@birdog123)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/aggregating-js-and-async-javascript/)
 * Hi Frank,
 * Have you seen underlying functionality (readily seen or unseen . . . and sometimes
   unseen/recognized as a issue by a site owner for a long while) or conversions
   on some sites stop as a result of with aggregating JS or enabling the separate
   Async Javascript plugin?
 * Any details/experience/insights on this or tips greatly helpful . . . smile.
 * Best,
 * Greg
    -  This topic was modified 6 years, 7 months ago by [birdog123](https://wordpress.org/support/users/birdog123/).
    -  This topic was modified 6 years, 7 months ago by [birdog123](https://wordpress.org/support/users/birdog123/).
    -  This topic was modified 6 years, 7 months ago by [birdog123](https://wordpress.org/support/users/birdog123/).

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/aggregating-js-and-async-javascript/#post-12091300)
 * well, both AsyncJS and AO can break things when not configured correctly, so 
   yes conversions could be impacted.
 * if however everything works perfectly, there is no reason conversions to go down,
   on the contrary even, they could go up (as better performance leads to better
   user experience leads to better conversions).
 * hope this helps,
    frank
 *  Thread Starter [birdog123](https://wordpress.org/support/users/birdog123/)
 * (@birdog123)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/aggregating-js-and-async-javascript/#post-12096623)
 * Hey Frank,
 * Thanks for this.
 * My experience was, on the surface, all seemed fine and test checkouts were fine
   with no errors.
 * I went about 1.5 months and our conversions and checkouts tanked but never thought
   it was any JS or JQ optimizations issues. We deactivated Async Javascript and
   aggregation of JS in AO and sales returned as normal.
 * All without any on the surface errors even during regular as a visitor checkout
   tests.
 * Strange I guess.
 * Sometimes it appears there can be issues without any errors that are obvious?
   Have you heard of similar?
 * 🙂
 * Greg
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/aggregating-js-and-async-javascript/#post-12097368)
 * no, the first time I heard about that. did you test yourself in an anonymous 
   browser window and go through the entire site including checkout & payment?
 *  Thread Starter [birdog123](https://wordpress.org/support/users/birdog123/)
 * (@birdog123)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/aggregating-js-and-async-javascript/#post-12100431)
 * Hey Frank,
 * Only every which way except Sunday . . . in other words, absolutely . . . multiple
   times and with multiple browsers and multiple devices even.
 * We use incognito mode, private mode, regular mode after clearing cache and cookies
   etc etc etc.
 * Tested all parts of the site and checkout processes.
 * 🙁
    -  This reply was modified 6 years, 7 months ago by [birdog123](https://wordpress.org/support/users/birdog123/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/aggregating-js-and-async-javascript/#post-12100504)
 * In that case I’m absolutely clueless I’m afraid :-/
 *  Thread Starter [birdog123](https://wordpress.org/support/users/birdog123/)
 * (@birdog123)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/aggregating-js-and-async-javascript/#post-12100521)
 * Frank,
 * Yep. Me too.
 * I just have those parts off and all is fine FYI.
 * So, just file that away in your mind.
 * 🙂
    -  This reply was modified 6 years, 7 months ago by [birdog123](https://wordpress.org/support/users/birdog123/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/aggregating-js-and-async-javascript/#post-12101362)
 * slept on it and -if you’re willing to experiment- we you could try to pinpoint
   this somewhat? does the conversion-drop also occur when asyncjs is off (so only
   AO)? Or when AO’s JS opt is off? or CSS opt?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/aggregating-js-and-async-javascript/#post-12101440)
 * additionally; maybe check your webserver logfiles for 404’s (not found) of Autoptimized
   JS/CSS files (so in `wp-content/cache/autoptimize/`)?
 *  Thread Starter [birdog123](https://wordpress.org/support/users/birdog123/)
 * (@birdog123)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/aggregating-js-and-async-javascript/#post-12105083)
 * Frank,
 * Thanks for the addl info here.
 * Hmmm…let me think.
 * Well, the issue with testing is that our conversions come in 1 every several 
   days or so. So, I would have to test for a long time to really get a sampling
   again. So, I am not sure I am in a position to test like that because of it. 
   I went like 1.5 months with 1 conversion. Disabled what I mentioned and back 
   to 17-30 a month FYI.
 * Here is what I know though. I disable Async Javascript plugin and that “appeared”
   to do the trick (even after I tried using all kinds of combinations too before
   disabling like Async on JS and JQuery, Defer. Mostly I had Javascript Defer and
   JQuery Exclude for that 1.5 months though. I decided to try to disabled it. Then,
   I just with to AO and disabled aggregate JS too just to BE SURE nothing with 
   JS was being optimized. So, that is where I am at and conversions are back but
   I do not have Javacript optimizing. I have read and heard about similar stories
   too.
 * Also, during WordCamp 2019 in St. Louis I heard a speaker talking about (during
   a site speed talk) how he had a similar experience where there was not apparent
   issues but conversions where dropping so he had to remove one variable at a time
   of what he did prior to conversions dropping to isolate x. He said it was some
   kind of Javascript optimization that was causing it and he reverted to restore(
   his take away was sometimes over optimizing can cause issues of sales and conversions
   on some setups so having to sacrifice a bit of performance speed for real world
   conversions) blah blah blah…
 * Copy that on the logfiles idea. Ok.
 * Let me know any other thoughts given this info?
 * 🙂
 * Greg
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/aggregating-js-and-async-javascript/#post-12105540)
 * Well, based on the above I would re-try with AsyncJS disabled and AO JS opt. 
   enabled and closely monitor conversions?
 *  Thread Starter [birdog123](https://wordpress.org/support/users/birdog123/)
 * (@birdog123)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/aggregating-js-and-async-javascript/#post-12107539)
 * Frank,
 * Cool. I will evaluate and be in touch.
 * I am just a little scared to mess up sales on year end Black Friday stuff and
   Xmas since things are working (although not speed optimized absolutely to 100%
   but decent quality).
 * Thanks for this input . . . be in touch . . .
 * 🙂
 * Greg
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/aggregating-js-and-async-javascript/#post-12107711)
 * Makes sense, feel free to follow up here at a more convenient time 😉

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

The topic ‘Aggregating JS and Async Javascript’ is closed to new replies.

 * ![](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/)

 * 12 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/aggregating-js-and-async-javascript/#post-12107711)
 * Status: not resolved