Title: Jquery Settings
Last modified: January 16, 2020

---

# Jquery Settings

 *  Resolved [clonemykey](https://wordpress.org/support/users/clonemykey/)
 * (@clonemykey)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/jquery-settings/)
 * In the quest to get better page load times we’ve implemented a lot of changes
   and one of them is trying to defer/async Jquery since Google Lighthouse is always
   complaining about it. The only code on our frontpage that requires Jquery immediately
   is this affiliate plugin. Is there a way to delay calling this until the page
   further loads or not use Jquery at all? When we defer Jquery we get an uncaught
   reference error.
 * I imagine it’s crucial for tracking purchases. If nothing else, could I switch
   to using a unique coupon instead then delete this piece of JS? I can add unique
   coupon codes via a url parameter — this would be the last resort

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

 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/jquery-settings/#post-12338335)
 * Thank you for contacting us. I have submitted a message to the developers to 
   investigate further your request.
 * Thank you
 *  Plugin Author [wp.insider](https://wordpress.org/support/users/wpinsider-1/)
 * (@wpinsider-1)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/jquery-settings/#post-12338382)
 * jQuery is not required for tracking. It is mainly used for the affiliate portal
   area (for example: on the registration form). The query is enqueued via the following
   function (which is the correct way to include jquery):
 * wp_enqueue_script
 * You should be able to use a plugin that intercept it and push all the enqueues
   to the footer area.

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

The topic ‘Jquery Settings’ is closed to new replies.

 * ![](https://ps.w.org/affiliates-manager/assets/icon-128x128.png?rev=981249)
 * [Affiliates Manager](https://wordpress.org/plugins/affiliates-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/affiliates-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/affiliates-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/affiliates-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/affiliates-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/affiliates-manager/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [wp.insider](https://wordpress.org/support/users/wpinsider-1/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/jquery-settings/#post-12338382)
 * Status: resolved