Title: Defer the script?
Last modified: November 7, 2016

---

# Defer the script?

 *  [JacobTheDev](https://wordpress.org/support/users/revxx14/)
 * (@revxx14)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/defer-the-script/)
 * Is there a way to add the `defer` property to the script call? I’ve got all my
   scripts set to defer so that they load asynchronously, but this plugin requires
   jQuery, and because you’re not enqueue the script with `wp_enqueue_script`, it’s
   loading before the (deferred) jQuery.

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

 *  Thread Starter [JacobTheDev](https://wordpress.org/support/users/revxx14/)
 * (@revxx14)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/defer-the-script/#post-8417274)
 * Really would like a solution for this. If you could just add an action to hook
   in to so that I can filter the HTML output that’d be fine.
 *  Plugin Author [digitalpoint](https://wordpress.org/support/users/digitalpoint/)
 * (@digitalpoint)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/defer-the-script/#post-9008613)
 * An option to defer the JavaScript has been added for the next version.

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

The topic ‘Defer the script?’ is closed to new replies.

 * ![](https://ps.w.org/better-analytics/assets/icon.svg?rev=1170242)
 * [Better Google Analytics](https://wordpress.org/plugins/better-analytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-analytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/better-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-analytics/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [digitalpoint](https://wordpress.org/support/users/digitalpoint/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/defer-the-script/#post-9008613)
 * Status: not resolved