Title: How to add scripts for async?
Last modified: September 22, 2018

---

# How to add scripts for async?

 *  Resolved [DickRaney](https://wordpress.org/support/users/dickraney/)
 * (@dickraney)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/how-to-add-scripts-for-async/)
 * The following external scripts are being loaded in footer:
 *     ```
       <script type='text/javascript' src='https://www.idxhome.com/eureka/inline.bundle.js?1537380007387'></script>
       <script type='text/javascript' src='https://www.idxhome.com/eureka/polyfills.bundle.js?1537380007387'></script>
       <script type='text/javascript' src='https://www.idxhome.com/eureka/styles.bundle.js?1537380007387'></script>
       <script type='text/javascript' src='https://www.idxhome.com/eureka/scripts.bundle.js?1537380007387'></script>
       <script type='text/javascript' src='https://www.idxhome.com/eureka/main.bundle.js?1537380007387'></script>
       ```
   
 * I tried adding this to the Extra > Async settings:
    `https://www.idxhome.com/
   eureka/inline.bundle.js?1537380007387, https://www.idxhome.com/eureka/polyfills.
   bundle.js?1537380007387, https://www.idxhome.com/eureka/styles.bundle.js?1537380007387,
   https://www.idxhome.com/eureka/scripts.bundle.js?1537380007387, https://www.idxhome.
   com/eureka/main.bundle.js?1537380007387`
 * But they still don’t have the async flag. Did I add them to the settings correctly?
   I would like anything coming from [http://www.idxhome.com/eureka/](http://www.idxhome.com/eureka/)
   to have async.

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/how-to-add-scripts-for-async/#post-10720390)
 * maybe try just `eureka` Dick?
 * hope this helps,
    frank
 *  Thread Starter [DickRaney](https://wordpress.org/support/users/dickraney/)
 * (@dickraney)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/how-to-add-scripts-for-async/#post-10721622)
 * That didn’t do anything either.
 * I also tried adding the name of each script like this:
    `inline.bundle.js, polyfills.
   bundle.js, styles.bundle.js, scripts.bundle.js, main.bundle.js`
 * Neither way does anything.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/how-to-add-scripts-for-async/#post-10721636)
 * hmmm, the only reason I can think of why that would not work is if those JS-files
   are added very late, resulting in AO not seeing (and thus not acting on) them.
 *  Thread Starter [DickRaney](https://wordpress.org/support/users/dickraney/)
 * (@dickraney)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/how-to-add-scripts-for-async/#post-10721702)
 * Okay, thanks for the help

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

The topic ‘How to add scripts for async?’ 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/)

## Tags

 * [async](https://wordpress.org/support/topic-tag/async/)

 * 4 replies
 * 2 participants
 * Last reply from: [DickRaney](https://wordpress.org/support/users/dickraney/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/how-to-add-scripts-for-async/#post-10721702)
 * Status: resolved