Title: Delay JS
Last modified: October 1, 2021

---

# Delay JS

 *  Resolved [Robert](https://wordpress.org/support/users/roberthedlund/)
 * (@roberthedlund)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/delay-js/)
 * Hi
 * Thanks again for this easy plugin that works flawless for me.
    I have just a 
   question.
 * Is there anyway to delay the javascript from this plugin, as show below:
    …config/
   XXXXXX&r=stable(connect.facebook.net) /en_US/fbevents.js(connect.facebook.net)…
   plugins/identity.js?v=2.9.47(connect.facebook.net)
 * Is it possible to delay it with some sort of snippet code or something? 🙂
 * Thanks again!
 * /Robert
    -  This topic was modified 4 years, 6 months ago by [Robert](https://wordpress.org/support/users/roberthedlund/).

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

 *  [pankajkmr](https://wordpress.org/support/users/pankajkmr/)
 * (@pankajkmr)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/delay-js/#post-14929507)
 * Hi [@roberthedlund](https://wordpress.org/support/users/roberthedlund/),
 * There is no built-in feature in the Facebook for WooCommerce plugin to delay 
   the loading of JS. However, we do have some optimization tips for you to consider:
 * – [https://docs.woocommerce.com/document/slow-site-troubleshooting/](https://docs.woocommerce.com/document/slow-site-troubleshooting/)
 *  Thread Starter [Robert](https://wordpress.org/support/users/roberthedlund/)
 * (@roberthedlund)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/delay-js/#post-14931144)
 * [@pankajkmr](https://wordpress.org/support/users/pankajkmr/) Thank you for the
   reply. Your trouble shooting post doesn’t help me since Im using probably the
   best hosting service you can get and it’s pretty much optimized as much is it
   can.
 * I only wanted to check if it was possible somehow to just delay at least one 
   of these since its ads over 110.6 KiB and 150 KiB total.
 * I can delay these with Delay JS from WP-rocket addon etc, but its not optimal
   for just try delay Facebook JS.
 *  [B C. a11n](https://wordpress.org/support/users/battouly/)
 * (@battouly)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/delay-js/#post-14933716)
 * Hi [@roberthedlund](https://wordpress.org/support/users/roberthedlund/),
 * Please have a look at another user’s solution here:
 * – [https://wordpress.org/support/topic/plugin-not-sending-pixel-data-correctly/#post-14807552](https://wordpress.org/support/topic/plugin-not-sending-pixel-data-correctly/#post-14807552)
 * I hope this helps.
 * Best!

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

The topic ‘Delay JS’ is closed to new replies.

 * ![](https://ps.w.org/facebook-for-woocommerce/assets/icon.svg?rev=3469606)
 * [Meta for WooCommerce](https://wordpress.org/plugins/facebook-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-for-woocommerce/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [B C. a11n](https://wordpress.org/support/users/battouly/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/delay-js/#post-14933716)
 * Status: resolved